How to save/load Torch models?
Russel_Russel
apaszke
kindlychung
apaszke
Thanks Yun
YunTang
state_dict is easy to manipulate and load into other models. it’s also a simpler structure. Your model class definition might also not be picklable (possible in some complicated models) Other than this, it’s a matter of taste.
smth
Is there any work to export Pytorch models to new Apple format (CoreML), or convert to Keras (so it can be used by Apple devices)? Nick
Nick_Brandaleone
Brando_Miranda
allenye0119
rajarsheem
smth
Please tell me. Does Pytorch save model in h5df format file or another format?  What I must do to save dict model in h5df format?
kirill-pinigin
singleroc
When you save the pytorch model in .pth format. The entire model structure will get saved in it right. Again why do we have to keep the .py script along with .pth file? Thank you,
dhanyashri_b_v