error in lstm training

420 views
Skip to first unread message

nick

unread,
Jun 2, 2018, 6:45:52 AM6/2/18
to tesseract-ocr
hi

i tried to finetune eng.traineddata. in lstm training raised this error :


lstmtraining 
--continue_from ./tesseract-4.0.0-beta.1.20180414/tessdata/eng.lstm 
--traineddata ./tesseract-4.0.0-beta.1.20180414/tessdata/eng.traineddata 
--max_iterations 400 
--debug_interval 0 
--train_listfile ./finetune_train_eng/eng.training_files.txt 
--model_output ./finetune_trained_eng-from-eng/finetune
 
ERROR:

Loaded file ./tesseract-4.0.0-beta.1.20180414/tessdata/eng.lstm, unpacking...

Warning: LSTMTrainer deserialized an LSTMRecognizer!

Continuing from ./tesseract-4.0.0-beta.1.20180414/tessdata/eng.lstm

Loaded 72/72 pages (1-72) of document ./finetune_train_eng/eng.Arial.exp0.lstmf

!int_mode_:Error:Assert failed:in file weightmatrix.cpp, line 244

Segmentation fault (core dumped)




how could i solve it ?
thanks 

ShreeDevi Kumar

unread,
Jun 2, 2018, 7:26:39 AM6/2/18
to tesser...@googlegroups.com
> !int_mode_:Error:Assert failed:in file weightmatrix.cpp, line 244

You can only continue_from models in tessdata_best repo which are float models. The integer models in tessdata and tessdata_fast can not be used for that purpose.

ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

--
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 tesseract-ocr+unsubscribe@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/c71ffd91-ba39-41ab-a4a2-4db77b6be6d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nick

unread,
Jun 3, 2018, 3:57:32 AM6/3/18
to tesseract-ocr
hi shree

thanks for your reply. i will check it as soon as possible.
Reply all
Reply to author
Forward
0 new messages