Skip to content

Commit

Permalink
added return statement (#2029)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickBue authored Mar 30, 2020
1 parent 561a014 commit 1c7aa0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions references/detection/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def train_one_epoch(model, optimizer, data_loader, device, epoch, print_freq):
metric_logger.update(loss=losses_reduced, **loss_dict_reduced)
metric_logger.update(lr=optimizer.param_groups[0]["lr"])

return metric_logger


def _get_iou_types(model):
model_without_ddp = model
Expand Down

0 comments on commit 1c7aa0c

Please sign in to comment.