Skip to content

Commit

Permalink
fix pwgan tipc (#2882)
Browse files Browse the repository at this point in the history
  • Loading branch information
yt605155624 authored Feb 6, 2023
1 parent 6b00ad6 commit 089c060
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_tipc/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ if [[ ${MODE} = "benchmark_train" ]];then
mkdir -p BZNSYP
unrar x BZNSYP.rar BZNSYP
wget -nc https://paddlespeech.bj.bcebos.com/Parakeet/benchmark/durations.txt
# 避免网络问题导致的 nltk_data 无法下载使程序 hang 住
wget -nc https://paddlespeech.bj.bcebos.com/Parakeet/tools/nltk_data.tar.gz
tar -xzf nltk_data.tar.gz -C ${HOME}
# 数据预处理
python ../paddlespeech/t2s/exps/gan_vocoder/preprocess.py --rootdir=BZNSYP/ --dumpdir=dump --num-cpu=20 --cut-sil=True --dur-file=durations.txt --config=../examples/csmsc/voc1/conf/default.yaml
python ../utils/compute_statistics.py --metadata=dump/train/raw/metadata.jsonl --field-name="feats"
Expand Down

0 comments on commit 089c060

Please sign in to comment.