PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

使用CPU识别正常,使用gpu不报错但识别率为0

Open lyhliu1 opened this issue 1 year ago • 7 comments

请提供下述完整信息以便快速定位问题: 使用官方例子,CPU模式能正常识别出文字,使用gpu模式没有报错,但文字识别率为零,无法识别。

  • 系统环境/win10,cuda11.7,cuddn8.9.4:显卡:960m
  • 版本号/Version:Paddle:gpu版本2.5 PaddleOCR: 2.7,系统自动使用pp—ocrv4模型
  • 运行指令/Command Code:
  • img="./data/11.jpg"
  • res=OCR.ocr(img,cls=trur)
  • print(res)
  • 完整报错/Complete Error Message:
  • ppocr debug:rec_res num:0,elapsed:0.0

我们提供了AceIssueSolver来帮助你解答问题,你是否想要它来解答:yes

请尽量不要包含图片在问题中/Please try to not include the image in the issue.

lyhliu1 avatar Nov 05 '23 00:11 lyhliu1