You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
Hi,
Is there an option or a way to keep for example 5 best checkpoints in the training process by using train_model.py and not just the best model checkpoint?
As far as I understood, there isn't any option to keep multiple checkpoints in train_model.py, and by any option group, the new checkpoint will be overwritten on the only last checkpoint that has been saved.
Should I add this feature and if it's required create a pull request or is there a logic behind the way train_model.py keeps the checkpoints?
The text was updated successfully, but these errors were encountered:
@ahkarami
As in this part of train_model.py I don't think by setting this option, a new checkpoint file will be created. It would create a new checkpoint after the validation but the checkpoint will not be saved by a new name and it will be just overwritten on the previously saved checkpoint by the same name.
You are correct, the current logic overwrites the checkpoints for each validation. We would appreciate a pull request that achieves your request if you are able to submit one!
This issue has not had activity in 30 days. Please feel free to reopen if you have more issues. You may apply the "never-stale" tag to prevent this from happening.
Hi,
Is there an option or a way to keep for example 5 best checkpoints in the training process by using train_model.py and not just the best model checkpoint?
As far as I understood, there isn't any option to keep multiple checkpoints in train_model.py, and by any option group, the new checkpoint will be overwritten on the only last checkpoint that has been saved.
Should I add this feature and if it's required create a pull request or is there a logic behind the way train_model.py keeps the checkpoints?
The text was updated successfully, but these errors were encountered: