gujiuxiang / MIL.pytorch

PyTorch implementation of Multiple-instance learning
117 stars 29 forks source link

'ascii' codec can't decode byte 0xd8 in position 55: ordinal not in range(128) #12

Open fawazsammani opened 5 years ago

fawazsammani commented 5 years ago

Hi. Thanks for your code! It seems that there is a problem when using python 3. I get this error: 'ascii' codec can't decode byte 0xd8 in position 55: ordinal not in range(128) The pickle file is stored differently and therefore cannot be read in python 3. I even tried utf-8 encoding but same thing. Any solution to this problem?

BeniaminK commented 5 years ago

I've tried encoding ISO-8859-1 and it seems it works properly.