fixed the formatting issue of PR#1812 (#1828)

This commit is contained in:
zr_jin 2024-12-08 16:37:24 +08:00 committed by GitHub
parent 5c04f7bfb8
commit d33f678176
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 6 deletions

View File

@ -111,9 +111,8 @@ def compute_fbank_kespeech_dev_test(args):
)
if args.speed_perturb:
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)
logging.info("Computing features")
cut_set = cut_set.compute_and_store_features_batch(
extractor=extractor,

View File

@ -167,9 +167,7 @@ def compute_fbank_kespeech_splits(args):
)
if args.speed_perturb:
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)
logging.info("Computing features")
cut_set = cut_set.compute_and_store_features_batch(