Skip to content
New issue

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

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte #5

Open
Deepakchawla opened this issue Jul 4, 2020 · 0 comments

Comments

@Deepakchawla
Copy link

/home/deepakchawala/PycharmProjects/skin_diseases_prediction/envskinpred/lib/python3.6/site-packages/torchvision/transforms/transforms.py:211: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead.
"please use transforms.Resize instead.")
Traceback (most recent call last):
File "run.py", line 2, in
from app import app
File "/home/deepakchawala/PycharmProjects/skin_diseases_prediction/app/init.py", line 13, in
checkpoint = torch.load(MODEL_FILE, map_location=lambda storage, location: storage)
File "/home/deepakchawala/PycharmProjects/skin_diseases_prediction/envskinpred/lib/python3.6/site-packages/torch/serialization.py", line 593, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/deepakchawala/PycharmProjects/skin_diseases_prediction/envskinpred/lib/python3.6/site-packages/torch/serialization.py", line 773, in _legacy_load
result = unpickler.load()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant