DL libraries

1. Install Keras on Anaconda Windows

  • Install TDM GCC x64. Add PATH
  • Install Anaconda x64.
  • Open the Anaconda prompt
  • Run conda update conda
  • Run conda update --all
  • Run conda install mingw libpython
  • Install the latest version of Theano, pip install git+git://github.com/Theano/Theano.git
  • Run pip install git+git://github.com/fchollet/keras.git

2. Install pyCUDA

  • Get the the PyCUDA prebuilt binary from Christoph Golke (his page is an invaluable resource for installing Python packages on Windows).
  • Select the right combination of OS (for me it was pycuda-2016.1.2+cuda8044-cp35-cp35m-win_amd64.whl)
  • Use pip to install the above package.  Simply type this in your Anaconda prompt
    pip install <directory>\pycuda-2016.1.2+cuda8044-cp35-cp35m-win_amd64.whl

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s