Skip to content
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

About accuracy in a sentences ? #4

Closed
NguyenThaiHoc1 opened this issue Oct 10, 2019 · 2 comments
Closed

About accuracy in a sentences ? #4

NguyenThaiHoc1 opened this issue Oct 10, 2019 · 2 comments

Comments

@NguyenThaiHoc1
Copy link

I used your code which you talked achieved is 0.84 (CER). But when I run yes CER is 0.81 ~ 0.84 but the sentence error rate is very low and appears overfitting on your model? You can expand my problem ???
Thank you for reading
Thai Hoc

@lamhoangtung
Copy link
Owner

Hi, BiLTSM with CTC with many epochs can overfit easily. In order to train a more general OCR:

  • Use as much as data as you can, apply image augmentation
  • Try to pretrained the model on a synthesis dataset and then fine tune it on your smaller real dataset.

Hope this could help ;)

@lamhoangtung
Copy link
Owner

@NguyenThaiHoc1 May I close this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants