【发布时间】:2020-02-29 02:19:00
【问题描述】:
history = model.fit(X, y, batch_size=32, epochs=40, validation_split=0.1)
线路问题是这样的
显示错误:
ValueError: Failed to find data adapter that can handle input: <class 'numpy.ndarray'>, (<class 'list'> containing values of types {"<class 'int'>"})
【问题讨论】:
-
请edit 您的问题并添加更多代码和上下文,以及完整的错误回溯。阅读how to ask。
-
什么是
model?它不是任何标记包的一部分。显示完整的回溯。