ModelCheckpoint seems not work correctly with check_val_every_n_epoch>1 #18639
Closed
Unanswered
Mo-Junyang
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
flag: |
Beta Was this translation helpful? Give feedback.
0 replies
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 have a callback:
and a Trainer
I want to save the checkpoint every 2 epoch, and it does work when
check_val_every_n_epoch
in Trainer is set to 1.But now I want to set
check_val_every_n_epoch
to 5, and still save the checkpoint every 2 epoch.And I got nothing in my checkpoint folder after 5 epoch (before validation).
Beta Was this translation helpful? Give feedback.
All reactions