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/run.sh

37 lines
470 B

#!/bin/bash
set -e
. path.sh
nj=40
stage=-1
stop_stage=100
. utils/parse_options.sh
# input
data=data
exp=exp
mkdir -p $exp $data
# 1. compile
if [ ! -d ${ENGINE_BUILD} ]; then
pushd ${ENGINE_ROOT}
bash build.sh
# build for android armv8/armv7
# bash build_android.sh
popd
fi
if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ];then
./local/download.sh
fi
if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
./local/decode.sh
fi