summaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
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