Ubuntu 14.04 on Caffe installation: Cpu-only and GPU support

Source: Internet
Author: User

First, Cpu-only installation method

Detailed reference: http://hanzratech.in/2015/07/27/installing-caffe-on-ubuntu.html

The approximate steps are as follows:

1. Install a variety of dependencies and environments (no GPU required, can skip Cuda installation)

2. Install, compile Caffe (modify Makefile.config file)

In the process of compiling and testing the Caffe, it is possible to constantly suggest that some module is missing and that the module can be installed as prompted.


Second, GPU Support installation method

1. Reference: http://caffe.berkeleyvision.org/installation.html, installation dependent and environment.

The "Cuda driver version isinsufficient for Cudaruntime" error occurred during installation because the Cuda version of the installation does not match the graphics driver version, the best way is to download the appropriate driver version from the NVIDIA website and reinstall it. Note the driver version installed by the interrupt "sudo apt-get install" is not necessarily up-to-date and does not necessarily match the Cuda version.


2. Install and compile Caffe

From GitHub above clone Caffe project to local, modify makefile.config and compile test according to GitHub instructions Caffe

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.