-
Notifications
You must be signed in to change notification settings - Fork 94
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
train for long text line detection and recognition #69
Comments
@JimmyJuan Yes, you need to change the mentioned setting and retrain it. If you do not have enough training data, you'd better use SynthText for pretraining. |
@MhLiao Thank you. I'm training a new pre-trained model using only SynthText data. But the loss at the beginning was as low as about 0.6, and then went up to 1.5, and gradually decrease. Is that normal? And for the detection branch, the scale of the characters was different from my real data, is the SynthText pretraining still effective? |
@JimmyJuan The loss should be normal if it gradually decreases. It goes up to a high value because the positive proposals increase while there are almost no positive proposals at the beginning. I think that pretraining may be not as effective as expected, but it should not harm the training. |
@MhLiao Thanks for the replying. |
Hello @MhLiao , my scenario is mostly long text line included. Should I retrain the model by changing the parameter "MODEL.ROI_MASK_HEAD.POOLER_RESOLUTION_W" from 64 to wider, say 128 or 196 (with the change of MODEL.ROI_MASK_HEAD.RESOLUTION_W from 128 to 256/384).
If so, should I train a new model from scratch with new setting?
How to do it ?
Thank you.
The text was updated successfully, but these errors were encountered: