PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

use_gpu=True不报错,也没有反应,但是使用cpu就可以识别

Open wangxun6 opened this issue 1 year ago • 2 comments

请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem

  • 系统环境/System Environment:win10
  • 版本号/Version:Paddle:paddlepaddle-gpu 2.5.1 PaddleOCR:paddleocr2.6.1.3
  • 运行指令/Command Code:检测扫描形成的pdf另存为txt文本文档
  • 完整报错/Complete Error Message:

目前就是我在调paddleocr时, ocr = PaddleOCR(use_angle_cls=True, lang="ch", use_gpu=False, show_log=False),程序可以识别出来文本内容,并转存为txt文件。 但是 ocr = PaddleOCR(use_angle_cls=True, lang="ch", use_gpu=True, show_log=False)时,程序就无输出。 我的显卡是NVIDIA RTX A5000

wangxun6 avatar Sep 05 '23 00:09 wangxun6

我也遇到了同样的问题,CPU可以正常输出,切换use_gpu=true后,没有任何识别结果,只是创建了结果文件夹。 我看了代码发现是版面识别后,所有box的confidence都是0或接近于0,导致版面识别的结果输出为空,从而没有任何后续识别过程导致。 请问您解决了吗?

HengeLiu avatar Sep 18 '23 09:09 HengeLiu

我也是同样的问题,gtx750

liwenli233 avatar May 06 '24 05:05 liwenli233