Skip to content
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

Exclude pretrained models from the checkpoint rotation logic #729

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hcsolakoglu
Copy link
Contributor

There was an issue due to the pretrained models having the same name as the checkpoints saved during model training. Suppose keep_last_n_checkpoints was set to 5 since the pretrained model was also included in this count, only 4 training checkpoints + 1 pretrained model checkpoint were actually kept. Additionally, in long enough training sessions, there was a risk of the pretrained model being deleted. These changes address this issue.

If there are any modifications I might have overlooked, it would be great if you could review them and provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant