EarlyStopping callback defaults #19363
Unanswered
sachinruk
asked this question in
code help: CV
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just some questions about the defaults/ best practices.
IIUC looks like you should be adding _epoch to the monitor variable. Also, imo you should set check_on_train_epoch_end = False to make sure everything runs after validation set has completed. Defauly behaviour seems to be after training set completed. This will be an issue considering the validation metrics are stiil from the previous epch?
pytorch_lightning version: 2.1.3
Edit
I actually realised that when
check_on_train_epoch_end=False,
it goes toon_validation_end
and there is noon_validation_epoch_end
in the EarlyStopping callback. According to the diagram here at least, on_validation_end == on_validation_epoch_end. Please correct me if I am wrong.Beta Was this translation helpful? Give feedback.
All reactions