Installing Theano
First, make sure that you install the development version from the Theano page. Note that if you do "$ pip install theano", you might end up with problems. Installing the development version from GitHub directly is a safer bet:
$ git clone git://github.com/Theano/Theano.git $ pip install Theano
If you want to upgrade Theano, you can use the following command:
$ sudo pip install --upgrade theano
If you have questions and want to connect with the Theano community, you can refer to https://groups.google.com/forum/#!forum/theano-users.
That's it, we are ready to go!
To make sure that we set the directory path toward the Theano folder, we need to do the following:
#!/usr/bin/python import cPickle as pickle from six.moves import cPickle as pickle import os #set your path to the theano folder here path = '/Users/Quandbee1/Desktop/pthw/Theano/'
Let's install all the packages that we need:
from theano import tensor import theano.tensor as T import theano...