Skip to content

Commit

Permalink
adding current lr to stats for monitoring
Browse files Browse the repository at this point in the history
Signed-off-by: Shakti Kumar <[email protected]>
  • Loading branch information
shaktikshri committed Mar 30, 2020
1 parent 3fcbe83 commit 4f1da87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,12 +905,13 @@ def checkpoint():
# best_val_loss = val_loss

logging.info(
"Steps %i @ %.1f SPS. Loss %f. %sStats:\n%s",
"Steps %i @ %.1f SPS. Loss %f. %sStats:\n%s\n%s",
step,
sps,
total_loss,
mean_return,
pprint.pformat(stats),
optimizer.params_group[0]['lr']
)
except KeyboardInterrupt:
return # Try joining actors then quit.
Expand Down

0 comments on commit 4f1da87

Please sign in to comment.