How can one save a gnn model? #4574
Answered
by
rusty1s
DogitoErgoSum
asked this question in
Q&A
-
The title |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
May 2, 2022
Replies: 1 comment 3 replies
-
You can either save the full model torch.save(my_model, 'model.pt') or just its state dict/parameters (recommended): torch.save(my_model.state_dict(), 'model.pt') |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
DogitoErgoSum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can either save the full model
or just its state dict/parameters (recommended):