Skip to content

Commit e9f7444

Browse files
IzzyPuttermannv-kkudrynski
authored andcommitted
[GPUNet/PyT] Add flush at end of epoch
1 parent 3604195 commit e9f7444

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎PyTorch/Classification/GPUNet/train.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,6 +1504,7 @@ def main():
15041504

15051505
dllogger.log(step=epoch, data={"val_loss": eval_metrics["loss"], "val_top1": eval_metrics["top1"], "val_top5": eval_metrics["top5"]}, verbosity=1)
15061506
dllogger.log(step=(), data={"val_loss": eval_metrics["loss"], "val_top1": eval_metrics["top1"], "val_top5": eval_metrics["top5"]}, verbosity=1)
1507+
dllogger.flush()
15071508
iflr_schedulerisnotNone:
15081509
# step LR for next epoch
15091510
lr_scheduler.step(epoch+1, eval_metrics[eval_metric])

0 commit comments

Comments
(0)