Skip to content

Commit

Permalink
fix prepare.sh (#2376)
Browse files Browse the repository at this point in the history
Co-authored-by: yuehuayingxueluo <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>
  • Loading branch information
isky-cd authored Sep 13, 2022
1 parent 07f566e commit 445cb2b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_tipc/prepare.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dataline=$(cat ${FILENAME})
# parser params
IFS=$'\n'
lines=(${dataline})
python=python

# The training params
model_name=$(func_parser_value "${lines[1]}")
Expand Down Expand Up @@ -68,7 +69,7 @@ if [[ ${MODE} = "benchmark_train" ]];then

if [[ ${model_name} == "pwgan" ]]; then
# 下载 csmsc 数据集并解压缩
wget -nc https://weixinxcxdb.oss-cn-beijing.aliyuncs.com/gwYinPinKu/BZNSYP.rar
wget -nc https://paddle-wheel.bj.bcebos.com/benchmark/BZNSYP.rar
mkdir -p BZNSYP
unrar x BZNSYP.rar BZNSYP
wget -nc https://paddlespeech.bj.bcebos.com/Parakeet/benchmark/durations.txt
Expand All @@ -80,6 +81,10 @@ if [[ ${MODE} = "benchmark_train" ]];then
python ../paddlespeech/t2s/exps/gan_vocoder/normalize.py --metadata=dump/test/raw/metadata.jsonl --dumpdir=dump/test/norm --stats=dump/train/feats_stats.npy
fi

echo "barrier start"
PYTHON="${python}" bash test_tipc/barrier.sh
echo "barrier end"

if [[ ${model_name} == "mdtc" ]]; then
# 下载 Snips 数据集并解压缩
wget https://paddlespeech.bj.bcebos.com/datasets/hey_snips_kws_4.0.tar.gz.1
Expand Down

0 comments on commit 445cb2b

Please sign in to comment.