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

Specify epochs? #57

Open
daniiki opened this issue Aug 12, 2020 · 3 comments
Open

Specify epochs? #57

daniiki opened this issue Aug 12, 2020 · 3 comments

Comments

@daniiki
Copy link

daniiki commented Aug 12, 2020

Hi, where can you specify the number of epochs for training? Thanks!

@Pay20Y
Copy link
Owner

Pay20Y commented Aug 16, 2020

Sorry, the epochs can not be specified directlly in this code, please calculate the corresponding number of iterations.

@daniiki
Copy link
Author

daniiki commented Aug 25, 2020

Thanks for the fast answer. Can you tell me how to compute the recognition accuracy / precision?
I computed the detection accuracy like this:

d_correct_prediction = tf.equal(tf.argmax(f_geometry, 1), tf.argmax(input_geo_maps, 1))
detection_accuracy = tf.reduce_mean(tf.cast(d_correct_prediction, tf.float32))

but the calculation of the recognition accuracy seems to be more complicated, since input_transcription is a sparse tensor.

@Pay20Y
Copy link
Owner

Pay20Y commented Aug 31, 2020

Hi, you can modify the data generator and make it yield another string of label. I recommend that you refer to the ICDAR official evaluation script.

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