tesseract-ocr / tesstrain

Train Tesseract LSTM with make
Apache License 2.0
626 stars 180 forks source link

finetuning #46

Closed soldierofhell closed 5 years ago

soldierofhell commented 5 years ago

Hi,

What is the status of finetuning? Could you provide an example in README?

I've downloaded eng.traineddata from https://github.com/tesseract-ocr/tessdata_best, put it into data/eng/eng.traineddata directory and set START_MODEL=eng in Makefile.

But this gives me the following error in make training

!intmode:Error:Assert failed:in file weightmatrix.cpp, line 244 Makefile:131: recipe for target 'data/checkpoints/foo_checkpoint' failed

soldierofhell commented 5 years ago

Sorry, I haven't read the Makefile carefully enough. Of course there's make tesseract-langs which downloads eng.traineddata. One has to change TESSDATA_REPO to _best though.