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

How to save checkpoints? #8

Open
joandies opened this issue Nov 30, 2021 · 0 comments
Open

How to save checkpoints? #8

joandies opened this issue Nov 30, 2021 · 0 comments

Comments

@joandies
Copy link

I've seen that the function train has an input "checkpoint_to_load=None", I would like to know how to adapt the code so that after each epoch it saves its weights. Because I've calculated the total time of my training and it is around 48h, so I want to save my weights periodically.

def train(get_batches, data_shape, checkpoint_to_load=None):

Sorry if it's a stupid question, I'm a starter.

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

No branches or pull requests

1 participant