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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add version suffix to saved model checkpoint with a version #5000
Comments
On it 馃挭 |
Should I include adding version suffixes to |
Isn't it saved only once? |
It is for one run, but if you do a re-run, it gets overwritten |
oh... it's a bug then. Yep version suffixes should be added. If I have a file already present in the directory, not saved by pl.ModelCheckpoint, then it should remain untouched. |
@carmocca the filename last.ckpt needs to be kept for easy access, which is what it is for (save_last=True) :) |
agreed w/ @awaelchli that we shouldn't change the |
but if you have in the folder already one
@rohitgr7 @carmocca seems we have two issues on the same topic, right? let's close one of them... |
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team! |
Closing as we don't plan to do this since it would be inconsistent with the requirements of #5030 where the original |
馃殌 Feature
Currently, if a duplicate filename is found in the checkpoint directory saved by the
ModelCheckpoint
, then a version is added to it and the old file is kept as it is. Here is an enhancement request to update the old file too with a version.Before
After
cc @carmocca
The text was updated successfully, but these errors were encountered: