I am trying to work with neural networks in Python using the following Keras packages:
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
But I get the following error:
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
Installing installed conda install keras . Later I tried using pip install Theano , but that did not work. I tried installing using pip install git , but I get this error: cannot find command git. So, I installed Git and I set the environment variables.
So, is there any procedure for installing these packages?
pavikirthi Dec 04 '15 at 21:44 2015-12-04 21:44
source share