You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/runtime/examples/vad/local/decode.sh

24 lines
343 B

#!/bin/bash
set -e
conf=conf
data=data
exp=exp
. utils/parse_options.sh
mkdir -p $exp
ckpt_dir=$data/silero_vad
model=$ckpt_dir/silero_vad.onnx
test_wav=$data/silero_vad_sample.wav
conf_file=$conf/vad.ini
vad_nnet_main $model $test_wav
echo "vad_nnet_main done!"
vad_interface_main $conf_file $test_wav
echo "vad_interface_main done!"