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
Lean Model Checkpointing #504
Comments
Hello, Thanks for your feedback :) we need to document this better, but you hopefully should be able to load the model with |
@ethanwharris , thank you so much for the prompt reply. I will try to create a simple script to replicate the error(s) along with the details of my configuration. I came up with a band-aid solution, which I hope to publish too for people who might be experiencing the same problem. Or maybe I'm just missing something. I see that you got rid of |
Okay, now I got it.
I'm a big fan of torchbearer and the team's work. Keep it up! Thanks for the help |
No problem! glad to be of help. A PR would be much appreciated as this is definitely something we should document better |
Closed by #508 |
Hi,
I ran a
Trial
and have my model saves my model usingtorchbearer.callbacks.checkpointers.Best
to a filemodel.pt
.When I load the file with
torch.load
and run try to make a forward pass with it, I get the following error:I get that model is being saved so that I can be recovered to be ready for torchbearer, but how can we save the model lean?
It seems like here, the model is only saved for reusability by torchbearer.
Thanks a lot!
The text was updated successfully, but these errors were encountered: