Skip to content

Question about logging metric object with on_step=True #14590

Discussion options

You must be logged in to vote

Question: I'm seeing metric values on the progress bar on each step. Are these values actually accuracy and loss only from current step,

Yes, the value of train/loss=... shown in the progress bar is calculated based on each step. However, note that the value of loss=... (shown by default) at the very left of your progress bar (not train/loss=...) is smoothened across 20 steps. (Related to this RFC #9372)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yipliu
Comment options

Answer selected by ashleve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment