Segmentation fault when trying to fine-tune.

96 views
Skip to first unread message

William Thompson

unread,
Jul 15, 2021, 1:54:59 AM7/15/21
to tesseract-ocr
Hello, here is the version of Tesseract I am using tesseract 5.0.0-alpha-20210401 with leptonica-1.80.0. I am trying to fine-tune the eng.traineddata model from tessdata_best. However, I am getting a segmentation fault. Please assist. Here is the command I ran and here is the output:

(base) MacBook-Pro-3:tesstrain wjtho$ lstmtraining   --debug_interval 0   --traineddata data/foo/eng.traineddata  --old_traineddata data/foo/eng.traineddata   --continue_from data/eng-lstm/eng.lstm   --learning_rate 0.0001   --model_output data/foo/checkpoints/foo   --train_listfile data/foo/list.train   --eval_listfile data/foo/list.eval   --max_iterations 10000   --target_error_rate 0.01

Loaded file data/foo/checkpoints/foo_checkpoint, unpacking...

Code range changed from 32 to 111!

Must supply the old traineddata for code conversion!

Loaded file data/eng-lstm/eng.lstm, unpacking...

Warning: LSTMTrainer deserialized an LSTMRecognizer!

Code range changed from 111 to 111!

Num (Extended) outputs,weights in Series:

  1,36,0,1:1, 0

Num (Extended) outputs,weights in Series:

  C3,3:9, 0

  Ft16:16, 160

Total weights = 160

  [C3,3Ft16]:16, 160

  Mp3,3:16, 0

  TxyLfys48:48, 12480

  Lfx96:96, 55680

  RxLrx96:96, 74112

  Lfx192:192, 221952

  Fc111:111, 0

Total weights = 364384

Previous null char=110 mapped to 110

Continuing from data/eng-lstm/eng.lstm

Segmentation fault: 11

Reply all
Reply to author
Forward
0 new messages