tesnorflow:Could not load dynamic library ‘cudart64_101.dll‘

That is, the gpu version of tensorflow cannot find a dll file of cuda and cannot perform GPU acceleration

The first possibility: cuda version does not match tensorflow version

It can be seen that the version of cuda10.1 required by cuda, so the version of cuda10.2 cannot be used.
You can try to change the dll file name;
it is best to download the cuda10.1 version;
tensorflow and cuda matching information:
https://tensorflow.google.cn/install/source
Insert picture description here

The second possibility: cuda version matches, tensorflow cannot find the dll file

Then you need to confirm whether the dll file is in the corresponding path:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin

Insert picture description here
If it exists,
add this path to the system environment variables and try again.
Insert picture description here

Guess you like

Origin blog.csdn.net/sazass/article/details/110453748