Save and load model pytoch

hello guys,
i had been save a train model ResNet in collab but if i load this model with spyder (ubuntu) i have this error (RuntimeError: [enforce fail at] . PytorchStreamReader failed reading zip archive: failed finding central directory)
this is the save and the load !

Are you using torchscript model? if so, you should use for saving a torchscript model.

Besides what @Keyv_Krmn mentioned, check if you are using the same PyTorch versions, since loading a state_dict should be backwards compatible but not necessarily forwards compatible.
I.e. storing a state_dict in an older PyTorch version and loading it with a newer one should work, while the opposite direction could fail.