DSB2017 icon indicating copy to clipboard operation
DSB2017 copied to clipboard

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

Open menglinGuo opened this issue 6 years ago • 2 comments

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 )

menglinGuo avatar Sep 01 '17 08:09 menglinGuo

python version: 2.7

BR. -zhaifly

在 2017年9月1日,16:20,menglinGuo [email protected] 写道:

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.

zhaifly avatar Sep 02 '17 02:09 zhaifly

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 [email protected]:

python version: 2.7

BR. -zhaifly

在 2017年9月1日,16:20,menglinGuo [email protected] 写道:

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

lfz avatar Sep 02 '17 05:09 lfz