Deep-Learning-21-Examples
Deep-Learning-21-Examples copied to clipboard
chapter3 convert.py 问题求助
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: 之后是上面的问题。。求助!!!
用python2版本就可以不用修改代码了