mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-15 19:09:58 +02:00
layout: refactor model setup, allow loading custom versions
- simplify definition of (defaults for) model versions - unify loading of loadable models (depending on mode) - use `self.models` dict instead of `self.model_*` attributes - add `model_versions` kwarg / `--model_version` CLI option
This commit is contained in:
parent
374818de11
commit
4e9a1618c3
3 changed files with 191 additions and 182 deletions
|
@ -25,6 +25,7 @@ f458e3e
|
|||
(so CUDA memory gets freed between tests if running on GPU)
|
||||
|
||||
Added:
|
||||
* :fire: `layout` CLI: new option `--model_version` to override default choices
|
||||
* test coverage for OCR options in `layout`
|
||||
* test coverage for table detection in `layout`
|
||||
* CI linting with ruff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue