From 63c364207ca1425ac39fb815540ef805cf099a5b Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 18 Oct 2019 16:32:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A9=20Add=20a=20funny=20workaround=20t?= =?UTF-8?q?o=20get=20git-annex=20to=20give=20us=20our=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build b/build index 5743595..0a89c43 100755 --- a/build +++ b/build @@ -5,9 +5,10 @@ set -e cd data git annex init git annex upgrade - git annex get calamari-models/GT4HistOCR/*.ckpt* - git annex get tesseract-models/GT4HistOCR/*.traineddata - git annex get textline_detection/*.h5 + for f in "calamari-models/GT4HistOCR/*.ckpt*" "tesseract-models/GT4HistOCR/*.traineddata" "textline_detection/*.h5"; do + git annex get $f + git annex fsck $f + done ) docker build -t my_ocrd_workflow .