mhw32 / derm-ai

Machine Learning for Skin Disease Classification
88 stars 43 forks source link

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

Open Deepakchawla opened 4 years ago

Deepakchawla commented 4 years ago

/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