Caffe [FULL VERSION] 2017-01-19
The configuration is as follows: Caffe + cuda8.0[gpu acceleration [only supports n cards]] + cudnn5.1 + opencv3.1 + python2.7 + boost58 , the main reference is Caffe official Tutorial
Ubuntu 16.04 or 15.10 Installation Guide
Before you begin, read:
Deep Learning caffe:ubuntu16.04 Installation Guide (2)
Before you start the installation, you need a computer that already has the Ubuntu16.04 system installed, and the/home partition should have as much space as possible [preferably >=20g], because later experiments require more storage space.
1. Software source
Action commands
Tsinghua university
2. Caffe Dependency
the compile/run time of Caffe relies on some other programs and various libraries
sudo apt-get updatesudo apt-get install-y build-essential cmake git pkg-configsudo apt-get install-y libprotobuf-dev Lib Leveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compilersudo apt-get install-y libatlas-base-dev sudo apt-get Install-y--no-install-recommends libboost-all-devsudo apt-get install-y libgflags-dev Libgoogle-glog-dev Liblmdb-devsudo Apt-get install-y Python-pip
Recommendation:
The installation process is best a command one command implementation, there was a mistake to facilitate timely discovery.
Installation process has failed to install the situation, do not worry, usually because of network reasons, re-execute the command, generally try a few times will be good ~
3. cuda8.0
Download
Official website Download: https://developer.nvidia.com/cuda-downloads
Direct download: cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64.deb
Installation
4. cudnn5.1
A deep neural network library, used for GPU acceleration, is widely used in various deep learning frameworks such as Caffe, tensorflow, Theano, Torch and CNTK.
Download [requires a simple registration before you can download]
Official website Download: https://developer.nvidia.com/cudnn
Direct download: cudnn-8.0-linux-x64-v5.1.tgz
Installation
5. opencv3.16. HDF5 Configuration7. Caffe8. Mnist and CIFAR10 experiments
Deep Learning caffe:ubuntu16.04 Installation Guide (3)