MichalBusta / E2E-MLT

E2E-MLT - an Unconstrained End-to-End Method for Multi-Language Scene Text
MIT License
290 stars 84 forks source link

train_ocr.py training details #73

Closed mohammedayub44 closed 3 years ago

mohammedayub44 commented 3 years ago

Hi, Thanks for the great work on this repo. It has saved a lot of my time. I'm planning to use your train_ocr.py script to see if I can either develop a OCR model from scratch or fine tune on my target domain.

1) For fine-tuning - where can I find this base model mentioned textspotter/tmp/DS_CVPR/backup2/ModelResNetSep2_25000.h5

2) For training from scratch - a) is it better to train region detection + ocr in parallel like your train.py script or separately train an OCR model and use it as starting point for train.py. any thoughts

b) If latter, can I use the output model of `train_ocr.py` as an input to `train.py` 's `--model` param ?

Any help appreciated, Thanks.