robertknight / ocrs-models

PyTorch models for the ocrs OCR engine
54 stars 8 forks source link

Fix tqdm import in ocrs_models.datasets.hiertext #28

Closed robertknight closed 3 months ago

robertknight commented 3 months ago

Fix a mistake from when the ocrs_models.datasets module was converted into a package in 8ca41d5b1cd1f2bd3cad16ff10bd27404cfe5d9e.

mypy didn't catch this because type checking was disabled for tqdm due to lack of types.

See https://github.com/robertknight/ocrs-models/issues/27.