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

Did you achieve the same accuracy as the original crnn? #5

Closed
melody-rain opened this issue Apr 12, 2017 · 8 comments
Closed

Did you achieve the same accuracy as the original crnn? #5

melody-rain opened this issue Apr 12, 2017 · 8 comments

Comments

@melody-rain
Copy link

Hi can you achieve the same accuracy as the original crnn? And what's your accuracy?

Thanks.

@meijieru
Copy link
Owner

The provided pretrained model is converted from the origin one, so it has the same accuracy.

@melody-rain
Copy link
Author

melody-rain commented Apr 12, 2017

What I mean is if I train a model from scratch with your code with the same data of original crnn, could I get the same accuracy?

Have you trained a model from scratch? thanks a lot.

@meijieru
Copy link
Owner

I haven't try to do this. However, the network architecture is the same. There may be some differences due to the strategy of training, but not big.

@liangshuang1993
Copy link

Hi, @meijieru Thanks for your work! I want to train this network from scratch. Currently I have generated about 10 million pictures using different fonts and backgrounds with different length. But the precision is not high enough.

This is my trainging log.(from a model I saved before)
Test loss: 2.592091, accuray: 0.514375
[0/1000][5100/14023] Loss: 1.407239
[0/1000][5200/14023] Loss: 1.422566
[0/1000][5300/14023] Loss: 1.398798
[0/1000][5400/14023] Loss: 1.394613
[0/1000][5500/14023] Loss: 1.404841

The loss can't go any lower. And there's seems like to be over-fitting too.
So can you give me any guide? Is the dataset big or variable enough? or should I use fixed-length picture to train?

Thanks a lot!!

@meijieru
Copy link
Owner

@liangshuang1993 Is it the same dataset trained for origin crnn model?

@liangshuang1993
Copy link

liangshuang1993 commented Apr 25, 2018

@meijieru Thanks for your reply.

Maybe I shouldn't comment under this issue. The answer is no, I used a dataset generated by myself. About 300 Chinese and English characters. The dataset has variable length.

So have you tried on Chinese character? Do you think a dataset contains about 10 million pictures is enough for 300 classes? Thanks!

@meijieru
Copy link
Owner

Don't try on chinese and other dataset. It depends on the dataset.

@liangshuang1993
Copy link

Ok, so do you have any idea which network should I use to train Chinese? Thanks

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