-
Notifications
You must be signed in to change notification settings - Fork 154
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
How to use SynthText for training? #6
Comments
@lufo816 use the maximum rectangle(xmin,ymin,xmax,ymax) as the bounding box |
@MhLiao Understood, thanks a lot! |
@MhLiao I am trying to use SynthText to fine tune the model. However, I am not sure how to preprocess the data such that it is suitable to use with TextBoxes. Specifically, I couldn't figure out the schema of data in lmdb files. Could you kindly point me at some relevant references? Thanks in advance. |
@vrbala The schema of data in lmdb files is similar to the SSD. You can use the scripts of SSD to generate the lmdb data. |
@MhLiao Thanks so much. |
@MhLiao Hi, the SynthText datas are in decimal form, should i use the round function to make them into integers? |
@HelloTobe yes. I used 800k images for training, 58750 images for validation. |
Thanks for your reply! |
@MhLiao Hi, thanks for your reply! Another problem is that some bounding boxes exceed image boundary(some coordinates are too large or negative), could you give me some adviece to solve this problem? By the way, i'm wondering how long you finish your training. |
@HelloTobe You can enable CUDA or cuDNN (GPU MODE) for quick result of training time |
@HelloTobe Have you solved the problem " bounding box exceeds image boundary." Thanks for help |
@github14343 I probably just clip the coordinate |
@HelloTobe Thanks! |
Text in SynthText is oriented and its label has 4 points, how to use these data for training?
The text was updated successfully, but these errors were encountered: