我正在尝试使用以下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并设置了环境变量。
那么,有没有安装这些包的步骤呢?
https://stackoverflow.com/questions/34097988
复制相似问题