Skip to content

Commit d33f678

Browse files
authored
fixed the formatting issue of PR#1812 (k2-fsa#1828)
1 parent 5c04f7b commit d33f678

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

egs/multi_zh-hans/ASR/local/compute_fbank_kespeech_dev_test.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ def compute_fbank_kespeech_dev_test(args):
111111
)
112112

113113
if args.speed_perturb:
114-
cut_set = (
115-
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
116-
)
114+
cut_set = cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
115+
117116
logging.info("Computing features")
118117
cut_set = cut_set.compute_and_store_features_batch(
119118
extractor=extractor,

egs/multi_zh-hans/ASR/local/compute_fbank_kespeech_splits.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ def compute_fbank_kespeech_splits(args):
167167
)
168168

169169
if args.speed_perturb:
170-
cut_set = (
171-
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
172-
)
170+
cut_set = cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
173171

174172
logging.info("Computing features")
175173
cut_set = cut_set.compute_and_store_features_batch(

0 commit comments

Comments
 (0)