From ad97f88b1e7b51a6018187191516ad16caf41f9b Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 10 Dec 2019 18:00:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20calamari-models/train-calamari-g?= =?UTF-8?q?t4histocr:=20Introduce=20a=20training=20id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- train.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/train.sh b/train.sh index 118bb8f..a38107b 100755 --- a/train.sh +++ b/train.sh @@ -48,7 +48,8 @@ fi export PYTHONUNBUFFERED=1 # For python + tee -outdir=$DATA_SUBDIR/calamari-models/GT4HistOCR +training_id=`date -Iminutes` +outdir=$DATA_SUBDIR/calamari-models/GT4HistOCR/$training_id mkdir -p $outdir export TF_FORCE_GPU_ALLOW_GROWTH=true # To prevent TF from taking all GPU memory @@ -63,4 +64,4 @@ calamari-cross-fold-train \ --n_folds=5 \ --max_parallel_models=3 \ --display=0.01 \ - 2>&1 | tee $outdir/train.`date -Iminutes`.log + 2>&1 | tee $outdir/train.${training_id}.log