diff options
Diffstat (limited to 'src/tasks')
-rwxr-xr-x | src/tasks/create_emnist_lines_datasets.sh | 2 | ||||
-rwxr-xr-x | src/tasks/create_iam_paragraphs.sh | 2 | ||||
-rwxr-xr-x | src/tasks/download_emnist.sh | 3 | ||||
-rwxr-xr-x | src/tasks/download_iam.sh | 2 | ||||
-rwxr-xr-x | src/tasks/prepare_experiments.sh | 2 | ||||
-rwxr-xr-x | src/tasks/train_crnn_line_ctc_model.sh | 1 | ||||
-rwxr-xr-x | src/tasks/train_embedding_model.sh | 3 |
7 files changed, 13 insertions, 2 deletions
diff --git a/src/tasks/create_emnist_lines_datasets.sh b/src/tasks/create_emnist_lines_datasets.sh new file mode 100755 index 0000000..98d4f8b --- /dev/null +++ b/src/tasks/create_emnist_lines_datasets.sh @@ -0,0 +1,2 @@ +#!/bin/bash +poetry run create-emnist-lines-datasets diff --git a/src/tasks/create_iam_paragraphs.sh b/src/tasks/create_iam_paragraphs.sh new file mode 100755 index 0000000..9063d44 --- /dev/null +++ b/src/tasks/create_iam_paragraphs.sh @@ -0,0 +1,2 @@ +#!/bin/bash +poetry run create-iam-paragraphs diff --git a/src/tasks/download_emnist.sh b/src/tasks/download_emnist.sh new file mode 100755 index 0000000..d142324 --- /dev/null +++ b/src/tasks/download_emnist.sh @@ -0,0 +1,3 @@ +#!/bin/bash +poetry run download-emnist +poetry run create-emnist-support-files diff --git a/src/tasks/download_iam.sh b/src/tasks/download_iam.sh new file mode 100755 index 0000000..4bf011c --- /dev/null +++ b/src/tasks/download_iam.sh @@ -0,0 +1,2 @@ +#!/bin/bash +poetry run download-iam diff --git a/src/tasks/prepare_experiments.sh b/src/tasks/prepare_experiments.sh index 9b91daa..f2787b3 100755 --- a/src/tasks/prepare_experiments.sh +++ b/src/tasks/prepare_experiments.sh @@ -1,3 +1,3 @@ #!/bin/bash experiments_filename=${1:-training/experiments/sample_experiment.yml} -python training/prepare_experiments.py --experiments_filename $experiments_filename +poetry run prepare-experiments --experiments_filename $experiments_filename diff --git a/src/tasks/train_crnn_line_ctc_model.sh b/src/tasks/train_crnn_line_ctc_model.sh index 0f83668..020c4a6 100755 --- a/src/tasks/train_crnn_line_ctc_model.sh +++ b/src/tasks/train_crnn_line_ctc_model.sh @@ -1,4 +1,5 @@ #!/bin/bash experiments_filename=${1:-training/experiments/line_ctc_experiment.yml} OUTPUT=$(./tasks/prepare_experiments.sh $experiments_filename) +echo $OUTPUT eval $OUTPUT diff --git a/src/tasks/train_embedding_model.sh b/src/tasks/train_embedding_model.sh index 85a4a6d..da59116 100755 --- a/src/tasks/train_embedding_model.sh +++ b/src/tasks/train_embedding_model.sh @@ -1,4 +1,5 @@ #!/bin/bash -experiments_filename=${1:-training/experiments/embedding_encoder.yml} +experiments_filename=${1:-training/experiments/embedding_experiment.yml} OUTPUT=$(./tasks/prepare_experiments.sh $experiments_filename) +echo $OUTPUT eval $OUTPUT |