Skip to content

Commit

Permalink
Merge branch 'k2-fsa:master' into fix/valle2
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr authored Dec 8, 2024
2 parents d61f5a2 + d33f678 commit 5bd133e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 1 addition & 3 deletions egs/multi_zh-hans/ASR/local/compute_fbank_kespeech_splits.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5bd133e

Please sign in to comment.