Merge pull request #2666 from lissyx/fix-prodmodel

Remove v0.6.0 TFLite prod model workaround
This commit is contained in:
lissyx 2020-01-13 16:31:35 +01:00 committed by GitHub
commit ea6377c2aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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