-
运行paddleocr --image_dir E:\PaddleOCR\img1.pdf --use_angle_cls true --use_gpu true的时候报错,这是找不到cudnn64_8.dll? RuntimeError: (PreconditionNotMet) The third-party dynamic library (cudnn64_8.dll) that Paddle depends on is not configured correctly. (error code is 126)
———————————————————————————— (base) (venv) PS E:\PaddleOCR> pip list albumentations 1.3.1 |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
解决了,是我没装cudnn,把cudnn压缩包里bin目录下的cudnn64_8.dll等7个文件解压到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin里就好了 |
Beta Was this translation helpful? Give feedback.
-
在实际应用过程中可能受多种影响缺的不只单个动态链接库,可以看下这个https://blog.csdn.net/shuaishishi/article/details/136619380?spm=1001.2014.3001.5501 |
Beta Was this translation helpful? Give feedback.
-
现在下载下来的v9版本后缀都是_9,把cudnn64_9.dll复制一份名称改成cudnn64_8.dll也能用。 |
Beta Was this translation helpful? Give feedback.
-
paddlepaddle-gpu目前(2024.6)应该只支持到cudnn v8的大版本。但是官方下载下来的都是v9了,所以会报该错。去cudnn archive下v8的就好。 |
Beta Was this translation helpful? Give feedback.
-
为啥我下载下来的后缀时_8,也粘贴进去了,为啥还是不行,我干 |
Beta Was this translation helpful? Give feedback.
现在下载下来的v9版本后缀都是_9,把cudnn64_9.dll复制一份名称改成cudnn64_8.dll也能用。