зеркало из https://github.com/mozilla/DeepSpeech.git
30 строки
541 B
Bash
Executable File
30 строки
541 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -xe
|
|
|
|
source $(dirname "$0")/all-vars.sh
|
|
source $(dirname "$0")/all-utils.sh
|
|
source $(dirname "$0")/asserts.sh
|
|
|
|
bitrate=$1
|
|
set_ldc_sample_filename "${bitrate}"
|
|
|
|
model_source=${DEEPSPEECH_TEST_MODEL//.pb/.tflite}
|
|
model_name=$(basename "${model_source}")
|
|
model_name_mmap=$(basename "${model_source}")
|
|
export DATA_TMP_DIR=${CI_TMP_DIR}
|
|
|
|
download_material "${CI_TMP_DIR}/ds"
|
|
|
|
export PATH=${CI_TMP_DIR}/ds/:$PATH
|
|
|
|
check_versions
|
|
|
|
run_all_inference_tests
|
|
|
|
run_multi_inference_tests
|
|
|
|
run_cpp_only_inference_tests
|
|
|
|
run_hotword_tests
|