Closed royudev closed 4 years ago
i encountered a new error
PYTHONIOENCODING=utf-8 python3 generate_line_box.py -i "data/foo-ground-truth/wackenroder_herzensergiessungen_1797_0051_001.tif" -t "data/foo-ground-truth/wackenroder_herzensergiessungen_1797_0051_001.gt.txt" > "data/foo-ground-truth/wackenroder_herzensergiessungen_1797_0051_001.box"
+ tesseract data/foo-ground-truth/wackenroder_herzensergiessungen_1797_0051_001.tif data/foo-ground-truth/wackenroder_herzensergiessungen_1797_0051_001 --psm 6 lstm.train
Tesseract Open Source OCR Engine v5.0.0-alpha-635-g90405 with Leptonica
Page 1
Warning: Invalid resolution 0 dpi. Using 70 instead.
find data/foo-ground-truth -name '*.lstmf' | python3 shuffle.py 0 > "data/foo/all-lstmf"
Error: missing ground truth for training
Makefile:147: recipe for target 'data/foo/list.train' failed
make: *** [data/foo/list.train] Error 1
it says it is missing ground truth for training
Hi i was trying to use
make training
but it keeps on failingthis is the output
it keeps on failing saying that it failed to read boxed from the .tif file and makefile196: recipe fro target
.lstmf
failedi'm using the images and txt file from the ocrd-testset.zip tesseract version is 5.0
is there something i'm doing wrong?