1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-06-09 19:59:53 +02:00

👷🏾‍♂️ Use gt4histocr-calamari1/ as directory name for the Calmari 1 model

This commit is contained in:
Gerber, Mike 2020-11-25 12:09:41 +01:00
parent 0a9dbd0c25
commit 0e59c2317a
3 changed files with 11 additions and 11 deletions

View file

@ -11,7 +11,7 @@ help:
@echo " Targets"
@echo ""
@echo " install Install ocrd_calamari"
@echo " gt4histocr-calamari Get GT4HistOCR Calamari model (from SBB)"
@echo " gt4histocr-calamari1 Get GT4HistOCR Calamari model (from SBB)"
@echo " actevedef_718448162 Download example data"
@echo " deps-test Install testing python deps via pip"
@echo " repo/assets Clone OCR-D/assets to ./repo/assets"
@ -34,9 +34,9 @@ install:
# Get GT4HistOCR Calamari model (from SBB)
gt4histocr-calamari:
mkdir gt4histocr-calamari
cd gt4histocr-calamari && \
gt4histocr-calamari1:
mkdir -p gt4histocr-calamari1
cd gt4histocr-calamari1 && \
wget https://qurator-data.de/calamari-models/GT4HistOCR/2019-12-11T11_10+0100/model.tar.xz && \
tar xfv model.tar.xz && \
rm model.tar.xz
@ -73,12 +73,12 @@ assets-clean:
rm -rf test/assets
# Run unit tests
test: test/assets gt4histocr-calamari
test: test/assets gt4histocr-calamari1
# declare -p HTTP_PROXY
$(PYTHON) -m pytest --continue-on-collection-errors test $(PYTEST_ARGS)
# Run unit tests and determine test coverage
coverage: test/assets gt4histocr-calamari
coverage: test/assets gt4histocr-calamari1
coverage erase
make test PYTHON="coverage run"
coverage report