1 问题描述
ImportError: Could not find 'cudart64_100.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Download and install CUDA 10.0 from this URL: https://developer.nvidia.com/cuda-90-download-archive
因为这个错误,所以,我选择重新安装CUDA10.0+cuDNN10.0。
出现这个错误的原因是tensorflow和CUDA不够匹配,而CUDA版本过高就是原因。
2 详细步骤
这篇文章https://blog.csdn.net/m0_37605642/article/details/99100924和https://blog.csdn.net/m0_37605642/article/details/98854753写的很好,我就不单独写了。
安装完CUDA后,将下载的cuDNN中的对应文件放置在CUDA里面。