-
Notifications
You must be signed in to change notification settings - Fork 237
update text detection model from DB to PPOCRv3DB #180
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
Conversation
Friendly reminder. |
b73533d
to
218d282
Compare
benchmark/README.md
Outdated
254.78 256.13 245.60 [640, 480] DB with ['text_detection_DB_IC15_resnet18_2021sep.onnx'] | ||
254.98 255.20 245.60 [640, 480] DB with ['text_detection_DB_TD500_resnet18_2021sep.onnx'] | ||
427.53 428.67 425.63 [640, 480] PPOCRv3DB with ['text_detection_ch_ppocrv3_2023may.onnx'] | ||
427.79 429.28 425.63 [640, 480] PPOCRv3DB with ['text_detection_en_ppocrv3_2023may.onnx'] | ||
414.07 429.46 387.26 [640, 480] PPOCRv3DB with ['text_detection_ch_ppocrv3_2023may_int8.onnx'] | ||
406.10 407.83 383.41 [640, 480] PPOCRv3DB with ['text_detection_en_ppocrv3_2023may_int8.onnx'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the backends are faster with the new model, only FP16 is slower than before on CUDA.
I propose to:
|
Hardswish has been supported for CANN backend. Could you update benchmark results on Ascend NPUs? |
[ WARN:0@0.397] global net_cann.cpp:120 initBackend DNN/CANN: layer (name=onnx_node!p2o.HardSigmoid.0, type=HardSigmoid) is not supported by CANN backend. Going back to default backend on CPU target PPOCR detection v4 has not release English version and slim version. So still use PPOCRv3 |
42eacb6
to
620feab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
This PR is follow #158
This PR should be merged after 4.8.0 released
TODO list: