Last active
August 12, 2019 18:12
-
-
Save n0obcoder/e8677e884d282c45754e028f6676187e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # saving the entire model | |
| torch.save(model, 'weights_only.pth') | |
| # loading the entire model | |
| model_new = torch.load('entire_model.pth') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment