Merge branch 'k2-fsa:master' into fix/valle2

This commit is contained in:
zr_jin 2024-12-08 16:37:41 +08:00 committed by GitHub
commit 5bd133e56c
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(