¶The installation of ubuntu 14.04
Please visit this notes:
The installation and Configuration of ubuntu 14.04
¶General dependencies
1 | sudo apt-get update |
¶Download Caffe
1 | cd ~ |
¶Python interface
1 | sudo apt-get install python-pip |
¶Compilation
<1> config:
1 | cd caffe |
<2> add path
1 | # in .bashrc or /etc/profile |
Save the Makefile.config and Make:
1 | cd caffe |
¶If you meet the errors just like this:
ERRORS: src/caffe/net.cpp:8:18: fatal error: hdf5.h: No such file or directory
Please solver as flow:
1 | cd /usr/lib/x86_64-linux-gnu |
¶Run examples
<1> Mnist:
1 | cd caffe |
<2> Cifar10:
1 | # get datas |
¶Reference
[1] http://sunshineatnoon.github.io/How-to-install-caffe/
[2] http://caffe.berkeleyvision.org/installation.html
[3] http://caffe.berkeleyvision.org/install_apt.html
[4] https://github.com/NVIDIA/DIGITS/issues/156
END