Thursday, January 28, 2016

Caffe installation on Maverick using CMake

Gist at: https://gist.github.com/dineshj1/8162cd8e72647aed2108
(all the following should be done from an interactive session on one of the visualization machines ./request_vis.sh)

Dependency installation:
mkdir caffe_deps
cd caffe_deps; cp <install_caffe_deps.sh> ./;
./install_caffe_deps.sh (Not completely tested... may need tinkering from time to time)


Main Caffe installation (after installing all dependencies):

1) cd caffe; mkdir build; cd build;
2) ln -s <caffe_dependencies_folder> .caffe_deps
3) cp <caffe_cmake_script.sh from gist>  ./
4) ./caffe_cmake_script.sh
5) make all -j; make pycaffe-j; make runtest -j; make pytest -j;

Cross-check against .bashrc in case of trouble.


No comments:

Post a Comment