TensorFlow on Windows: “Couldn't open CUDA library cudnn64_5.dll”

后端 未结 12 2090
渐次进展
渐次进展 2021-01-01 17:35

Tensorflow just released windows support. I installed the gpu version and CUDA 8.0 and python 3.5. However, after I import the tensorflow I got the following error:

12条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-01 18:02

    It took me a lot as for Dan Bricklin.
    I finally achieved it taking the same stpes but in order.

    1. Removed the previous tensorflow from my conda environment.

    2. Installed CUDA v9.1 for Windows 8 (standar installation with the default version of VisualStudio) and added "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1" to the path.

    3. Downloaded and extracted cudnn-9.1-windows-7-x64 , moved it into "Program files" and added it to the path "C:\Program Files\cuda\bin".

    4. Installed tensorflow with pip in my conda environment "pip install --ignore-installed --upgrade tensorflow".

提交回复
热议问题