From 96cff34d15a1c421ac26d239feea9d0de32be348 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 18 Nov 2022 18:20:34 +0800 Subject: [PATCH] small fixes --- egs/wenetspeech/ASR/pruned_transducer_stateless7/train.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/egs/wenetspeech/ASR/pruned_transducer_stateless7/train.py b/egs/wenetspeech/ASR/pruned_transducer_stateless7/train.py index e8d577df6..3d736cdd4 100755 --- a/egs/wenetspeech/ASR/pruned_transducer_stateless7/train.py +++ b/egs/wenetspeech/ASR/pruned_transducer_stateless7/train.py @@ -1034,15 +1034,15 @@ def run(rank, world_size, args): valid_cuts = wenetspeech.valid_cuts() def remove_short_and_long_utt(c: Cut): - # Keep only utterances with duration between 1 second and 19 seconds + # Keep only utterances with duration between 1 second and 15 seconds # - # Caution: There is a reason to select 19.0 here. Please see + # Caution: There is a reason to select 15.0 here. Please see # ../local/display_manifest_statistics.py # # You should use ../local/display_manifest_statistics.py to get # an utterance duration distribution for your dataset to select # the threshold - return 1.0 <= c.duration <= 19.0 + return 1.0 <= c.duration <= 15.0 train_cuts = train_cuts.filter(remove_short_and_long_utt)