-
Notifications
You must be signed in to change notification settings - Fork 8
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
Question: I need help for training my custom dataset #25
Comments
Hi @kerberosargos |
Thank you for your reply. But I can not understand "how to create json structure". Below json structure is true? |
The json structure you provide is correct.
|
Thank you very much for your support. |
Hello again. I have created two json files according to iiit5k dataset json files structure as following textrecoq_train.json
textrecog_test.json
Train Data Len: 1041 But I can not understand how to train those file by using mmocr for your model? Thank you in advance for you support. |
Hello again, I have changed "maerec_s_union14m.py" files code as following
After I have put my jsons and images files to as folowing folder path Train command like this
Command result is
After train I have tested epoch_1.pth weigth by using mmocr. Result is as following :( Thank you in advance for your help. |
Hi @kerberosargos |
You are welcome. I thank you for your support. I would like to ask a question more? 1 epoch is normal proccessing or not? I will try to train 10K image. Thank you again. |
You can train longer. E.g. 30 epochs for 10K image. |
Hello again. I would like to ask one more question for understanding training process clearly. I have detected my own training images by using TextSnake pretrained model. Images results are as following. json file of those images is as following
So my question is about "images and json file is correct for training?" Thank you in advance for your support. |
Hello firstly thank you.
I am using mmocr. I have create "iiit5k" by using mmocr's as following command
python tools/dataset_converters/prepare_dataset.py IIIT5K --task textrecog --overwrite-cfg
I have created cropped image by using textsnake model as following images
My question is "Can I train your model with those type images as a sentences? "
My mmocr iiit5k's textrecog_train.json file as following
The text was updated successfully, but these errors were encountered: