我正在尝试在Linux 16.04上安装caffe。我正在关注此链接:http://hanzratech.in/2015/07/27/installing-caffe-on-ubuntu.html并完成以下步骤:
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt-get install --no-install-recommends libboost-all-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install the python-dev
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
git clone http://github.com/BVLC/caffe.git
cd caffe
在CPU_ONLY := 1
Makefile.config
make all
make test
make runtest
但安装会在下一步冻结,即
make pycaffe
单行输出后
CXX/LD -o python/caffe/_caffe.so python/caffe/_caffe.cpp