You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Diana
for using torch.load('saved_model') there should be all modules that existed in saving time available otherwise it get an error!!
If you store a model directly via torch.save(model, file_path), you would need to restore the file and folder structure in order to load this model again!!
The text was updated successfully, but these errors were encountered:
PouyaNF
changed the title
Why you save the entire model instead of state_dict .. ?
Why you saved the entire model instead of state_dict .. ?
May 3, 2022
Hi,have you reproduced the author's training code? After I reproduced the project given by the author, the result was not good, and then I did not know why.
Hi Diana
for using torch.load('saved_model') there should be all modules that existed in saving time available otherwise it get an error!!
If you store a model directly via torch.save(model, file_path), you would need to restore the file and folder structure in order to load this model again!!
The text was updated successfully, but these errors were encountered: