Skip to content

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

@wenxinmomo

Description

@wenxinmomo

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions