When using torchmetrics does pytorch-lightning averages the previous metrics #12187
yashrathi-git
started this conversation in
General
Replies: 2 comments 4 replies
-
accuracy of the specific batch. the metric is calculated at every step. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Shouldn't this be a feature of Lightning? When I train using iterations and not epochs, I am interested in the average loss value over the last n batches since the last logs, not on the epoch average or current step value. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By default lightning logs every n steps. So in the nth step does the metrics displayed the average of previous n minibatches or just the accuracy of this specific minibatch?
Beta Was this translation helpful? Give feedback.
All reactions