From beeaef529e7c893a3475fe27edc880e283373725 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sun, 8 Nov 2020 12:41:04 +0100 Subject: Trying to get the CNNTransformer to work, but it is hard. --- src/tasks/create_emnist_lines_datasets.sh | 4 +++- src/tasks/train.sh | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/tasks') 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 -- cgit v1.2.3-70-g09d2