You also need to provide a traineddata file as input Please review the updated training instructions in the wiki and change the training commands accordingly.
On 07-Aug-2017 6:15 PM, "Ava Nimaee" <[email protected]> wrote: > hi how can you solve it? i have this error too. > please help me > > On Friday, August 4, 2017 at 11:03:41 AM UTC+4:30, [email protected] > wrote: >> >> Hello, >> >> I use the 'git pull' command to update the code from the link >> https://github.com/tesseract-ocr/tesseract.git, and I recompile, >> reinstall the Tess4.0. >> >> But when I execute the command (showed in below) to finetune the >> traineddata, an error appears: >> "mgr_.Init(traineddata_path.c_str()):Error:Assert >> failed:in file ../lstm/lstmtrainer.h, line 110" >> >> lstmtraining --model_output ~/tesstutorial/chituned_from_chisim/chituned >> \ >> --continue_from ~/tesstutorial/chituned_from_chisim/chi_sim.lstm \ >> --train_listfile ~/tesstutorial/chitest/chi_sim.training_files.txt \ >> --eval_listfile ~/tesstutorial/chitest/chi_sim.training_files.txt \ >> --target_error_rate 0.01 >> >> >> >> There is nothing wrong with the Tess before updating the code. But now, >> An assertion error crashes. Why? Can you help me? >> > -- > 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 post to this group, send email to [email protected]. > 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/7c66d368-f232-4eed-abfc-3bba2418f024% > 40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/7c66d368-f232-4eed-abfc-3bba2418f024%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. 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/CAG2NduVTZfEicGdzfzrunDE45raqBFmJRxY4PHsKMGdfw_OAZg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

