checkpointing with val_check_interval #14263
Unanswered
ajtritt
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to run intermediate validation checks (not just at the end of training epochs) and checkpoint to save the best model states according to these validation checks.
I am using
val_check_interval
to run intermediate validation checks, but as far as I can tell,ModelCheckpoint
is agnostic to validation checks. The only way for me to do that would be something like this:Will this work? I don't know what the order of operations is and I want to make sure I don't configure things such that checkpointing runs before the validation check runs.
Beta Was this translation helpful? Give feedback.
All reactions