How can I get the sequence length of output for text recognition task? #16150
Unanswered
Thangtran27
asked this question in
Q&A
Replies: 1 comment
-
PaddleOCR's paddle-to-onnx conversion functionality internally relies on the Paddle2ONNX toolkit. Currently, PaddleOCR provides a simple CLI command for model conversion, without many advanced settings. For more advanced requirements, such as sepecifying the dynamic dimension, please use the Paddle2ONNX tool to perform the conversion directly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for great work. I use your pretrained

PP-OCRv5_mobile_rec
for my custome dataset. Then I convert model toonnx
file. How can I get the output's sequence length with input having dynamics shape(batch_size, 3, 48, -1)
and output shape(batch_size, -1, 231)
? Image below shows the model's input and output. I look forward to hearing from you.My config file:
Beta Was this translation helpful? Give feedback.
All reactions