我正在尝试使用以下Keras软件包在Python中的神经网络上工作:
from keras.utils import np_utils
from keras.layers.core import Dense, Activation, Dropout
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation, Flatten
from keras.layers.convolutional import Convolution2D, MaxPooling2D
from keras.optimizers import SGD
但是,我收到以下错误:
15 import theano
---> 16 from theano import gof
17 from theano.compat.python2x import partial
18 import theano.compile.mode
ImportError: cannot import name gof
正在安装安装conda install keras
。后来我尝试使用pip install Theano
,但是没有用。我尝试使用安装pip install git
,但出现此错误:cannot find command git.
所以我安装了Git并设置了环境变量。
那么,有没有安装这些软件包的程序?
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句