[The installation steps of Caffe under Turn]linux14.04

Source: Internet
Author: User

Installation steps for linux14.04 under CaffeOriginal address: Http://blog.csdn.net/xiaoyang19910623/article/details/52997481?locationNum=1&fps=1

1. Download Caffe-master,:https://github.com/bvlc/caffe, download to downloads;
2. Unpack the installation package to downloads;
3. First install boost and OPENCV, because these two are larger, the command is:
sudo apt-get install Libopencv-dev
sudo apt-get install Libboost-dev
4. After the installation is complete, continue installing the Caffe dependencies:
sudo apt-get install $APT _flags libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev Libgflags-dev Libgoogle-glog-dev Liblmdb-dev Protobuf-compiler Libatlas-base-dev

sudo apt-get install $APT _flags python-dev python-pip Gfortran

sudo apt-get install $APT _flags cython python-numpy python-scipy python-skimage python-matplotlib python-h5py Python-leveldb python-networkx python-pandas python-dateutil python-protobuf python-gflags python-yaml Python-pil
5. Install Cmake,sudo apt-get installl Cmake-qt-gui;
6. Create a new build under/downloads/caffe-master/to store the compiled file.
7. Navigate to the build directory and make the install after make is finished;
8. Copy the Caffe folder under/downloads/caffe-master/build/install/python/to/usr/lib/python2.7/dist-packages/.
9. Open the terminal, enter Python, enter import Caffe, and check if the installation is successful.

[The installation steps of Caffe under Turn]linux14.04

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.