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

combine SBB_BINARIZE_DATA and model parameter #9

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

kba
Copy link
Collaborator

@kba kba commented Oct 23, 2020

#6

Base the param path (if relative) on the envvar. So model would stay required, and SBB_BINARIZE_DATA would merely be another search path (besides CWD = workspace). Call e.g. tar -C /my/path/to models.tar.gz; SBB_BINARIZE_DATA=/my/path/to ocrd-sbb-binarize -I OCR-D-IMG -O OCR-D-BIN -P model models

CWD in this implementation is not the workspace directory but the actual CWD.

@vahidrezanezhad vahidrezanezhad merged commit f363063 into qurator-spk:master Oct 27, 2020
@kba kba deleted the envvar-continued branch October 27, 2020 17:05
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.

2 participants