Replies: 1 comment 3 replies
-
i figured it out |
Beta Was this translation helpful? Give feedback.
3 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.
-
I have converted en_infer recognition model into onnx then tensorrt.
The inference step runs OK but how do i post-process the output layer (softmax) into actual result ?, given the en_dict.
Total character in en_dict (from /ppocr/utils/dict/) is 63 while the softmax output have the shape of N x 12 x 97.
How do i post-process this, is there any post process code in python i can reference to ?
And also, any pre process that affect the size ?
The model that i downloaded:
Model link: https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/configs/rec/PP-OCRv3/en_PP-OCRv3_rec.yml
Thanks Paddle team.
Beta Was this translation helpful? Give feedback.
All reactions