Skip to content

Instantly share code, notes, and snippets.

@ldct
Created January 22, 2016 06:33
Show Gist options
  • Save ldct/8f6a499017a9c074eca5 to your computer and use it in GitHub Desktop.
Save ldct/8f6a499017a9c074eca5 to your computer and use it in GitHub Desktop.
theanno
# ubuntu 14.04
# https://github.com/BVLC/caffe/wiki/Install-Caffe-on-EC2-from-scratch-(Ubuntu,-CUDA-7,-cuDNN)
# http://deeplearning.net/software/theano/install.html#gpu-linux
export PATH=$PATH:/usr/local/cuda-7.0/bin
export LD_LIBRARY_PATH=:/usr/local/cuda-7.0/lib64
export CUDA_ROOT=/usr/local/cuda
export THEANO_FLAGS='cuda.root=/path/to/cuda/root,device=gpu,floatX=float32'
sudo apt-get install python-pip python-dev
sudo pip install numpy
sudo pip install pandas
sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortran
sudo pip install scipy
sudo pip install scikit-learn
sudo pip install -r https://raw.githubusercontent.com/Lasagne/Lasagne/master/requirements.txt
sudo pip install https://github.com/Lasagne/Lasagne/archive/master.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment