From d76f1929b078e2fdb87bf588a093783aa3797fa4 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Mon, 13 Jan 2020 10:19:09 +0100 Subject: [PATCH] Remove v0.6.0 TFLite prod model workaround --- taskcluster/tc-cpp_tflite-tests-prod.sh | 4 ---- taskcluster/tc-node_tflite-tests-prod.sh | 4 ---- taskcluster/tc-python_tflite-tests-prod.sh | 4 ---- taskcluster/tc-tests-utils.sh | 4 ++-- 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/taskcluster/tc-cpp_tflite-tests-prod.sh b/taskcluster/tc-cpp_tflite-tests-prod.sh index 4c66ae9e..8f2b47b2 100644 --- a/taskcluster/tc-cpp_tflite-tests-prod.sh +++ b/taskcluster/tc-cpp_tflite-tests-prod.sh @@ -2,10 +2,6 @@ set -xe -#TODO: Remove after 0.6.1 -export DEEPSPEECH_PROD_MODEL=https://github.com/lissyx/DeepSpeech/releases/download/v0.6.0/output_graph.tflite -export DEEPSPEECH_PROD_MODEL_MMAP=https://github.com/lissyx/DeepSpeech/releases/download/v0.6.0/output_graph.tflite - source $(dirname "$0")/tc-tests-utils.sh bitrate=$1 diff --git a/taskcluster/tc-node_tflite-tests-prod.sh b/taskcluster/tc-node_tflite-tests-prod.sh index e813a16c..0e5f4e9a 100644 --- a/taskcluster/tc-node_tflite-tests-prod.sh +++ b/taskcluster/tc-node_tflite-tests-prod.sh @@ -2,10 +2,6 @@ set -xe -#TODO: Remove after 0.6.1 -export DEEPSPEECH_PROD_MODEL=https://github.com/lissyx/DeepSpeech/releases/download/v0.6.0/output_graph.tflite -export DEEPSPEECH_PROD_MODEL_MMAP=https://github.com/lissyx/DeepSpeech/releases/download/v0.6.0/output_graph.tflite - source $(dirname "$0")/tc-tests-utils.sh nodever=$1 diff --git a/taskcluster/tc-python_tflite-tests-prod.sh b/taskcluster/tc-python_tflite-tests-prod.sh index 92b46409..00a0615c 100644 --- a/taskcluster/tc-python_tflite-tests-prod.sh +++ b/taskcluster/tc-python_tflite-tests-prod.sh @@ -2,10 +2,6 @@ set -xe -#TODO: Remove after 0.6.1 -export DEEPSPEECH_PROD_MODEL=https://github.com/lissyx/DeepSpeech/releases/download/v0.6.0/output_graph.tflite -export DEEPSPEECH_PROD_MODEL_MMAP=https://github.com/lissyx/DeepSpeech/releases/download/v0.6.0/output_graph.tflite - source $(dirname "$0")/tc-tests-utils.sh extract_python_versions "$1" "pyver" "pyver_pkg" "py_unicode_type" "pyconf" "pyalias" diff --git a/taskcluster/tc-tests-utils.sh b/taskcluster/tc-tests-utils.sh index 49ab0fb5..cf335585 100755 --- a/taskcluster/tc-tests-utils.sh +++ b/taskcluster/tc-tests-utils.sh @@ -267,7 +267,7 @@ assert_correct_ldc93s1_prodmodel() assert_correct_ldc93s1_prodtflitemodel() { if [ -z "$3" -o "$3" = "16k" ]; then - assert_correct_inference "$1" "she had educate in greasy wash were all year" "$2" + assert_correct_inference "$1" "she had i do utterly was or all year" "$2" fi; if [ -o "$3" = "8k" ]; then @@ -289,7 +289,7 @@ assert_correct_ldc93s1_prodmodel_stereo_44k() assert_correct_ldc93s1_prodtflitemodel_stereo_44k() { if [ -z "$3" -o "$3" = "16k" ]; then - assert_correct_inference "$1" "she had educate in greasy wash were all year" "$2" + assert_correct_inference "$1" "she headed grey was or all year" "$2" fi; if [ -o "$3" = "8k" ]; then