Deep-Learning-21-Examples icon indicating copy to clipboard operation
Deep-Learning-21-Examples copied to clipboard

chapter3 convert.py 问题求助

Open Fandeqing opened this issue 7 years ago • 1 comments

InvalidArgumentError (see above for traceback): Expected image (JPEG, PNG, or GIF), got unknown format starting with '\303\277\303\230\303\277\303\240\000\020JFIF\000\001'

之前是编码问题,换成 with codecs.open(filename,'r',encoding='iso-8859-15') as f: 之后是上面的问题。。求助!!!

Fandeqing avatar Oct 24 '18 05:10 Fandeqing

用python2版本就可以不用修改代码了

ColdenChan avatar Jan 11 '19 08:01 ColdenChan