From b8129c64252489a7ac8c0b359c2602082792fc60 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 11 Dec 2019 17:53:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Do=20not=20advertise=20and=20sup?= =?UTF-8?q?port=20untested=20models?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 11 ++--------- README.md | 7 ------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 0508505..75cc1c8 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,6 @@ help: @echo "" @echo " install Install ocrd_calamari" @echo " calamari Clone calamari repo" - @echo " calamari_models Clone calamari_models repo" @echo " gt4histocr-calamari Get GT4HistOCR Calamari model (from SBB)" @echo " calamari/build pip install calamari" @echo " deps-test Install testing python deps via pip" @@ -37,12 +36,6 @@ install: calamari: $(GIT_CLONE) https://github.com/chwick/calamari -# Clone calamari_models repo -calamari_models: - $(GIT_CLONE) -n https://github.com/chwick/calamari_models - # Checkout latest version that works with calamari-ocr==0.3.5: - cd calamari_models && git checkout f76b1d3ec - gt4histocr-calamari: mkdir gt4histocr-calamari cd gt4histocr-calamari && \ @@ -53,7 +46,7 @@ gt4histocr-calamari: # pip install calamari -calamari/build: calamari calamari_models +calamari/build: calamari cd calamari && $(PIP_INSTALL) . @@ -87,7 +80,7 @@ test: test/assets gt4histocr-calamari $(PYTHON) -m pytest --continue-on-collection-errors test $(PYTEST_ARGS) # Run unit tests and determine test coverage -coverage: test/assets calamari_models +coverage: test/assets gt4histocr-calamari coverage erase make test PYTHON="coverage run" coverage report diff --git a/README.md b/README.md index 4d7dc96..aea4d41 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,6 @@ pip install . ## Install models -Download standard models: - -``` -wget https://github.com/Calamari-OCR/calamari_models/archive/master.zip -unzip master.zip -``` - Download models trained on GT4HistOCR data: ```