Skip to content

Commit

Permalink
fix some preprocess bugs (#3155)
Browse files Browse the repository at this point in the history
  • Loading branch information
yt605155624 committed Apr 13, 2023
1 parent 9c38757 commit c7d24ba
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions paddlespeech/t2s/exps/diffsinger/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ def main():
mel_extractor=mel_extractor,
pitch_extractor=pitch_extractor,
energy_extractor=energy_extractor,
nprocs=args.num_cpu,
cut_sil=args.cut_sil,
spk_emb_dir=spk_emb_dir,
write_metadata_method=args.write_metadata_method)
Expand Down
1 change: 1 addition & 0 deletions paddlespeech/t2s/exps/ernie_sat/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ def main():
sentences=sentences,
output_dir=dev_dump_dir,
mel_extractor=mel_extractor,
nprocs=args.num_cpu,
cut_sil=args.cut_sil,
spk_emb_dir=spk_emb_dir)
if test_wav_files:
Expand Down
1 change: 1 addition & 0 deletions paddlespeech/t2s/exps/fastspeech2/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ def main():
mel_extractor=mel_extractor,
pitch_extractor=pitch_extractor,
energy_extractor=energy_extractor,
nprocs=args.num_cpu,
cut_sil=args.cut_sil,
spk_emb_dir=spk_emb_dir,
write_metadata_method=args.write_metadata_method)
Expand Down
1 change: 1 addition & 0 deletions paddlespeech/t2s/exps/speedyspeech/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def main():
sentences=sentences,
output_dir=dev_dump_dir,
mel_extractor=mel_extractor,
nprocs=args.num_cpu,
cut_sil=args.cut_sil,
use_relative_path=args.use_relative_path)
if test_wav_files:
Expand Down
1 change: 1 addition & 0 deletions paddlespeech/t2s/exps/tacotron2/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ def main():
sentences=sentences,
output_dir=dev_dump_dir,
mel_extractor=mel_extractor,
nprocs=args.num_cpu,
cut_sil=args.cut_sil,
spk_emb_dir=spk_emb_dir)
if test_wav_files:
Expand Down
1 change: 1 addition & 0 deletions paddlespeech/t2s/exps/vits/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ def main():
sentences=sentences,
output_dir=dev_dump_dir,
spec_extractor=spec_extractor,
nprocs=args.num_cpu,
cut_sil=args.cut_sil,
spk_emb_dir=spk_emb_dir)
if test_wav_files:
Expand Down

0 comments on commit c7d24ba

Please sign in to comment.