Hello,

I am running below command and am getting deserialize header failed error.

*C:\Program Files\Tesseract-OCR>lstmtraining 
--model_output="D:\Test9\output" 
--train_listfile="D:\Test9\eng.training_files.txt" 
--traineddata="D:\Test9\eng\eng.traineddata" --net_spec "[1,36,0,1 Ct3,3,16 
Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c112]" --debug_interval -1 
-max_iterations 2000*
Num outputs,weights in Series:
  1,36,0,1:1, 0
Num 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
  Lfx256:256, 361472
  Fc112:112, 28784
Total weights = 532688
Built network:[1,36,0,1[C3,3Ft16]Mp3,3Lfys48Lfx96Lrx96Lfx256Fc112] from 
request [1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c112]
Training parameters:
  Debug interval = -1, weights = 0.1, learning rate = 0.001, momentum=0.5
null char=111
Deserialize header failed: Dim1.lstmf
Load of page 0 failed!
Deserialize header failed: Dim2.lstmf
Deserialize header failed: Dim3.lstmf
Deserialize header failed: Dim4.lstmf
Deserialize header failed: Dim5.lstmf
Load of images failed!!

My eng.training_files.txt contains paths of all .lstmf files.
D:\Test9\Dim1.lstmf
D:\Test9\Dim2.lstmf
D:\Test9\Dim3.lstmf
D:\Test9\Dim4.lstmf
D:\Test9\Dim5.lstmf

Can anyone please help?

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/896fbee2-4d06-492e-9539-d9a207ea3a46n%40googlegroups.com.

Reply via email to