diff options
author | aktersnurra <gustaf.rydholm@gmail.com> | 2020-11-08 12:41:04 +0100 |
---|---|---|
committer | aktersnurra <gustaf.rydholm@gmail.com> | 2020-11-08 12:41:04 +0100 |
commit | beeaef529e7c893a3475fe27edc880e283373725 (patch) | |
tree | 59eb72562bf7a5a9470c2586e6280600ad94f1ae /src/tasks | |
parent | 4d7713746eb936832e84852e90292936b933e87d (diff) |
Trying to get the CNNTransformer to work, but it is hard.
Diffstat (limited to 'src/tasks')
-rwxr-xr-x | src/tasks/create_emnist_lines_datasets.sh | 4 | ||||
-rwxr-xr-x | src/tasks/train.sh | 6 |
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 |