Skip to content

Commit

Permalink
move link_wav.py to paddlespeech/t2s/exps/gan_vocoder/
Browse files Browse the repository at this point in the history
move link_wav.py to paddlespeech/t2s/exps/gan_vocoder/ so that different vocoders can use one script.
  • Loading branch information
jerryuhoo committed Jan 6, 2022
1 parent 76f98c6 commit c94f346
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 88 deletions.
2 changes: 1 addition & 1 deletion examples/csmsc/voc3/finetune.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
fi

if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
python3 local/link_wav.py \
python3 ${MAIN_ROOT}/paddlespeech/t2s/exps/gan_vocoder/link_wav.py \
--old-dump-dir=dump \
--dump-dir=dump_finetune
fi
Expand Down
85 changes: 0 additions & 85 deletions examples/csmsc/voc3/local/link_wav.py

This file was deleted.

2 changes: 1 addition & 1 deletion examples/csmsc/voc5/finetune.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
fi

if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
python3 local/link_wav.py \
python3 ${MAIN_ROOT}/paddlespeech/t2s/exps/gan_vocoder/link_wav.py \
--old-dump-dir=dump \
--dump-dir=dump_finetune
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def main():
results = []
files = os.listdir(output_dir / "raw")
for name in tqdm(files):
# 003918_feats.npy
utt_id = name.split("_feats.npy")[0]
mel_path = output_dir / ("raw/" + name)
gen_mel = np.load(mel_path)
Expand Down

0 comments on commit c94f346

Please sign in to comment.