Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

昇腾NPU上运行text_detector速度慢 #1497

Open
3 tasks done
wenxinmomo opened this issue Dec 3, 2024 · 1 comment
Open
3 tasks done

昇腾NPU上运行text_detector速度慢 #1497

wenxinmomo opened this issue Dec 3, 2024 · 1 comment
Assignees

Comments

@wenxinmomo
Copy link

wenxinmomo commented Dec 3, 2024

🔎 Search before asking

🐛 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函数

@jzhang533 jzhang533 transferred this issue from PaddlePaddle/PaddleOCR Dec 4, 2024
@wenxinmomo
Copy link
Author

有人员支持嘛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants