mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-08 22:29:56 +02:00
💩 Add a funny workaround to get git-annex to give us our files
This commit is contained in:
parent
33e25641f2
commit
63c364207c
1 changed files with 4 additions and 3 deletions
7
build
7
build
|
@ -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 .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue