From 3bdcf0fa32634707b013b3a3f174f4be7c20cb54 Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Mon, 13 Mar 2023 14:50:24 +0900 Subject: [PATCH] from local --- .../ASR/local/.compute_fbank_vox.py.swp | Bin 16384 -> 16384 bytes .../ASR/local/compute_fbank_vox.py | 7 +++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/egs/librispeech/ASR/local/.compute_fbank_vox.py.swp b/egs/librispeech/ASR/local/.compute_fbank_vox.py.swp index 52504a17029a89b52ea10aac4afe25d0bea820e4..61358aa18b8b9037fdae6447ee85c96232181655 100644 GIT binary patch delta 178 zcmZo@U~Fh$-0+f_wX`Hn*JATKW+xs-sm+E0m*siqa5FF{@Gvki2rw{6O%^ne4vgVv zVBiAcKYR=fhk$r45QhLU9}r*VWnkC=#O**_3B-;->;S~}K&%49mw+Z+1mej+Tnoer wK&-I2)?hj}j{*|d{NDNn)8upZLX+p(aZLVc=LV#?m^Fa<9@t4V zE*}HKX&{~m#5q8$48(VN85ouTaXS!)0kH=V3ji@c5c2`?XC4NIg+ROjh?9WW2Z;4I z*BVUc-t1~~m}xSLz1U<=Tkgq<_U>Rh-=0-V0SRQLDJYc`C1&O+DP-m;6eJdvWR_&+ T=UFi@fD}!3v=yG*V_yOQh<+_z diff --git a/egs/librispeech/ASR/local/compute_fbank_vox.py b/egs/librispeech/ASR/local/compute_fbank_vox.py index 17a2756f9..3e0ab496e 100755 --- a/egs/librispeech/ASR/local/compute_fbank_vox.py +++ b/egs/librispeech/ASR/local/compute_fbank_vox.py @@ -125,10 +125,9 @@ def compute_fbank_LJSpeech(bpe_model: Optional[str] = None, args: Optional = Non if bpe_model: cut_set = filter_cuts(cut_set, sp) - if "train" in partition: - cut_set = ( - cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1) - ) + 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}",