summaryrefslogtreecommitdiff
path: root/src/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks')
-rwxr-xr-xsrc/tasks/create_emnist_lines_datasets.sh4
-rwxr-xr-xsrc/tasks/train.sh6
2 files changed, 6 insertions, 4 deletions
diff --git a/src/tasks/create_emnist_lines_datasets.sh b/src/tasks/create_emnist_lines_datasets.sh
index 98d4f8b..0940549 100755
--- a/src/tasks/create_emnist_lines_datasets.sh
+++ b/src/tasks/create_emnist_lines_datasets.sh
@@ -1,2 +1,4 @@
#!/bin/bash
-poetry run create-emnist-lines-datasets
+command="python text_recognizer/datasets/emnist_lines_dataset.py --max_length 34 --min_overlap 0.0 --max_overlap 0.33 --num_train 100000 --num_test 10000"
+echo $command
+eval $command
diff --git a/src/tasks/train.sh b/src/tasks/train.sh
index 1fbc8d7..71a68be 100755
--- a/src/tasks/train.sh
+++ b/src/tasks/train.sh
@@ -62,6 +62,6 @@ then
train_command="${train_command} -$verbose"
fi
-
-echo $train_command $notrain $test
-eval $train_command $notrain $test
+train_command="${train_command} $test $notrain"
+echo $train_command
+eval $train_command