From 551570616b7dc4c6f9ab130fbd6632f8a8b99763 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Tue, 3 Dec 2019 13:02:51 +0100 Subject: [PATCH] Reduce training task from 399 epochs to 220, enough to overfit LDC93S1 --- bin/run-tc-ldc93s1_checkpoint.sh | 2 -- taskcluster/tc-train-tests.sh | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bin/run-tc-ldc93s1_checkpoint.sh b/bin/run-tc-ldc93s1_checkpoint.sh index 565d6986..b46d546c 100755 --- a/bin/run-tc-ldc93s1_checkpoint.sh +++ b/bin/run-tc-ldc93s1_checkpoint.sh @@ -5,8 +5,6 @@ set -xe ldc93s1_dir="./data/ldc93s1-tc" ldc93s1_csv="${ldc93s1_dir}/ldc93s1.csv" -epoch_count=$1 - if [ ! -f "${ldc93s1_dir}/ldc93s1.csv" ]; then echo "Downloading and preprocessing LDC93S1 example data, saving in ${ldc93s1_dir}." python -u bin/import_ldc93s1.py ${ldc93s1_dir} diff --git a/taskcluster/tc-train-tests.sh b/taskcluster/tc-train-tests.sh index a08624b4..a782fa18 100644 --- a/taskcluster/tc-train-tests.sh +++ b/taskcluster/tc-train-tests.sh @@ -58,8 +58,8 @@ LD_LIBRARY_PATH=${PY37_LDPATH}:$LD_LIBRARY_PATH pip install --verbose --only-bin pushd ${HOME}/DeepSpeech/ds/ # Run twice to test preprocessed features - time ./bin/run-tc-ldc93s1_new.sh 199 - time ./bin/run-tc-ldc93s1_new.sh 200 + time ./bin/run-tc-ldc93s1_new.sh 219 + time ./bin/run-tc-ldc93s1_new.sh 1 time ./bin/run-tc-ldc93s1_tflite.sh popd @@ -75,7 +75,7 @@ if [ ! -z "${CONVERT_GRAPHDEF_MEMMAPPED}" ]; then fi; pushd ${HOME}/DeepSpeech/ds/ - time ./bin/run-tc-ldc93s1_checkpoint.sh 200 + time ./bin/run-tc-ldc93s1_checkpoint.sh popd deactivate