Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr committed Jul 21, 2023
1 parent b8a34ae commit e85a935
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions egs/wenetspeech/ASR/local/preprocess_wenetspeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
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:
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)"
)
cut_set = (
cut_set + cut_set.perturb_speed(0.9) + cut_set.perturb_speed(1.1)
)
Expand Down

0 comments on commit e85a935

Please sign in to comment.