robertknight / ocrs-models

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

Refactor `ocrs_models.datasets` #11

Closed robertknight closed 9 months ago

robertknight commented 9 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.