Error while running lstmtraining.exe --stop_training

51 views
Skip to first unread message

megha patil

unread,
Sep 27, 2021, 2:38:23 AM9/27/21
to tesseract-ocr
Hi,

I want to create my own traineddata and I am using tesseract 4.1 on windows.

After running below command, I got checkpoints as output.

lstmtraining --model_output="D:\Test\" --continue_from="D:\Test\Dim_test.lstmf" --train_listfile="D:\Test\eng.training_files.txt" --traineddata="D:\Test\eng\eng.traineddata" --debug_interval -1 -max_iterations 2000

Then to stop training, I ran below command,

D:\Test>lstmtraining --stop_training --continue_from="D:\Test\output_checkpoint" --traineddata="D:\Test\eng\eng.traineddata --model_output="D:\Test\abc.traineddata"

But, I am getting below error while running this command.

mgr_.Init(traineddata_path.c_str()):Error:Assert failed:in file ../../../../../src/training/lstmtrainer.h, line 96

Can you please help me how to solve this assert error?


Thanks and Regards,

Megha

Reply all
Reply to author
Forward
0 new messages