-
Notifications
You must be signed in to change notification settings - Fork 155
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
Get confidence score of CRNN to regularize the detection outputs of textBoxes. #41
Comments
We modified the CRNN codes to output the probability. |
@ahmedmazari-dhatim You can refer to the Equation. 14 in the given paper which describes the CTC to get the probability. There is a variable named logProb in "crnn/src/cpp/ctc.cpp", you can get the score by an "exp" operation. |
Hello @MhLiao , Thank you a lot for your answer. However, l'm using Pytorch version this is why l'm asking the question. l don"t have access from pytorch version of CRNN to in
l'm wondering if there is a way from the pytorch version to get the probabilities as you suggested . Any idea @MhLiao to get that ? in
Thank you again |
@ahmedmazari-dhatim I am sorry that I did not read the py-torch code. But I guess the py-torch code also utilize the CTC-wrap which is written in C++. |
Hi @MhLiao , We have only this class in pytorch CTCLoss() is :
|
Hello,
let me first thank you about these excellent articles : textboxes+CRNN.
In first page of textbox paper. It's mentionned the following : "we use the confidence scores of CRNN
to regularize the detection outputs of TextBoxes"
However, l get stuck at getting the probability of the sequence outputted by CRNN
from example :
--h-e--ll-oo- => 'hello' with a probability= 0.89
for instance
how can l get that ? l'm using the pytorch version.
in the code CTCLoss can't find these probabilities .
In
__init__.py
the CTC class is defined as follow :However l don't find where to print the output probabilities here.
The text was updated successfully, but these errors were encountered: