-
Notifications
You must be signed in to change notification settings - Fork 211
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
can this algorithm deal with dynamic length characters? #15
Comments
maybe the width of the image is greater than the width was given when the model was train, and the added characters are cropped off |
Hey guys Have any ideas how can we apply this network on images with different sizes. I have a data set which varies in image Length. Any one has any ideas please share. Thanks |
probably we can find the max dimensions in your dataset and accordingly pad the smaller images with zeros to accommodate for the big size. |
Hi anubhavrohatgi Thanks for the quick reply. By the way i am trying to use IAM offline Handwritten data set for this matter. You have made a good point here. There is a good chance that padding smaller images would help in this case. If you have any other ideas i would be happy to hear them. I will try the padding and if it works fine ill update you guys about it. |
because this model cannot deal with OOV, you need to add something like '7+0 * 9+7' to fine tuning your model. Regarding to dynamic length image, I have not fixed it yet, any help would be highly appreciated! |
I run this code successfully, including both train set and validation set. Then I changed one of the validation image to add 2 characters, previously it is '7+0 * 9', I changed it to '7+0 * 9+7'. But it was recognized as '7+(0 * 9)'. The '+7' font style is same with it in this image, I copied to add it, so it is not font style issue. I attached the image I made. Please take a look. Can you tell me why?
The text was updated successfully, but these errors were encountered: