-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run lstm training from tesseract 4.0 #1115
Comments
Ray is currently updating the repo with new code. You can try a commit from about a week back and check. |
Did you create the required traineddata by
|
@KevinZhuYF, please respond to @Shreeshrii's question. |
This error is caused by a missing traineddata file given in the training command. There is another similar issue - #1075 It will be nice to have a more user-friendly message. This issue can be closed and a link added to the other one ( more details in it) |
I'm trying to run this demo with tesseract 4.0 lstm training :
mkdir -p ~/tesstutorial/engoutput
training/lstmtraining --debug_interval 100
--traineddata ~/tesstutorial/engtrain/eng/eng.traineddata
--net_spec '[1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c111]'
--model_output ~/tesstutorial/engoutput/base --learning_rate 20e-4
--train_listfile ~/tesstutorial/engtrain/eng.training_files.txt
--eval_listfile
/tesstutorial/engeval/eng.training_files.txt/tesstutorial/engoutput/basetrain.log--max_iterations 5000 &>
and system returns me a message as this:
Segmentation fault (core dumped)
When I checked the log file which is generated by this process, I got this:
mgr_.Init(traineddata_path.c_str()):Error:Assert failed:in file ../lstm/lstmtrainer.h, line 110
What should I do to make it work?
Environment
Current Behavior:
Expected Behavior:
Suggested Fix:
The text was updated successfully, but these errors were encountered: