✨ Run Calamari OCR
parent
001e62f54a
commit
0bc06c2fad
@ -0,0 +1,3 @@
|
||||
[submodule "data"]
|
||||
path = data
|
||||
url = git@code.dev.sbb.berlin:qurator/qurator-data.git
|
@ -1,2 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
(
|
||||
cd data
|
||||
git annex get calamari-models/GT4HistOCR
|
||||
git annex unlock calamari-models/GT4HistOCR # So they are not symlinks
|
||||
)
|
||||
|
||||
docker build -t my_ocrd_workflow .
|
||||
|
@ -0,0 +1 @@
|
||||
Subproject commit 9af6a6c6c882b1dfdbf1efba7b1f555638c2ffd5
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
# XXX Do not run privileged, use udica instead
|
||||
docker run -it --rm --mount type=bind,src="$(pwd)",target=/data --privileged=true my_ocrd_workflow
|
||||
docker run --gpus all -it --rm --mount type=bind,src="$(pwd)",target=/data --privileged=true my_ocrd_workflow
|
||||
|
Loading…
Reference in New Issue