2021-03-25 18:20:11 +03:00
|
|
|
#!/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}")
|
|
|
|
|
2021-03-29 12:48:58 +03:00
|
|
|
download_data
|
2021-03-25 18:20:11 +03:00
|
|
|
|
2021-04-19 15:06:40 +03:00
|
|
|
export_py_bin_path
|
|
|
|
|
2021-03-29 12:48:58 +03:00
|
|
|
deepspeech --version
|
2021-03-25 18:20:11 +03:00
|
|
|
|
|
|
|
run_all_inference_tests
|
|
|
|
|
|
|
|
run_hotword_tests
|