Could not load dynamic library ‘cudart64_110.dll‘; dlerror: cudart64_110.dll not found

 测试tensorflow-gpu是否安装成功:

import tensorflow as tf
print(tf.config.list_physical_devices(device_type='GPU'))

如果你是严格按照官网给的安装版本安装,还是出现上述问题报错

解决方式:你可以尝试重启电脑!!(亲测有效)

成功:

Could not load dynamic library ‘cudart64_110.dll‘; dlerror: cudart64_110.dll not found_第1张图片

 官网安装教程:

官网: Build from source on Windows  |  TensorFlow (google.cn)

 python、cuda和cudnn对应的版本

Could not load dynamic library ‘cudart64_110.dll‘; dlerror: cudart64_110.dll not found_第2张图片

 Could not load dynamic library ‘cudart64_110.dll‘; dlerror: cudart64_110.dll not found_第3张图片

有用的话点个赞哦 !

你可能感兴趣的:(机器学习,tensorflow,人工智能,python)