lfz / DSB2017

The solution of team 'grt123' in DSB2017
MIT License
1.24k stars 418 forks source link

UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 16: ordinal not in range(128) #14

Closed chenjing8023 closed 7 years ago

chenjing8023 commented 7 years ago

When I run the mian.py at DSB2017-master directory, I got this error. It happened when I load the classifier.ckpt. The classifier.ckpt is downloaded from this github.
Traceback (most recent call last): File "main.py", line 68, in checkpoint = torch.load(config_submit['classifier_param']) File "/usr/local/lib/python3.5/dist-packages/torch/serialization.py", line 229, in load return _load(f, map_location, pickle_module) File "/usr/local/lib/python3.5/dist-packages/torch/serialization.py", line 377, in _load result = unpickler.load() UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 16: ordinal not in range(128) checkpoint = torch.load(config_submit['classifier_param']) How can resolve it ?

theVmagnificient commented 5 years ago

How did you solve this problem? I ran in the same one.

Karna4621 commented 4 years ago

I ran in the same one.Looking for solution