The code seems to have changed a lot, as well as the training commands and corresponding tutorials. The changes can refer to https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00.
在 2017年8月4日星期五 UTC+8下午2:33:41,[email protected]写道: > > 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/981a9380-bb57-4bcf-b321-d4ebff5f92bd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

