Skip to content

Instantly share code, notes, and snippets.

@khalidmeister
Created June 23, 2020 14:55
Show Gist options
  • Save khalidmeister/c6e1fa2161faaa145fae2e3569796a37 to your computer and use it in GitHub Desktop.
Save khalidmeister/c6e1fa2161faaa145fae2e3569796a37 to your computer and use it in GitHub Desktop.
Save the model
# Save The Model
PATH = './fix_alexnet_net.pth'
torch.save(model_alexnet.state_dict(), PATH)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment