I renamed my eng.traineddata into dot.traineddata and stored it in my 
tessdata folder.  This command works

lstmeval --model ./4.00/tessdata/dot.traineddata \
--eval_listfile ./doteval/eng.training_files.txt


On Thursday, March 14, 2019 at 12:24:51 PM UTC-7, [email protected] wrote

Environment 
>
> Tesseract Version:
> tesseract 4.0.0-beta.1
> leptonica-1.75.3
> libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 
> 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0
>
> Found AVX512BW
> Found AVX512F
> Found AVX2
> Found AVX
> Found SSE
>
> Platform: uname -a output: Linux CUDA1 4.15.0-29-generic #31 
> <https://github.com/tesseract-ocr/tesseract/pull/31>~16.04.1-Ubuntu SMP 
> Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=18.04
> DISTRIB_CODENAME=bionic
> DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
>
> Current Behavior: Trying to evaluate my model from base checkpoint, but it 
> fails to load 
>
> lstmeval \
> --model ./dotoutout/base_checkpoint
> --traineddata ./dottrain/eng/eng.traineddata 
> --eval_listfile ./dottest/eng.training_files.txt
>
> ./dotoutout/base_checkpoint is not a recognition model, trying training 
> checkpoint...
> Failed to load language model from ./dottrain/eng/eng.traineddata!
>
> Expected Behavior: Model should load from base_checkpoint. 
> Suggested Fix: The issue seems similar to Cannot continue from _checkpoint 
> #1782 <https://github.com/tesseract-ocr/tesseract/issues/1782>  If I have 
> to use a numbered checkpoint, then which checkpoint should I use? The one 
> that has the latest time stamp with ls -l?
>
> Unfortunately, evaluating a numbered checkpoint does not work either.
>
> lstmeval \
> --model ./dotoutout/base0.715_13171.checkpoint \ 
> --traineddata ./dottrain/eng/eng.traineddata \
> --eval_listfile ./dottest/eng.training_files.txt \
>
>
> ./dotoutout/base0.715_13171.checkpoint is not a recognition model, trying 
> training checkpoint...
> Failed to load model from: ./dotoutout/base0.715_13171.checkpoint
>
>
>

-- 
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/b7442799-bb5c-47a7-882b-9d9b630b3296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to