From 2b743f2f9046a2e2930647d234dc7392d71efa66 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sun, 20 Sep 2020 01:15:23 +0200 Subject: Fixed some bash scripts. --- src/tasks/train_crnn_line_ctc_model.sh | 3 ++- src/tasks/train_embedding_model.sh | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) mode change 100644 => 100755 src/tasks/train_crnn_line_ctc_model.sh create mode 100755 src/tasks/train_embedding_model.sh (limited to 'src/tasks') diff --git a/src/tasks/train_crnn_line_ctc_model.sh b/src/tasks/train_crnn_line_ctc_model.sh old mode 100644 new mode 100755 index 9831289..0f83668 --- a/src/tasks/train_crnn_line_ctc_model.sh +++ b/src/tasks/train_crnn_line_ctc_model.sh @@ -1,3 +1,4 @@ #!/bin/bash experiments_filename=${1:-training/experiments/line_ctc_experiment.yml} -exec ./prepare_experiments.sh experiments_filename=experiments_filename +OUTPUT=$(./tasks/prepare_experiments.sh $experiments_filename) +eval $OUTPUT diff --git a/src/tasks/train_embedding_model.sh b/src/tasks/train_embedding_model.sh new file mode 100755 index 0000000..85a4a6d --- /dev/null +++ b/src/tasks/train_embedding_model.sh @@ -0,0 +1,4 @@ +#!/bin/bash +experiments_filename=${1:-training/experiments/embedding_encoder.yml} +OUTPUT=$(./tasks/prepare_experiments.sh $experiments_filename) +eval $OUTPUT -- cgit v1.2.3-70-g09d2