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.


Torch installation on Maverick

https://gist.github.com/dineshj1/ee4264f60dea3ac71def

- 1) Run install-torch.sh. This will in turn, create and call install-script_cuda.
- 2) "Install" the visual debugger zbs-torch (https://github.com/soumith/zbs-torch). Instructions as of 1/28/2016:

  • git clone https://github.com/soumith/zbs-torch
  • cd zbs-torch
  • ./zbstudio.sh (to start ... no need to "install" anything)

(If trouble, crosscheck against .bashrc)

Torch installation on eldar

- Gists at: https://gist.github.com/dineshj1/6ec0ccb4267f3698b7ac

- 1) Run install-torch.sh. This will in turn call install-script_cuda.
- 2) "Install" the visual debugger zbs-torch (https://github.com/soumith/zbs-torch). Instructions as of 1/28/2016:

  • git clone https://github.com/soumith/zbs-torch
  • cd zbs-torch
  • ./zbstudio.sh (to start ... no need to "install" anything)

(If trouble, crosscheck against .profile)