summaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2020-09-20 00:14:27 +0200
committeraktersnurra <gustaf.rydholm@gmail.com>2020-09-20 00:14:27 +0200
commite181195a699d7fa237f256d90ab4dedffc03d405 (patch)
tree6d8d50731a7267c56f7bf3ed5ecec3990c0e55a5 /src/tasks
parent3b06ef615a8db67a03927576e0c12fbfb2501f5f (diff)
Minor bug fixes etc.
Diffstat (limited to 'src/tasks')
-rwxr-xr-xsrc/tasks/prepare_experiments.sh3
-rwxr-xr-xsrc/tasks/prepare_sample_experiments.sh2
-rw-r--r--src/tasks/train_crnn_line_ctc_model.sh3
3 files changed, 6 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 100644
index 0000000..9831289
--- /dev/null
+++ b/src/tasks/train_crnn_line_ctc_model.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+experiments_filename=${1:-training/experiments/line_ctc_experiment.yml}
+exec ./prepare_experiments.sh experiments_filename=experiments_filename