Skip to content
Discussion options

You must be logged in to vote

Yes, its the same. Here is the relevant code:
https://github.com/PyTorchLightning/pytorch-lightning/blob/4a8422c2dc870d29d26748e6aa01406d2e74fa48/pytorch_lightning/core/step_result.py#L325-L330
Setting on_epoch=True will essentially call metric.compute at the end of the epoch.

Replies: 1 comment 1 reply

Comment options

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

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