Ubuntu 14.04 Installation Caffe Deep Learning framework

Source: Internet
Author: User

简介:如何在ubuntu 14.04 下安装caffe深度学习框架。

注:安装caffe时一定要保持网络状态好,不然会遇到很多麻烦。例如下载不了,各种报错。

一、安装依赖包

$ sudo apt-get install git
$ sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler$ sudo apt-get install --no-install-recommends libboost-all-dev
$ sudo apt-get install libatlas-base-dev
$ sudo apt-get install python-dev
$ sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev

二、下载caffe源码

$ git clone https:github.com/bvlc/caffe.git

三、开始编译

 $ cd caffe/
 $ mkdir build
 $ cd build
 $ cmake -DCMAKE_BUILD_TYPE=Release -DCPY_ONLY=ON ..

 $ make all



$ make install



$ make runtest



参考:
http://caffe.berkeleyvision.org/install_apt.html

http://caffe.berkeleyvision.org/installation.html#compilation
 

Ubuntu 14.04 Installation Caffe Deep learning framework

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.