Caffe installation in Ubuntu 14.04 64bit

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.