You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\Users\User\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2980, in run_code
self.showtraceback(running_compiled_code=True)
File "C:\Users\User\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 1868, in showtraceback
self._showtraceback(etype, value, stb)
File "C:\Users\User\Anaconda3\lib\site-packages\ipykernel\zmqshell.py", line 558, in _showtraceback
dh.parent_header, ident=topic)
File "C:\Users\User\Anaconda3\lib\site-packages\jupyter_client\session.py", line 737, in send
to_send = self.serialize(msg, ident)
File "C:\Users\User\Anaconda3\lib\site-packages\jupyter_client\session.py", line 625, in serialize
content = self.pack(content)
File "C:\Users\User\Anaconda3\lib\site-packages\jupyter_client\session.py", line 103, in
ensure_ascii=False, allow_nan=False,
File "C:\Users\User\Anaconda3\lib\site-packages\zmq\utils\jsonapi.py", line 43, in dumps
s = s.encode('utf8')
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcd5' in position 2922: surrogates not allowed
尊敬的何君,您好,
感谢您的贡献。
我最近也在学习“深度学习的风格迁移”,但我在python3.6环境下运行您的文件,直接报了错误。
这个错误未提示在哪段代码位置上,请问python环境变了之后,我做移植,要进行什么修改吗?比如配置文件要重新写?因为,一般python代码上随着新的语言特性不支持2.7版本,会准确提示错误的。打印的log并没有告诉我您的代码哪里与python3.6不兼容。
The text was updated successfully, but these errors were encountered: