From 6a425ed79323cc0de050807b3ccbb327fa7303ec Mon Sep 17 00:00:00 2001 From: Guanbo Wang Date: Mon, 11 Apr 2022 20:12:00 -0400 Subject: [PATCH] Keep the original tolerance --- egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py b/egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py index 0c3077fa6..6b7fcbaf4 100755 --- a/egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py +++ b/egs/gigaspeech/ASR/local/compute_fbank_gigaspeech_splits.py @@ -26,7 +26,6 @@ from lhotse import ( CutSet, KaldifeatFbank, KaldifeatFbankConfig, - set_audio_duration_mismatch_tolerance, ) # Torch's multithreaded behavior needs to be disabled or @@ -100,8 +99,6 @@ def compute_fbank_gigaspeech_splits(args): extractor = KaldifeatFbank(KaldifeatFbankConfig(device=device)) logging.info(f"device: {device}") - set_audio_duration_mismatch_tolerance(0.01) # 10ms tolerance - for i in range(start, stop): idx = f"{i + 1}".zfill(num_digits) logging.info(f"Processing {idx}/{num_splits}")