💩 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 cd data
git annex init git annex init
git annex upgrade git annex upgrade
git annex get calamari-models/GT4HistOCR/*.ckpt* for f in "calamari-models/GT4HistOCR/*.ckpt*" "tesseract-models/GT4HistOCR/*.traineddata" "textline_detection/*.h5"; do
git annex get tesseract-models/GT4HistOCR/*.traineddata git annex get $f
git annex get textline_detection/*.h5 git annex fsck $f
done
) )
docker build -t my_ocrd_workflow . docker build -t my_ocrd_workflow .