We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 648aaa4 commit d3ce5a8Copy full SHA for d3ce5a8
train.py
@@ -1070,7 +1070,7 @@ def _backward(_loss):
1070
if utils.is_primary(args):
1071
_logger.info(
1072
f'Train: {epoch} [{update_idx:>4d}/{updates_per_epoch} '
1073
- f'({100. * update_idx / (updates_per_epoch - 1):>3.0f}%)] '
+ f'({100. * (update_idx + 1) / updates_per_epoch:>3.0f}%)] '
1074
f'Loss: {losses_m.val:#.3g} ({losses_m.avg:#.3g}) '
1075
f'Time: {update_time_m.val:.3f}s, {update_sample_count / update_time_m.val:>7.2f}/s '
1076
f'({update_time_m.avg:.3f}s, {update_sample_count / update_time_m.avg:>7.2f}/s) '
0 commit comments