标签:
sudo git clone https://github.com/BVLC/caffe.git
1 CUDA Repository
获取CUDA安装包,安装包请自行去NVidia官网下载。(https://developer.nvidia.com/cuda-downloads)
2 CUDA Toolkit
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
BLAS
sudo apt-get install libatlas-base-dev
Everything is packaged in 14.04
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
Google Logging Library(glog)
下载地址:https://code.google.com/p/google-glog/,然后解压安装:
cp Makefile.config.example Makefile.config
make all
make test
make runtest
cmake使用
mkdir build
cd build
cmake ..
make all
make install
make runtest
标签:
原文地址:http://www.cnblogs.com/linyuanzhou/p/5703798.html