Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

源码问题?

Open appleappleorange opened this issue 7 years ago • 2 comments

File "C:\Users\11856\AppData\Roaming\Python\Python37\site-packages\paddle\utils\plot.py", line 75, in append assert isinstance(title, basestring) NameError: name 'basestring' is not defined 我看了源代码,plot.py文件中'basestring'确实只出现过一次,没有定义过,是否是源码有问题?

appleappleorange avatar Feb 18 '19 06:02 appleappleorange

你好,确实是的。 \paddle\utils\plot.py 这个代码在python3环境下并不能工作。请关注pr:https://github.com/PaddlePaddle/Paddle/issues/15761 的解决状态。我们会尽快修复。 因为 这个代码使用的basestring在PY3下已经不存在,所以会出错

junjun315 avatar Feb 18 '19 07:02 junjun315

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot-old avatar May 22 '20 10:05 paddle-bot-old