我正在尝试使用以下 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 并设置了环境变量。
那么,有没有安装这些软件包的程序?