tesseract-ocr / tesstrain

Train Tesseract LSTM with make
Apache License 2.0
630 stars 184 forks source link

how to apply Transfer Learning while training.So basically i want to continue training on my custom data with eng.traineddata as base model. how can i do so please help i am a new user . #253

Closed KnitVikas closed 3 years ago

KnitVikas commented 3 years ago

Thanks in advance for helping,

kba commented 3 years ago

Have a look at https://github.com/tesseract-ocr/tesstrain/wiki/GT4HistOCR

bertsky commented 3 years ago

TL in the finetuning regime is supported by tesstrain out of the box: simply set START_MODEL=eng.

If instead you want to fixate layers and add more heads, you need to call lstmtraining yourself and read up on its documentation.