小编Neo*_*Neo的帖子

无法找到可以处理输入的数据适配器:<class 'numpy.ndarray'>, (<class 'list'> 包含类型 {"<class 'int'>"} 的值)

history = model.fit(X, y, batch_size=32, epochs=40, validation_split=0.1)
Run Code Online (Sandbox Code Playgroud)

线路问题是这样的

显示错误:

ValueError: Failed to find data adapter that can handle input: <class 'numpy.ndarray'>, (<class 'list'> containing values of types {"<class 'int'>"})
Run Code Online (Sandbox Code Playgroud)

python numpy list pycharm

31
推荐指数
4
解决办法
4万
查看次数

标签 统计

list ×1

numpy ×1

pycharm ×1

python ×1