lstmtraining creates an unuseable .traineddata file

12 views
Skip to first unread message

Amory Kisch

unread,
Jan 29, 2020, 12:53:25 AM1/29/20
to tesseract-ocr
I followed the instructions for Fine Tuning in the "TrainingTesseract 4.00" tutorial. The first time I did this process, it worked fine; I ended up with a new model that improved performance. However, whenever I have subsequently tried to train a new model, after running through the process I get "Error opening data file". I have tried this several times with the same result. Is there a way I can find out what is causing this error? Does it have something to do with the training true text? Should I start over with a fresh install of Tesseract? I'd appreciate any ideas.

Adam Funk

unread,
Jan 29, 2020, 8:23:30 AM1/29/20
to tesser...@googlegroups.com
I've had similar problems and never been able to figure this out.
Sometimes the *.traineddata file is corrupt, and sometimes if I let
lstmtraining run further, I get one that isn't.
Reply all
Reply to author
Forward
0 new messages