summaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2020-09-20 01:15:23 +0200
committeraktersnurra <gustaf.rydholm@gmail.com>2020-09-20 01:15:23 +0200
commit2b743f2f9046a2e2930647d234dc7392d71efa66 (patch)
tree237b5729cfbae90877a44baa52ac2ebaec388f79 /src/tasks
parente181195a699d7fa237f256d90ab4dedffc03d405 (diff)
Fixed some bash scripts.
Diffstat (limited to 'src/tasks')
-rwxr-xr-x[-rw-r--r--]src/tasks/train_crnn_line_ctc_model.sh3
-rwxr-xr-xsrc/tasks/train_embedding_model.sh4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/tasks/train_crnn_line_ctc_model.sh b/src/tasks/train_crnn_line_ctc_model.sh
index 9831289..0f83668 100644..100755
--- 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