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

Low loss but low accuracy #64

Open
ThaiLe189 opened this issue Dec 22, 2020 · 3 comments
Open

Low loss but low accuracy #64

ThaiLe189 opened this issue Dec 22, 2020 · 3 comments

Comments

@ThaiLe189
Copy link

ThaiLe189 commented Dec 22, 2020

Hi @Pay20Y
I was training model with 200000 data like this:
Img:
#041220200232266414678

label:
2,3,48,3,48,24,3,25,quyền
51,5,81,4,81,22,51,23,hạn
84,5,110,4,111,19,84,20,của

Loss:
Screenshot from 2020-12-22 17-11-38

but while i test, results like:
img:
#041220200232266414678

recog:
-2,6,45,5,45,24,-1,24,u)
47,7,81,7,80,21,46,21,1.
73,7,123,7,122,22,72,21,ni

What should I do to improve my model?

Thank you very much

@Pay20Y
Copy link
Owner

Pay20Y commented Dec 29, 2020

Hi, the recognition branch may need more data, you can try to pretrain the model on Synthtetic datasets first.

@ThaiLe189
Copy link
Author

I have train it with 200000 images, loss is very low but while i tested it with the trained image, it not correct.
Is my input image too small?
Thank you!

@vanqm
Copy link

vanqm commented Jan 16, 2021

Pre-Trained model is trained with Synthtetic datasets, an English dataset.
If you want to apply to Vietnamese language, I think you should:

  • Not use pre-trained model. You must train the model from beginning with your own dataset (Vietnamese)
  • Or you can apply transfer-learning technique with your dataset

Hope it helpful with you.

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