Merge pull request #2666 from lissyx/fix-prodmodel
Remove v0.6.0 TFLite prod model workaround
This commit is contained in:
commit
ea6377c2aa
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
set -xe
|
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
|
source $(dirname "$0")/tc-tests-utils.sh
|
||||||
|
|
||||||
bitrate=$1
|
bitrate=$1
|
||||||
|
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
set -xe
|
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
|
source $(dirname "$0")/tc-tests-utils.sh
|
||||||
|
|
||||||
nodever=$1
|
nodever=$1
|
||||||
|
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
set -xe
|
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
|
source $(dirname "$0")/tc-tests-utils.sh
|
||||||
|
|
||||||
extract_python_versions "$1" "pyver" "pyver_pkg" "py_unicode_type" "pyconf" "pyalias"
|
extract_python_versions "$1" "pyver" "pyver_pkg" "py_unicode_type" "pyconf" "pyalias"
|
||||||
|
@ -267,7 +267,7 @@ assert_correct_ldc93s1_prodmodel()
|
|||||||
assert_correct_ldc93s1_prodtflitemodel()
|
assert_correct_ldc93s1_prodtflitemodel()
|
||||||
{
|
{
|
||||||
if [ -z "$3" -o "$3" = "16k" ]; then
|
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;
|
fi;
|
||||||
|
|
||||||
if [ -o "$3" = "8k" ]; then
|
if [ -o "$3" = "8k" ]; then
|
||||||
@ -289,7 +289,7 @@ assert_correct_ldc93s1_prodmodel_stereo_44k()
|
|||||||
assert_correct_ldc93s1_prodtflitemodel_stereo_44k()
|
assert_correct_ldc93s1_prodtflitemodel_stereo_44k()
|
||||||
{
|
{
|
||||||
if [ -z "$3" -o "$3" = "16k" ]; then
|
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;
|
fi;
|
||||||
|
|
||||||
if [ -o "$3" = "8k" ]; then
|
if [ -o "$3" = "8k" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user