Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: N

Posted AI浩

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: N相关的知识,希望对你有一定的参考价值。

问题描述

Begin to resume from the last checkpoint.
Loading checkpoint from out/total3d/20110611514267/model_best.pth.
Warning: Could not find epoch in checkpoint!
Warning: Could not find min_loss in checkpoint!
Warning: Could not find step in checkpoint!
set() subnet missed.
Checkpoint out/total3d/20110611514267/model_best.pth resumed.
----------------------------------------------------------------------------------------------------
Loading data.
Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: No such file or directory

原因

没有安装cudnn,或者没有配置cudnn。

解决方法

执行命令:

sudo apt install nvidia-cudnn

以上是关于Could not load library libcudnn_cnn_infer.so.8. Error: libcuda.so: cannot open shared object file: N的主要内容,如果未能解决你的问题,请参考以下文章

转emulator: ERROR: Could not load OpenGLES emulation library: lib64OpenglRender.so

dyld: could not load inserted library '/Developer/usr/lib/libBacktraceRecording.dylib' becau

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

解决Could not load dynamic library ‘cudnn64_8.dll‘; dlerror: cudnn64_8.dll not found问题

OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'l

Bug解决Could not load dynamic library ‘cudart64_110.dll‘; dlerror: cudart64_110.dll