Parsing CRNN ONNX model #2016
Unanswered
raushani2v
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi,
I am trying to parse the output of the CRNN onnx model. The output that I get from the onnx model is a list of length 1. The shape of the element of the list is (1, 26, 11); where 1 is batch size, 26 is sequence length (i.e, maximum number of characters in a sequence), and I guess 11 is the num_classes+1 because I have used a dict of length 10. i.e, dict='0123456789'
My Question is what does this 11th value(logits) represent ? Is it the probability of EOS or a separator or something else?
I tried to parse using following code:
max_indices returns [10, 10, 10, 9, 9, 10, 10, 10, 9, 9, 10, 10, 10, 10, 8, 10, 10, 10, 10, 4, 4, 10, 10, 10, 10, 10] for ground truth '9984'
What does this index 10 mean?
How can I get the result as '9984' from the above max_indices list?
Beta Was this translation helpful? Give feedback.
All reactions