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
I'm trying to run in google colab. Basic startup throws this error. All models are downloaded and placed in the model folder. python test.py Traceback (most recent call last): File "test.py", line 15, in <module> model.load_state_dict(torch.load(model_path), strict=True) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 593, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 762, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '<'.
The text was updated successfully, but these errors were encountered:
I'm trying to run in google colab. Basic startup throws this error. All models are downloaded and placed in the model folder.
python test.py
Traceback (most recent call last): File "test.py", line 15, in <module> model.load_state_dict(torch.load(model_path), strict=True) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 593, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 762, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '<'.
The text was updated successfully, but these errors were encountered: