DeepSpeech/taskcluster/tc-cpp-ds-tests-prod.sh

27 строки
542 B
Bash
Исходник Обычный вид История

#!/bin/bash
set -xe
source $(dirname "$0")/tc-tests-utils.sh
bitrate=$1
set_ldc_sample_filename "${bitrate}"
model_source=${DEEPSPEECH_PROD_MODEL}
model_name=$(basename "${model_source}")
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"
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
run_prod_inference_tests "${bitrate}"