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

Unable to reload the saved model to retrain from last ckpt #7

Open
sachinya00 opened this issue Aug 7, 2019 · 2 comments
Open

Unable to reload the saved model to retrain from last ckpt #7

sachinya00 opened this issue Aug 7, 2019 · 2 comments

Comments

@sachinya00
Copy link

image

@charles9n
Copy link
Owner

If you want to continue training the model from a previous finetuned checkpoint you can use the
'load_at_start flag' in fit and set it to False. This isn't documented since I envisioned people would mostly use the finetuned model for inference.

So this should work for you now:
new_model.fit(X_train, y_train, load_at_start=False)

Regardless, what you found is a bug which I will fix. Will get back to you when its done. Thanks!

@sachinya00
Copy link
Author

Thanks Charles!, it worked.

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

2 participants