💩 Add a funny workaround to get git-annex to give us our files

This commit is contained in:
Gerber, Mike 2019-10-18 16:32:31 +02:00
parent 33e25641f2
commit 63c364207c

7
build
View file

@ -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 .