Get the best model score without checkpoint files #20085
Unanswered
pandegaabyan
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
-
The ModelCheckpoint and
trainer.checkpoint_callback.best_model_score
allow us to get the best model score. However, if argumentssave_last=False
andsave_top_k=0
are set (since I don't want to store any checkpoint file),trainer.checkpoint_callback.best_model_score
returnsNone
. How to get the best model score without storing checkpoint files? The scores are logged using the Lightning Module methodlog()
.I know that I can easily store it in the Lightning Module attribute or other manual approach. I just wonder if lightning has that feature out of the box.
Beta Was this translation helpful? Give feedback.
All reactions