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

Hyperparameters when training on SynthText800? #39

Open
LizzieOneDay opened this issue Dec 18, 2019 · 3 comments
Open

Hyperparameters when training on SynthText800? #39

LizzieOneDay opened this issue Dec 18, 2019 · 3 comments

Comments

@LizzieOneDay
Copy link

Hello, when you train on SynthText800 from pretrained model Resnet-50, what's your hyperparamets setting?

@Pay20Y
Copy link
Owner

Pay20Y commented Jan 11, 2020

I maybe refer the paper textspotter. I'm sorry I forgot a little.

@LizzieOneDay
Copy link
Author

I maybe refer the paper textspotter. I'm sorry I forgot a little.

Thank you very much, I'll refer to this paper.

@LizzieOneDay
Copy link
Author

LizzieOneDay commented Jan 15, 2020

I maybe refer the paper textspotter. I'm sorry I forgot a little.

Hello, In your code, the train of recognition branch. It seems that the training is still end-to-end. The first line of compute gradients should be uncomment, and the second line of compute gradients should be comment?
`
if FLAGS.train_stage == 1:

            print("Train recognition branch only!")

            recog_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, scope='recog')

            #grads = opt.compute_gradients(total_loss, recog_vars)

            grads = opt.compute_gradients(total_loss)`

when I use "grads = opt.compute_gradients(total_loss, recog_vars)", the training time is about 26s per step, while when I train the network end-to-end, the training time is just 14s per step. Do you know the reason? Thank 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

2 participants