1.http://caffe.berkeleyvision.org/install_apt.html
2.安装driver,安装cuda,安装cudnn(cpu版本)
3.安装anaconda
4.进入到依赖文件夹比如我用python我就进入/caffe/pyhton,输入:
for req in $(cat requirements.txt); do pip install $req; done
5.编辑你自己的Makefile.config文件
6.安装caffe
$make all
$make pycaffe
7.把caffe里面的python加入到路径
export PYTHONPATH=/path/to/caffe/python:$PYTHONPATH