I have traineddata in this path: /home/zohreh/tesstutorial/engtrian/eng/eng.traineddata. that with using : training/tesstrain.sh --fonts_dir /usr/share/fonts --lang eng --training_text training/langdata/eng/eng.training_text --linedata_only \ --noextract_font_properties --langdata_dir training/langdata \ --tessdata_dir ./tessdata \ --fontlist "Times New Roman," --output_dir ~/tesstutorial/engtrian i created it. And also i used the link that u sent me. sorry shree but i tried alot but i couldn't solve that.
On Monday, August 7, 2017 at 10:28:05 PM UTC+4:30, shree wrote: > > 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] <javascript:>> > 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/3ae829b7-0a54-4439-b895-46ca2955c77f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

