#32 train

Closed
created 1 year ago by trg2018 · 4 comments
trg2018 commented 1 year ago
训练过程中出现NameError: name 'false' is not defined,这是什么错误?
10TV commented 1 year ago
Owner
666还在刷
10TV commented 1 year ago
Owner
这是因为python里面的要大写,是False
10TV closed this issue 1 year ago
trg2018 commented 1 year ago
Poster
这个不是你写的吗?
10TV reopened this issue 1 year ago
10TV commented 1 year ago
Owner
我知道问题出现的真正原因了。启智在输入的multi_data_url参数里面加了一个"readOnly":false,而eval不支持null,true,false,没法正确转换为None,True,False,所以报错“NameError: name 'false' is not defined”,解决方法也很简单,只需要把false作为当作一个变量随便赋一个值即可
10TV closed this issue 1 year ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.