unable to view training history plot after training- no tsv files.

20 views
Skip to first unread message

uday kaipa

unread,
Jul 3, 2024, 9:33:21 AM (3 days ago) Jul 3
to tesseract-ocr
Hello, 

I have successfully fine-tunned tesseract  for a font. I have tested it and it is working.
Thanks for people on this forum, the discussions on this channels are very helpful.

After training, when i try to plot train history, i am getting an error.
So, i tried again with ocrd data that was provided in the project. I am getting the same error.
I have provided the MODEL_NAME and other variables in the make file.
In the OUTPUT_DIR, i could see training.log but i don't see tsv file anywhere in the project.
from Make file, it is looking for tsv files, if i understood correctly.

Any help would be greatly appreciated. :) 


$ make plot
You are using make version: 4.4.1
lstmtraining \
          --stop_training \
          --continue_from data/ocrd/checkpoints/ocrd_0.198_4334_9900.checkpoint \
          --traineddata data/ocrd/ocrd.traineddata \
          --model_output data/ocrd/tessdata_best/ocrd_0.198_4334_9900.traineddata
Loaded file data/ocrd/checkpoints/ocrd_0.198_4334_9900.checkpoint, unpacking...
time -p lstmeval  \
        --verbosity=0 \
        --model data/ocrd/tessdata_best/ocrd_0.198_4334_9900.traineddata \
        --eval_listfile data/ocrd/list.eval 2>&1 | grep "^BCER eval" > data/ocrd/eval/ocrd_0.198_4334_9900.eval.log
make: *** [Makefile:358: data/ocrd/eval/ocrd_0.198_4334_9900.eval.log] Error 1

Reply all
Reply to author
Forward
0 new messages