mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
minor fixes
This commit is contained in:
parent
b8a34ae160
commit
e85a9359b9
@ -112,11 +112,11 @@ def preprocess_wenet_speech(speed_perturb: bool = False):
|
||||
# Run data augmentation that needs to be done in the
|
||||
# time domain.
|
||||
if partition not in ["DEV", "TEST_NET", "TEST_MEETING"]:
|
||||
if speed_perturb:
|
||||
logging.info(
|
||||
f"Speed perturb for {partition} with factors 0.9 and 1.1 "
|
||||
"(Perturbing may take 8 minutes and saving may take 20 minutes)"
|
||||
)
|
||||
if speed_perturb:
|
||||
cut_set = (
|
||||
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user