版本是:python3.9.18+tensorflow2.7+keras2.7+cuda11.5.2+cudnn8.3.2,请问如何修改,非常感谢。
很明显,是版本依赖问题,检查一下你的代码来源,确定是那个版本的TensorFlow
你用的什么平台运行的呀!
【相关推荐】
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