Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

ocrd-tool.json: add content-type, make required #10

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bertsky
Copy link
Contributor

@bertsky bertsky commented Feb 10, 2022

This module already distributes its model in the module directory:

self.parameter['network'] = resource_filename(__name__, 'models/densenet121.tgc')

But due to the subdirectory, we cannot use the new mechanism for preinstalled resources directly. So either we make model not required again (but then the user still cannot see the model file whith -L or resmgr list-installed), or we move it to the top module directory (and can remove that line).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant