mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-06-09 19:59:53 +02:00
test: use resmgr for downloading model
This commit is contained in:
parent
7661662e3e
commit
59089fbe89
2 changed files with 13 additions and 14 deletions
|
@ -14,7 +14,7 @@ from .base import assets
|
|||
|
||||
METS_KANT = assets.url_of('kant_aufklaerung_1784-page-region-line-word_glyph/data/mets.xml')
|
||||
WORKSPACE_DIR = '/tmp/test-ocrd-calamari'
|
||||
CHECKPOINT_DIR = os.path.join(os.getcwd(), 'gt4histocr-calamari1')
|
||||
CHECKPOINT_DIR = os.getenv('MODEL')
|
||||
|
||||
# Because XML namespace versions are so much fun, we not only use one, we use TWO!
|
||||
NSMAP = { "pc": "http://schema.primaresearch.org/PAGE/gts/pagecontent/2019-07-15" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue