Run with fixed release model
This commit is contained in:
parent
89cd481d52
commit
13d05c4a6f
@ -2,6 +2,10 @@
|
||||
|
||||
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
|
||||
|
||||
model_source=${DEEPSPEECH_PROD_MODEL//.pb/.tflite}
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
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
|
||||
@ -32,4 +36,4 @@ npm install --prefix ${NODE_ROOT} --cache ${NODE_CACHE} ${deepspeech_npm_url}
|
||||
|
||||
check_runtime_nodejs
|
||||
|
||||
run_prod_inference_tests
|
||||
run_prodtflite_inference_tests
|
||||
|
@ -2,6 +2,10 @@
|
||||
|
||||
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"
|
||||
@ -46,6 +50,6 @@ LD_LIBRARY_PATH=${PY37_LDPATH}:$LD_LIBRARY_PATH pip install --verbose --only-bin
|
||||
which deepspeech
|
||||
deepspeech --version
|
||||
|
||||
run_prod_inference_tests
|
||||
run_prodtflite_inference_tests
|
||||
|
||||
virtualenv_deactivate "${pyalias}" "${PYENV_NAME}"
|
||||
|
Loading…
Reference in New Issue
Block a user