robertknight / ocrs-models

PyTorch models for the ocrs OCR engine
31 stars 5 forks source link

Refactor `ocrs_models.datasets` #11

Closed robertknight closed 5 months ago

robertknight commented 5 months ago

In preparation for adding new datasets, refactor the existing ocrs_models.datasets module into a package, with separate sub-modules for individual datasets, utilities and the CLI interface.

To help catch mistakes in the process I added Ruff as a linter, and the last commits fix a few existing issues in other modules found by this.