diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.pseudo.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.pseudo.py.swp index 9053e7033..3cab35cf2 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.pseudo.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.pseudo.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/pseudo.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/pseudo.py index c15d008f0..b0fa2f19b 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/pseudo.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/pseudo.py @@ -778,7 +778,7 @@ def main(): #test_other_cuts = librispeech.test_other_cuts(option='male') test_clean_cuts = librispeech.vox_cuts(option=params.spk_id) - def remove_short_and_long_utt(c: Cut): + def remove_short_and_long_utt(c): return 1.0 <= c.duration <= 20.0 test_clean_cuts = test_clean_cuts.filter(remove_short_and_long_utt)