-
Notifications
You must be signed in to change notification settings - Fork 153
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
using the ASRN scheme only #31
Comments
Please make sure your code is up-to-date and PyTorch version is 0.3. The best way to check out bugs is running our demo. It's possible to use ASRN only. Just drop MORN in |
Yes, I used Pytorch ver 0.4, so I must change some codes from Tensor to tuple of integer. One more question though, can I ask why did you use CrossEntropyLoss, instead of CTCLoss like meijieru's? I couldn't catch the reason in the paper.. Thank you. |
We use a decoder based on the attention mechanism. There is a one-to-one correspondence between the predictions and labels in attention mechanism, while in CTC Loss, the length of predictions is not the same with that of the corresponding labels. That's why we use the Cross Entropy Loss. You're welcome! |
Hi @Canjie-Luo,
thank you for this repo and paper. I am working on text recognition on my custom dataset that consist of letter-only words and letter-and-number words, with length of words of maximum 50 characters. So far using meijieru's repo, the result doesn't seem very ok, as the accuracy just reach 40%.
So, I apply MORAN, but got this error:
do you have an idea how to fix it?
another question, do you think it is feasible to do ASRN only?
Thank you.
The text was updated successfully, but these errors were encountered: