How to save/load model #1870
Unanswered
yiqiang-zhao
asked this question in
Community | Q&A
Replies: 1 comment 4 replies
-
What parallel training technique are you using? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to save a model and load it using
torch.load
. I followed this and add aSaveCheckpointHook
in thehook_list
.I can load the checkpointed model, but the shape of every parameter is reduced to 1/8 by one dimension. Besides, every parameter's name is prefixed with
module.module.
.I used a 8-v100-16G node.
Are there any tutorials on saving model and loading it by pure torch? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions