Run with fixed release model

This commit is contained in:
Alexandre Lissy 2019-12-22 14:03:13 +01:00
parent 89cd481d52
commit 13d05c4a6f
3 changed files with 14 additions and 2 deletions

View File

@ -2,6 +2,10 @@
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
model_source=${DEEPSPEECH_PROD_MODEL//.pb/.tflite} model_source=${DEEPSPEECH_PROD_MODEL//.pb/.tflite}

View File

@ -2,6 +2,10 @@
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
@ -32,4 +36,4 @@ npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
check_runtime_nodejs check_runtime_nodejs
run_prod_inference_tests run_prodtflite_inference_tests

View File

@ -2,6 +2,10 @@
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"
@ -46,6 +50,6 @@ LD_LIBRARY_PATH=${PY37_LDPATH}:$LD_LIBRARY_PATH pip install --verbose --only-bin
which deepspeech which deepspeech
deepspeech --version deepspeech --version
run_prod_inference_tests run_prodtflite_inference_tests
virtualenv_deactivate "${pyalias}" "${PYENV_NAME}" virtualenv_deactivate "${pyalias}" "${PYENV_NAME}"