validation and checkpoints #15732
Unanswered
flyingflying
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.
-
When I use
every_n_train_stepsinModelCheckpointcallback andval_check_intervalinTrainer, I found that trainer would save checkpoints before validation.What should I do to make sure that trainer will validate first, and then save checkpoints?
My codes are shown below:
Beta Was this translation helpful? Give feedback.
All reactions