Skip to content
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

Trying to readme but I get: No box data found in 'data/foo-ground-truth/fontane_irrungen_1888_0258_008.box'.... #398

Open
manuelarte opened this issue Aug 27, 2024 · 2 comments

Comments

@manuelarte
Copy link

Hi,

I followed the tutorial, I extracted the content of ocrd-testset.zip in ./data/foo-ground-truth, but when I run:

make training

I get the following output:

(python) manuelarte@maclaptop tesstrain % gmake training
You are using make version: 4.4.1
tesseract "data/foo-ground-truth/fontane_irrungen_1888_0258_008.tif" data/foo-ground-truth/fontane_irrungen_1888_0258_008 --psm 13 lstm.train
No box data found in 'data/foo-ground-truth/fontane_irrungen_1888_0258_008.box'.
Failed to read boxes from data/foo-ground-truth/fontane_irrungen_1888_0258_008.tif
Error during processing.
gmake: *** [Makefile:260: data/foo-ground-truth/fontane_irrungen_1888_0258_008.lstmf] Error 1

I am running on Mac

@zdenop
Copy link
Contributor

zdenop commented Aug 27, 2024

Usually this is when issue reporter does not write whole story ;-) (previous training was stopped, or crashed, or there was missing some dependency and box file was not created correctly...)

Did you check data/foo-ground-truth/fontane_irrungen_1888_0258_008.box? Is there any box information? If not just delete file and run training again...

@manuelarte
Copy link
Author

manuelarte commented Aug 27, 2024

@zdenop ... and you're right. I had an issue with one python dependency. I fixed it, removed the box file, retry, and now it works.

Thanks btw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants