on_training_epoch_end is never called #17146
Closed
Answered
by
bavShehata
bavShehata
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
I'm training a CNN and I wanted to log some metrics at the end of each training epoch. However, I've noticed that
I've looked around and couldn't find any solutions to as to why this is happening or how to fix it. |
Beta Was this translation helpful? Give feedback.
Answered by
bavShehata
Mar 21, 2023
Replies: 1 comment
-
If any one finds themselves here, the correct hook is |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bavShehata
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If any one finds themselves here, the correct hook is
on_train_epoch_end
and noton_training_epoch_end
as that was a mistake in the docs as answered here on their forums