lfz / DSB2017

The solution of team 'grt123' in DSB2017
MIT License
1.23k stars 420 forks source link

error in ‘checkpoint = torch.load(config_submit['classifier_param'])’(求大神回复渣交小妹) #43

Open menglinGuo opened 7 years ago

menglinGuo commented 7 years ago

when I run the main.py, there is something wrong happening when I run this code'checkpoint = torch.load(config_submit['classifier_param'])’. The error is 'UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 16: ordinal not in range(128)' ,however the same code that 'checkpoint = torch.load(config_submit['detector_param'])' is ok. dear 大神(look forward to your responses )

zhaifly commented 7 years ago

python version: 2.7

BR. -zhaifly

在 2017年9月1日,16:20,menglinGuo notifications@github.com 写道:

when I run the main.py, there is something wrong happening when I run this code'checkpoint = torch.load(config_submit['classifier_param'])’. The error is 'UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 16: ordinal not in range(128)' ,however the same code that 'checkpoint = torch.load(config_submit['detector_param'])' is ok. dear 大神(look forward to your responses )

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

lfz commented 7 years ago

I havent't seen this bug before. Maybe it's a pytorch bug? check the pytorch version?

2017-09-02 10:36 GMT+08:00 zhaifly notifications@github.com:

python version: 2.7

BR. -zhaifly

在 2017年9月1日,16:20,menglinGuo notifications@github.com 写道:

when I run the main.py, there is something wrong happening when I run this code'checkpoint = torch.load(config_submit['classifier_param'])’. The error is 'UnicodeDecodeError: 'ascii' codec can't decode byte 0x8c in position 16: ordinal not in range(128)' ,however the same code that 'checkpoint = torch.load(config_submit['detector_param'])' is ok. dear 大神(look forward to your responses )

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lfz/DSB2017/issues/43#issuecomment-326716876, or mute the thread https://github.com/notifications/unsubscribe-auth/AIigQ1gCQQ1gFrUYwPNjq6QpcmYfzYSyks5seL86gaJpZM4PJ2LG .

-- 廖方舟 清华大学医学院 Liao Fangzhou School of Medicine Tsinghua University Beijing 100084 China