TensorFlow CUDNN Common CUDNN Error Resolution

Source: Internet
Author: User


When you execute TensorFlow code with Spyder, "Kernel died,restarting" is displayed each time. Find out why the terminal window has the following error:Loaded Runtime cudnn library:5005 (Compatibility version 5000) but source is compiled with 5103 (compatibility vers Ion 5100). 1. According to the prompts, should be when the CUDNN version of the problem, itself installed when CUDA7.5, if the original installation CUDNN, you need to first copy several files deleted: CD/USR/LOCAL/CUDA/CD include Sud       o rm cudnn.h cd lib64 sudo rm libcudnn* You do not need to perform this step if CUDNN has not been installed.       2. Then download the latest version of the CUDNN, pay attention to the latest version, I used the cuda7.5, first installed CUDNN v5.0, found or not, and then installed the v5.1 on the good. Login to nvidia website to download: Https://developer.nvidia.com/rdp/cudnn-download The latest version is: Cudnn v5.1 Library for Linux
3. After downloading, use the following command to extract and copy to Cuda OK: tar-zxf cudnn-7.5-linux-x64-v5.1-prod.tgz cd cuda sudo cp lib64/*/usr/l Ocal/cuda/lib64/sudo CP include/cudnn.h/usr/local/cuda/include/

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.