Debian9.8 安裝 caffe

Debian9.8 安裝 caffe:git

下載caffe:github

https://github.com/BVLC/caffe/releasesapp

 

解壓caffe-1.0.tar.gz:測試

tar xf caffe-1.0.tar.gz ui

cd caffe-1.0/blog

 

安裝依賴庫:ci

sudo apt build-dep caffe-cpu        # dependencies for CPU-only version
sudo apt build-dep caffe-cuda       # dependencies for CUDA version
sudo apt install -y libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt install -y --no-install-recommends libboost-all-dev
sudo apt install -y libatlas-base-dev get

 

編譯:it

mkdir build
cd build
cmake ..
make all
make install
make runtestio

 

測試caffe:

cp -rf examples/ ./build/

sh data/mnist/get_mnist.sh
sh examples/mnist/create_mnist.sh

相關文章
相關標籤/搜索