Skip to content

Instantly share code, notes, and snippets.

@rkosti
Last active March 7, 2017 23:49
Show Gist options
  • Save rkosti/f88a856f1f3e93ca7d086c1833c4e717 to your computer and use it in GitHub Desktop.
Save rkosti/f88a856f1f3e93ca7d086c1833c4e717 to your computer and use it in GitHub Desktop.
installation script of caffe on sunai servers
git clone https://github.com/BVLC/caffe.git
mkdir caffe/build
cd caffe/build
# these hacks are required
export LC_ALL=es_ES.UTF-8 # this locale variable is unset
cmake -DBUILD_matlab=ON .. # matlab is disabled by default
make all # this takes a while
make runtest # all green
cd -
echo "export LC_ALL=es_ES.UTF-8" >> ~/.bash_profile
echo "export CAFFE_ROOT=$PWD/caffe" >> ~/.bash_profile
echo "export PYTHONPATH=$CAFFE_ROOT/python:$PYTHONPATH" >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment