Skip to content

Conversation

@kba
Copy link
Contributor

@kba kba commented Oct 20, 2025

Still WIP, intermediate state for discussion

  • all logic related to loading ML models moved to EynollahModelZoo
  • all models can have variants, such as light. Default is ''
  • model overrides are a three-string tuple (model_category, model_variant, model_filename)
  • Eynollah_ocr moved into a separate module

TODO:

  • better data structure for the defaults (including documentation e.g.)
  • apply to remaining runners (i.e. classes that have a run method and are called via CLI)
  • [ ] Factor out a common base class for all runners not required for this PR
  • make --model* options for the top-level eynollah click group

)
assert len(list(outdir.iterdir())) == 2

# def test_run_eynollah_layout_marginalia(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bertsky This regression test is from a discussion with Vahid where he noticed that v0.5.0 produces 5 marginalia regions as expected but none in v0.6.0+.

Disabled for now until the segfaults have been fixed.

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

Successfully merging this pull request may close these issues.

4 participants