Skip to content
Discussion options

You must be logged in to vote

Hey @talhaanwarch,

Lightning automatically takes your training_step output and applies a running mean on it and add it to the progress bar using the key loss.

As you may see, there is train/iou_step=0.379 and train/loss_epoch=0.210.

Here is why:
For training, Lightning logs automatically set on_step=True and you provided on_epoch=True. Therefore, to prevent values to be logged under the same key, Lightning adds a _step and _epoch suffix to differentiate them.

_epoch is used to describe the value compute on the previous epoch, until the new reduction is performed. If you use a logger, you will clearly see the _epoch value logged at the right epoch.

Best,
T.C

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by carmocca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment