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

The training results are good, but the test results are very poor. #26

Open
abner2015 opened this issue Mar 14, 2019 · 2 comments
Open

Comments

@abner2015
Copy link

when i use my dataset train the ocr model , the training results are good, but the test results are very poor. i do not need segment the roi . the train data is number .how can i improve the test result.
3

@ThomasDelteil
Copy link
Owner

It looks like you are experiencing overfitting. https://en.wikipedia.org/wiki/Overfitting
A few ideas to overcome this and regularization to your model:

  • you can stop training when the validation loss start going up for N epochs
  • you can add more data augmentation on your training set
  • you can increase the size of your training set
  • you can add weight decay in your optimizer
  • you can add more dropout layer / tune the dropout values
  • you can use a different learning rate schedule
  • you can use more batch normalization layers

@samar-smida
Copy link

@ThomasDelteil
I am testing your project but I have an assertion error even though I put my email and password in the credentials.json .
In the registration form, they ask for the email and not the username.
I found this link in the project to have but it is not functional https://fki.tic.heia-fr.ch/DBs/iamDB/iLogin/index.php
please can you help me

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

3 participants