tesseract: compute ctc target failed

Environment

  • Tesseract Version: 4.0.1
  • Commit Number:
  • Platform: ubuntu 14

Current Behavior:

Expected Behavior:

Suggested Fix:

surasystem@surasystem:~$ lstmtraining --traineddata data/tamtrain/tamtrain.traineddata --old_traineddata tesseract/tessdata/tam.traineddata --continue_from data/tam/tam.lstm --net_spec ‘[Lfx256 O1c111]’ --model_output data/checkpoints --learning_rate 20e-4 --train_listfile data/list.train --eval_listfile data/list.eval --max_iterations 3000 Loaded file data/tam/tam.lstm, unpacking… Warning: LSTMTrainer deserialized an LSTMRecognizer! Code range changed from 99 to 104! 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 Lfys48:48, 12480 Lfx96:96, 55680 Lrx96:96, 74112 Lfx192:192, 221952 Fc104:104, 20072 Total weights = 384456 Previous null char=2 mapped to 103 Continuing from data/tam/tam.lstm Loaded 54/54 pages (1-54) of document data/ground-truth/out8.lstmf Loaded 57/57 pages (1-57) of document data/ground-truth/tam.TAMu_Kadambri.exp0.lstmf Loaded 20/20 pages (1-20) of document data/ground-truth/tam.Impact_Condensed.exp0.lstmf Loaded 8/8 pages (1-8) of document data/ground-truth/out5.lstmf Loaded 28/28 pages (1-28) of document data/ground-truth/out2.lstmf Loaded 57/57 pages (1-57) of document data/ground-truth/out3.lstmf Loaded 56/56 pages (1-56) of document data/ground-truth/out4.lstmf Loaded 55/55 pages (1-55) of document data/ground-truth/out9.lstmf Loaded 58/58 pages (1-58) of document data/ground-truth/out6.lstmf Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed! Compute CTC targets failed!

what i want to do to overcome this issue…

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 42 (2 by maintainers)

Most upvoted comments

Anyway, in all my testing, didn’t get the error Compute CTC targets failed!