This is a description (for myself) on how to seet up Ubuntu 12.04 with Caffe neural network framework & python3.5 + packages for my thesis experiments.
-
First thing is to follow this guide here (https://github.com/BVLC/caffe/wiki/Install-Caffe-on-EC2-from-scratch-%28Ubuntu,-CUDA-7,-cuDNN%29) on how to install Caffe on Ubuntu 12.04
-
Next set up any IDE you wish to use, pycharm in my case
-
Next install python3.5 (http://askubuntu.com/questions/682869/install-python-3-5-on-vivid-using-apt-get)
-
sudo add-apt-repository ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install python3.5
-
Once all that is taken care of, install packages needed for thesis work:
-
Numpy
-
Scipy
-
matplotlib
-
sci-kit learn
-
sci-kit image
-
h5py
-
pillow
-
tiffile.py (only needed for reading in raw data files)
-
Install packages via: (http://stackoverflow.com/questions/18785063/install-numpy-in-python-virtualenv)
-
ex: virtualenv ~/.venvdir/venv/ && ~/.venvdir/venv/bin/pip3.5 install foo
-
pyqt5 sudo apt-get install qtcreator pyqt5-dev-tools