Deep Learning caffe:ubuntu16.04 Installation Guide (3)

Source: Internet
Author: User

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)

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.