Recently for various reasons, loaded many times caffe, installation process a lot of pits, in order to save the time of novice, hereby summarizes the entire installation process.
About the Ubuntu version of the choice, it is recommended to use 14.04 this relatively stable version, but do not use Kylin version!!! A lot worse than the original experience!!!
Caffe installation process, the basic adoption of this article and then slightly changed, skip the Tai hang.
1. Install the development dependency package
sudo Install build-essentialsudoinstall vim cmake gitsudo Install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev Libhdf5-serial-dev Libgflags-dev Libgoogle-glog-dev Liblmdb-dev Protobuf-compiler
2. Install Cuda and drive
General computers have dual graphics cards: Intel's integrated graphics + Nvidia's discrete graphics card. To run the two video cards simultaneously, you need to turn off the LIGHTDM service.
2.1 Download the installer here, choose the Ubuntu 14.04 under Linux x86, the Local package Installer, download the file name as
2.2 Select the Intel graphics card to display or use as the primary display device in the BIOS setup
2.3 Enter Ubuntu, press CTRL+ALT+F1, log in to your account, and enter the following command
sudo service LIGHTDM stop
2.4 Install CUDA,CD to the installation package directory, find the downloaded installation package, such as mine is
Caffe installation in Ubuntu 14.04 64bit