-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add best_model_monitor to ModelCheckpoint #4368
Comments
another alternative: you can also add that to checkpoint itself in |
Do you mean by overriding it in my It is an ugly solution because it does not know about any ModelCheckpoints used. Only the trainer knows about them. So I would need to instantiate my LightningModule with an added def on_save_checkpoint(self, checkpoint):
checkpoint["checkpoint_callback_best_model_monitor"] = self.checkpoint_callback_monitor |
If you guys agree with this issue, I can work on the PR |
I think it makes sense to add |
na.. not the LightningModule but ModelCheckpoint, I know it's ugly haha.. |
Motivation
If I have a directory with many checkpoints, possibly belonging to runs with different monitors, I don't know which metric was tracked by each checkpoint.
Pitch
Alternatives
Guess If I included the monitor in the checkpoint name, I could parse it to know. But seems much more convenient to add the property.
The text was updated successfully, but these errors were encountered: