from local

This commit is contained in:
dohe0342 2023-03-13 15:27:56 +09:00
parent b1b54ceb1c
commit e6d8cb6ea1
3 changed files with 5 additions and 4 deletions

View File

@ -124,10 +124,11 @@ def compute_fbank_LJSpeech(bpe_model: Optional[str] = None, args: Optional = Non
)
if bpe_model:
cut_set = filter_cuts(cut_set, sp)
cut_set = (
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
)
if 0:
cut_set = (
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
)
cut_set = cut_set.compute_and_store_features(
extractor=extractor,
storage_path=f"{output_dir}/{prefix}_feats_{partition}",