问题描述:
ImportError: Could not find ‘cudnn64_7.dll’. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Note that installing cuDNN is a separate step from installing CUDA, and this DLL is often found in a different directory from the CUDA DLLs. You may install the necessary DLL by downloading cuDNN 7 from this URL: https://developer.nvidia.com/cudnn
解决方案:
说明还是缺少东西。
注意自己所对应的版本,本人是Python3.7.4.cuda10.0.
对应官网下载自己的版本。
活该,早点老老实实用CPU版本的,嘛问题都没有,然而我们对技术的追求就要做到极致,继续搞环境。
继续下载 cuDNN7,如果之前安装的是 CUDA9,那就要下载与之对应的cuDNN版本,不然还是无法使用,我这里下载的是官方配套的7.0.5版本。
这个地址可能需要注册登录NVIDIA。
https://developer.nvidia.com/rdp/cudnn-download#a-collapse705-9
下面的