运行train文件后出错
来源:10-5 第一种模型训练(5)

JessicaEarth
2019-04-25
运行train文件后出错,主要报错信息如下
File "F:/Learning/MukeChatbot/chatbot/train.py", line 68, in test
cost, lr = model.train(sess, x, xl, y, yl, return_lr=True)
TypeError: 'NoneType' object is not iterable
请问老师这个具体检查哪部分的代码?
写回答
1回答
-
Mr_Ricky
2019-04-29
应该是传入数据为空,或者类型不对
00
相似问题