我想和凯拉斯玩一会儿。
当我尝试以下代码时:
from keras.layers import Dense
我得到以下错误:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from keras.layers import Dense
ImportError: cannot import name 'Dense'
我使用的是Python3.4.3,我使用的是Windows8 64位计算机。
谢谢你。
Tags:
错误告诉您,在该模块中未找到名为
Dense
的内容。也许你的意思是
from keras.layers.core import Dense
?相关问题 更多 >
编程相关推荐