From f060ed84460eb2ed4c9168ef2a8b0bb08321c886 Mon Sep 17 00:00:00 2001 From: Danny Waser <79070834+wasertech@users.noreply.github.com> Date: Sat, 4 Jun 2022 17:53:16 +0200 Subject: [PATCH 1/4] Update run-ci-ldc93s1_new.sh We don't want to test batch size here. It causes the process to never die (see https://github.com/coqui-ai/STT/issues/2195) and is not the intent of the test anyway. --- bin/run-ci-ldc93s1_new.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/run-ci-ldc93s1_new.sh b/bin/run-ci-ldc93s1_new.sh index 6c7ac939b..1b678331c 100755 --- a/bin/run-ci-ldc93s1_new.sh +++ b/bin/run-ci-ldc93s1_new.sh @@ -29,3 +29,4 @@ python -u train.py --alphabet_config_path "data/alphabet.txt" \ --scorer_path 'data/smoke_test/pruned_lm.scorer' \ --audio_sample_rate ${audio_sample_rate} \ --export_tflite false + --skip_batch_test true From 6106f7b0fcccff6b02b70cd1061da1cdd9c44da2 Mon Sep 17 00:00:00 2001 From: Danny Waser <79070834+wasertech@users.noreply.github.com> Date: Sat, 4 Jun 2022 18:19:08 +0200 Subject: [PATCH 2/4] Update run-ldc93s1.sh Since we use batch size 1 here too we can also skip batch test. --- bin/run-ldc93s1.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/run-ldc93s1.sh b/bin/run-ldc93s1.sh index 0253c09a6..15672b571 100755 --- a/bin/run-ldc93s1.sh +++ b/bin/run-ldc93s1.sh @@ -26,4 +26,5 @@ python -m coqui_stt_training.train \ --n_hidden 100 \ --epochs 200 \ --checkpoint_dir "$checkpoint_dir" \ + --skip_batch_test true "$@" From 137ef4ee7799feed9e7e6d75ae9b619f407fa1b1 Mon Sep 17 00:00:00 2001 From: Danny Waser <79070834+wasertech@users.noreply.github.com> Date: Sat, 4 Jun 2022 18:21:11 +0200 Subject: [PATCH 3/4] Update run-ldc93s1.sh --- bin/run-ldc93s1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run-ldc93s1.sh b/bin/run-ldc93s1.sh index 15672b571..567efe8f9 100755 --- a/bin/run-ldc93s1.sh +++ b/bin/run-ldc93s1.sh @@ -26,5 +26,5 @@ python -m coqui_stt_training.train \ --n_hidden 100 \ --epochs 200 \ --checkpoint_dir "$checkpoint_dir" \ - --skip_batch_test true + --skip_batch_test true \ "$@" From a7ae15bbfd1e28639102e40b3553a58a20a660de Mon Sep 17 00:00:00 2001 From: Danny Waser <79070834+wasertech@users.noreply.github.com> Date: Sat, 4 Jun 2022 18:21:35 +0200 Subject: [PATCH 4/4] Update run-ci-ldc93s1_new.sh --- bin/run-ci-ldc93s1_new.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run-ci-ldc93s1_new.sh b/bin/run-ci-ldc93s1_new.sh index 1b678331c..5af40078c 100755 --- a/bin/run-ci-ldc93s1_new.sh +++ b/bin/run-ci-ldc93s1_new.sh @@ -28,5 +28,5 @@ python -u train.py --alphabet_config_path "data/alphabet.txt" \ --learning_rate 0.001 --dropout_rate 0.05 --export_dir '/tmp/train' \ --scorer_path 'data/smoke_test/pruned_lm.scorer' \ --audio_sample_rate ${audio_sample_rate} \ - --export_tflite false + --export_tflite false \ --skip_batch_test true