PaddleCustomDevice
PaddleCustomDevice copied to clipboard
昇腾NPU上运行text_detector速度慢
🔎 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函数
有人员支持嘛