CUDNN Installation Note:
CUDNN installation is actually very simple, the key point is to be sure to install cuda corresponding to the CUDNN package, this machine installed cuda7.5 so the corresponding CUDNN for v5.1 This is very important, I am installing the wrong version, resulting in the compilation of Caffe is always wrong.
CUDNN Installation steps:
1. Download the CUDNN installation package from the official website.
2, the installation package decompression, the installation package will be placed in the home path, and under the current path to extract, extracted folder named Cuda.
3. Edit the following code on the terminal:
$ cd cuda/include
$ sudo cp *.h/usr/local/cuda/include/ (note here is your own Cuda installation address, copy *.h file)
4. Close the terminal and reopen it (you can also return to the first directory)
$ cd cuda/lib64
$ sudo cp libcudnn*/usr/local/cuda/lib64/
5. Terminal operation:
$ sudo chmod a+r/usr/local/cuda/include/cudnn.h/usr/local/cuda/lib64/libcudnn*