本文共 751 字,大约阅读时间需要 2 分钟。
import tensoflow as tftf.test.is_gpu_availabels()
出现以下问题:
Successfully opened dynamic library cudart64_100.dll
cublas64_100.dll'; dlerror: cublas64_100.dll not found Could not load dynamic library 'cufft64_100.dll'; dlerror: cufft64_100.dll not found Could not load dynamic library 'curand64_100.dll'; dlerror: curand64_100.dll not found Could not load dynamic library 'cusolver64_100.dll'; dlerror: cusolver64_100.dll not found Could not load dynamic library 'cusparse64_100.dll'; dlerror: cusparse64_100.dll not found Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found以上问题是cuda和cudnn版本和tf适配为题
可以在
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin
把缺少dll 的10改成100即可。
转载地址:http://aevli.baihongyu.com/