mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-14 12:32:20 +00:00
black formatted
This commit is contained in:
parent
6e6b022e41
commit
fa64e37dbe
@ -104,6 +104,9 @@ def compute_fbank_kespeech_dev_test(args):
|
||||
keep_overlapping=False, min_duration=None
|
||||
)
|
||||
|
||||
if args.speed_perturb:
|
||||
cut_set = cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
|
||||
|
||||
logging.info("Computing features")
|
||||
cut_set = cut_set.compute_and_store_features_batch(
|
||||
extractor=extractor,
|
||||
|
@ -158,6 +158,9 @@ def compute_fbank_kespeech_splits(args):
|
||||
keep_overlapping=False, min_duration=None
|
||||
)
|
||||
|
||||
if args.speed_perturb:
|
||||
cut_set = cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
|
||||
|
||||
logging.info("Computing features")
|
||||
cut_set = cut_set.compute_and_store_features_batch(
|
||||
extractor=extractor,
|
||||
|
Loading…
x
Reference in New Issue
Block a user