We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError Traceback (most recent call last) in () 1 import torch ----> 2 model = torch.load ('/content/gdrive/My Drive/Colab Notebooks/my_model.pkl') 3 model 1 frames /usr/local/lib/python3.6/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, * pickle_load_args) 771 unpickler = pickle_module.Unpickler(f, *pickle_load_args) 772 unpickler.persistent_load = persistent_load --> 773 result = unpickler.load() 774 775 deserialized_storage_keys = pickle_module.load(f, **pickle_load_args) AttributeError: Can't get attribute 'CNN' on <module 'main'>
The text was updated successfully, but these errors were encountered:
Merge pull request #4 from minji-o-j/master
e89f950
기간 수정
Is there any solution of this problem? I just met the same problem torch 1.5.1
Sorry, something went wrong.
No branches or pull requests
AttributeError Traceback (most recent call last) in () 1 import torch ----> 2 model = torch.load ('/content/gdrive/My Drive/Colab Notebooks/my_model.pkl') 3 model
1 frames /usr/local/lib/python3.6/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, *
pickle_load_args) 771 unpickler = pickle_module.Unpickler(f, *pickle_load_args) 772 unpickler.persistent_load = persistent_load --> 773 result = unpickler.load() 774 775 deserialized_storage_keys = pickle_module.load(f, **pickle_load_args)
AttributeError: Can't get attribute 'CNN' on <module 'main'>
The text was updated successfully, but these errors were encountered: