You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mike Gerber e2a3f7e10c
📝 It's provenance not providence 😀
5 years ago
data@f817209ba7 calamari-models/train-calamari-gt4histocr: Move from my personal experiments repo 5 years ago
LICENSE calamari-models/train-calamari-gt4histocr: Add license (Fixes qurator-spk/train-calamari-gt4histocr#1) 5 years ago
README.md 📝 It's provenance not providence 😀 5 years ago
qurator_data_lib.sh calamari-models/train-calamari-gt4histocr: Update train.sh to use qurator_data_lib.sh 5 years ago
requirements.txt ⬆️ Make tensorflow-gpu dependency less tight 5 years ago
train.sh calamari-models/train-calamari-gt4histocr: Update train.sh to use qurator_data_lib.sh 5 years ago
upload-prepare.sh calamari-models/train-calamari-gt4histocr: Add a script to prepare upload 5 years ago

README.md

Train a GT4HistOCR Calamari model

train.sh trains a Calamari model based on GT4HistOCR. Or rather 5 using cross-validation to use for confidence voting. This repository mainly serves as documentation of the provenance of the model published at https://qurator-data.de/calamari-models/, not as the definitive guide to training such a model.

Trained models

For a finished model have a look here: https://qurator-data.de/calamari-models/

Training your own model

If you really want to, you can use this script to train your own. It takes about 1 week on a Nvidia RTX 2080 GPU. Please use requirements.txt in that case to setup a virtualenv.

train.sh is able to download GT4HistOCR from the web if the data submodule is not available, that is if you're not a member of the Qurator team at SBB.