PaddleCustomDevice icon indicating copy to clipboard operation
PaddleCustomDevice copied to clipboard

昇腾NPU上运行text_detector速度慢

Open wenxinmomo opened this issue 1 year ago • 1 comments

🔎 Search before asking

  • [x] I have searched the PaddleOCR Docs and found no similar bug report.
  • [x] #1518
  • [X] I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

在ARM架构,910B的环境下。 执行PaddleOCR.text_detector(),速度比CPU还慢。 CPU一张图片大概0.5s NPU一张图片,2s-1s左右

已经使用环境变量: export FLAGS_npu_jit_compile=0

请问这种情况下,text_detector如何进行加速。

注:text_recognizer很快。

🏃‍♂️ Environment (运行环境)

CPU:ARM NPU:910B CANN:8.0.RC2

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

使用PaddleOCR中的text_detector函数

wenxinmomo avatar Dec 03 '24 10:12 wenxinmomo

有人员支持嘛

wenxinmomo avatar Dec 06 '24 01:12 wenxinmomo