Ubuntu14.04+cuda7.5+cudnn7.0-v4+caffe Vomiting Blood Installation

Source: Internet
Author: User

Finally Caffe compiled successfully, just compile let the weak slag busy two weeks.

Important thing to say three times!

Do not use ubuntu16.04! now CUDA does not support!

Don't use ubuntu16.04!. now the Cuda does not support!

Don't use ubuntu16.04!. now the Cuda does not support!

Do not use cudnn7.0-v5! now Caffe do not support!

Don't use cudnn7.0-v5!. now the Caffe do not support!

Don't use cudnn7.0-v5!. now the Caffe do not support!

Be sure to use a script to opencv! or not find the library!

Be sure to use a script Ann opencv! or I can't find the library!

Be sure to use a script Ann opencv! or I can't find the library!

If you do not want to re-install many times well obedient, good ~ (here should I cry in the wind, version is really important, very important, very important)

Most of the installation process draws on the http://blog.csdn.net/ubunfans/article/details/47724341 2015.08.17 Ubuntu 14.04+cuda 7.0+caffe installation configuration

Thank you here, but also said that if the configuration version is changed or should be carefully configured.

General steps Please press 2015.08.17 Ubuntu 14.04+cuda 7.0+caffe installation configuration

I need to change the details.

First, the installation of CUDNN

By CUDNN how many qaq.

Please be sure to choose the V4 version!

It was later used by cudnn-7.0-linux-x64-v4.0-prod.tgz .

In short, first download, then unzip, and then the following

1CD cuda/include2 sudo CP*.h/usr/local/cuda/include/3Cd.. /lib644 sudo CPlib*/usr/local/cuda/lib64/5cd/usr/local/cuda/lib64/6 sudo chmod+r libcudnn.so.4.0.77 sudo LN-SF libcudnn.so.4.0.7Libcudnn.so.48 sudo LN-SF libcudnn.so.4libcudnn.so9 sudoLdconfig

Environment variables are still the same, press 2015.08.17 Ubuntu 14.04+cuda 7.0+caffe installation configuration is sufficient

Second, OPENCV installation

Someone wrote opencv3.0 's script http://ouxinyu.github.io/Blogs/20151108001.html

Just Ann.

Third, modify the Makefile.config file

Reference http://m.blog.csdn.net/article/details?id=50179759

It seems that there are so many problems qaq

Well, that's a pretty simple thing to think about.

But I still stepped on a lot of pits Qaq

Ubuntu14.04+cuda7.5+cudnn7.0-v4+caffe Vomiting Blood Installation

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.