Early stop saving best checkpoints #10399
Answered
by
rohitgr7
minwang-ai
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
Beta Was this translation helpful? Give feedback.
Answered by
rohitgr7
Nov 8, 2021
Replies: 1 comment 6 replies
-
you can specify ModelCheckpoint(monitor='val_loss', save_top_k=1, ...) this will save the best model. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
minwang-ai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can specify
this will save the best model.