summaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks')
-rwxr-xr-xsrc/tasks/prepare_experiments.sh3
-rwxr-xr-xsrc/tasks/prepare_sample_experiments.sh2
-rwxr-xr-xsrc/tasks/train_crnn_line_ctc_model.sh4
-rwxr-xr-xsrc/tasks/train_embedding_model.sh4
4 files changed, 11 insertions, 2 deletions
diff --git a/src/tasks/prepare_experiments.sh b/src/tasks/prepare_experiments.sh
new file mode 100755
index 0000000..9b91daa
--- /dev/null
+++ b/src/tasks/prepare_experiments.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+experiments_filename=${1:-training/experiments/sample_experiment.yml}
+python training/prepare_experiments.py --experiments_filename $experiments_filename
diff --git a/src/tasks/prepare_sample_experiments.sh b/src/tasks/prepare_sample_experiments.sh
deleted file mode 100755
index bc34f48..0000000
--- a/src/tasks/prepare_sample_experiments.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-python training/prepare_experiments.py --experiments_filename training/experiments/sample_experiment.yml
diff --git a/src/tasks/train_crnn_line_ctc_model.sh b/src/tasks/train_crnn_line_ctc_model.sh
new file mode 100755
index 0000000..0f83668
--- /dev/null
+++ b/src/tasks/train_crnn_line_ctc_model.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+experiments_filename=${1:-training/experiments/line_ctc_experiment.yml}
+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