美文网首页
paddleocr报错:Hint: cudnn_dso_hand

paddleocr报错:Hint: cudnn_dso_hand

作者: park_one | 来源:发表于2023-04-24 14:59 被阅读0次

1. 安装cudatoolkit

先查看cuda版本:nvidia-smi

然后到 CUDA Toolkit 12.1 Update 1 Downloads | NVIDIA Developer 下载对应版本

wget https://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_455.23.05_linux.run

sudo sh  cuda_11.1.0_455.23.05_linux.run

accept 然后取消Driver,一路回车

配置环境变量:

vim ~/.bashrc

文末添加

export PATH=/usr/local/cuda-11.1/bin${PATH:+:${PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

source ~/.bashrc

然后切换cuda

ln -snf /usr/local/cuda-11.1 /usr/local/cuda

2. 下载cuDNN Archive | NVIDIA Developer,解压后将cudnn.h移到cuda路径的include中,将libcudnn*移动到cuda路径的lib64中:

sudo cp cuda/include/cudnn.h /usr/local/cuda/include/

sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64/

sudo chmod a+r /usr/local/cuda/include/cudnn.h

sudo chmod a+r /usr/local/cuda/lib64/libcudnn*

相关文章

  • git 常见报错解决

    git在push时,报错“hint: Updates were rejected because the tag ...

  • [40165]invalid weapp pagepath: h

    微信发送公众号模板消息报错:[40165]invalid weapp pagepath hint [O_BEXa0...

  • 2022-08-09-pip 安装出现问题

    在安装 pip install "paddleocr>=2.2" 时发现 AttributeError: 'Di...

  • github同步报错hint: Updates were rej

    今天进行把本地项目同步到github的时候提示: 本地是先创建的,github上的仓库是后创建的。 解决办法: 在...

  • 设置EditText的hint字体大小

    背景: EditText能设置hint的颜色,但是却不能设置hint的字体大小,导致hint的字体和text的字体...

  • hint

    hint 1 Make your own decisions慢慢看的人越来越多,得注意尽量避免个人的主观因素,以免...

  • give no hint of

    give no hint of hint n 暗示 提示 1.If she saw me out of corne...

  • BJDCTF2020-WEB-The mystery of ip

    登录发现有flag 和 hint两个页面 查看hint页面源码 X-Forwarded-For 有SSTI注入,...

  • 8.23 hint

    last operation 1. what is hint Hints are ways of the user...

  • 强制索引

    mysql常用的hint 对于经常使用oracle的朋友可能知道,oracle的hint功能种类很多,对于优化sq...

网友评论

      本文标题:paddleocr报错:Hint: cudnn_dso_hand

      本文链接:https://www.haomeiwen.com/subject/zumujdtx.html