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

add model checkpoint #42

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

abdallah1097
Copy link
Contributor

Add model checkpoint

This commit adds checkpoint.py file which allows:
1.      Saving weights based on lowest val_loss from flag save_best_weights in config.yml
2.      Saving weights frequently with specified frequency int in the confing.yml

This commit adds checkpoint.py file which allows:
1.	Saving weights based on lowest val_loss from flag save_best_weights in config.yml
2.	Saving weights frequently with specified frequency int in the confing.yml
Since train() function was changed in previous commit to include checkpoint
train function needed to be changed in test_train.py as well
This error was because I moved creating new folder to the train function
to cope with the checkpoint addition. However, test_save works independantly
thus I creating new directory (folder) is created in save function with a condition
@dayyass
Copy link
Owner

dayyass commented Dec 10, 2020

This pull request will be merged after #27, #29, #32

@dayyass dayyass changed the title Add modelcheckpoint feature add model checkpoint Oct 12, 2021
@dayyass dayyass self-requested a review October 12, 2021 18:04
@dayyass dayyass self-assigned this Oct 12, 2021
@dayyass dayyass added the enhancement New feature or request label Oct 12, 2021
@dayyass dayyass linked an issue Oct 12, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add model checkpoint
2 participants