Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix model resource name in ocrd resmgr #88

Open
3 tasks
mikegerber opened this issue Mar 22, 2023 · 1 comment
Open
3 tasks

Fix model resource name in ocrd resmgr #88

mikegerber opened this issue Mar 22, 2023 · 1 comment
Assignees

Comments

@mikegerber
Copy link
Collaborator

ocrd resmgr currently uses "qurator-gt4histocr-1.0", which was probably meant to mean "qurator-gt4histocr" for Calamari 1.0?

  • Also try to figure out if OCR-D resmgr has some kind of versioning
  • If not, try to convince OCR-D to please not hide model versions ("qurator-gt4histocr" is "2019-12-11T11_10+0100", or if needed "2019-12-11")
  • Should put the resources in our own ocrd-tool-json anyway.
@kba
Copy link
Member

kba commented Mar 22, 2023

ocrd resmgr currently uses "qurator-gt4histocr-1.0", which was probably meant to mean "qurator-gt4histocr" for Calamari 1.0?

No, that was just a random version because ...

  • Also try to figure out if OCR-D resmgr has some kind of versioning

... the resource manager has no mechanism for versioning of resources. Hence, the version must be part of the resource name.

  • If not, try to convince OCR-D to please not hide model versions ("qurator-gt4histocr" is "2019-12-11T11_10+0100", or if needed "2019-12-11")

The best way to do that is to provide the date as part of the name, e.g. qurator-gt4histocr-2019-12-12.

  • Should put the resources in our own ocrd-tool-json anyway.

Ineed, that way you have full control over the naming and model version.

@mikegerber mikegerber self-assigned this Oct 16, 2023
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

No branches or pull requests

2 participants