2017-11-14 14:36:51 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
|
|
|
source $(dirname "$0")/tc-tests-utils.sh
|
|
|
|
|
2020-01-08 17:03:54 +03:00
|
|
|
bitrate=$1
|
|
|
|
set_ldc_sample_filename "${bitrate}"
|
|
|
|
|
2017-11-14 14:36:51 +03:00
|
|
|
model_source=${DEEPSPEECH_PROD_MODEL}
|
|
|
|
model_name=$(basename "${model_source}")
|
|
|
|
|
2018-02-14 20:41:21 +03:00
|
|
|
model_source_mmap=${DEEPSPEECH_PROD_MODEL_MMAP}
|
|
|
|
model_name_mmap=$(basename "${model_source_mmap}")
|
|
|
|
|
2017-12-05 18:36:56 +03:00
|
|
|
download_material "${TASKCLUSTER_TMP_DIR}/ds"
|
2017-11-14 14:36:51 +03:00
|
|
|
|
2018-02-05 18:26:25 +03:00
|
|
|
export PATH=${TASKCLUSTER_TMP_DIR}/ds/:$PATH
|
|
|
|
|
2020-02-18 11:48:47 +03:00
|
|
|
if [ "${OS}" = "Darwin" ]; then
|
|
|
|
export DYLD_LIBRARY_PATH=$TESTS_BREW/lib/:$DYLD_LIBRARY_PATH
|
|
|
|
fi;
|
|
|
|
|
2020-01-29 16:34:29 +03:00
|
|
|
check_versions
|
2018-03-15 15:53:17 +03:00
|
|
|
|
2020-01-08 17:03:54 +03:00
|
|
|
run_prod_inference_tests "${bitrate}"
|