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

paddle2onnx 将PaddleOCR.ch_PP-OCRv3_xx进行模型转换之后,发现识别时只有头一个字 #423

Open
xpston008 opened this issue Oct 11, 2022 · 2 comments

Comments

@xpston008
Copy link

paddle2onnx --model_dir /root/cls --model_filename inference.pdmodel --params_filename inference.pdiparams --save_file angle_net.onnx --enable_dev_version True --enable_onnx_checker True --enable_auto_update_opset True

textLine0
textScores[0]{0.000409618}
crnnTime0
textLine1
textScores[1]{0.000410198}
crnnTime1
textLine2
textScores[2]{0.000410197}
crnnTime2
textLine3
textScores[3]{0.000377099}
crnnTime3
textLine4
textScores[4]{0.000409945}
crnnTime4
textLine5
textScores[5]{0.000409742}
crnnTime5
=====End detect=====
FullDetectTime(602.030000ms)



b

请教这样的需要如何处理?

@benjaminwan
Copy link
Contributor

模型的输出数据维度坐标不一样。
如果是c语言
可以参考https://github.com/RapidAI/RapidOCR/tree/main/cpp/RapidOCRCPP/src

@xpston008
Copy link
Author

@benjaminwan 谢谢!!!

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