From e088aa20e36b7eec0c99102411338ced67da7948 Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Sat, 8 May 2021 03:45:33 +0000 Subject: [PATCH] filter dev --- deepspeech/exps/deepspeech2/model.py | 6 ------ deepspeech/exps/u2/model.py | 6 ------ 2 files changed, 12 deletions(-) diff --git a/deepspeech/exps/deepspeech2/model.py b/deepspeech/exps/deepspeech2/model.py index eea784a5..a163ef4c 100644 --- a/deepspeech/exps/deepspeech2/model.py +++ b/deepspeech/exps/deepspeech2/model.py @@ -144,12 +144,6 @@ class DeepSpeech2Trainer(Trainer): config.data.manifest = config.data.dev_manifest config.data.augmentation_config = "" - config.data.min_input_len = 0.0 # second - config.data.max_input_len = float('inf') # second - config.data.min_output_len = 0.0 # tokens - config.data.max_output_len = float('inf') # tokens - config.data.min_output_input_ratio = 0.00 - config.data.max_output_input_ratio = float('inf') dev_dataset = ManifestDataset.from_config(config) if self.parallel: diff --git a/deepspeech/exps/u2/model.py b/deepspeech/exps/u2/model.py index db3c3427..7a409d98 100644 --- a/deepspeech/exps/u2/model.py +++ b/deepspeech/exps/u2/model.py @@ -217,12 +217,6 @@ class U2Trainer(Trainer): config.data.manifest = config.data.dev_manifest config.data.augmentation_config = "" - config.data.min_input_len = 0.0 # second - config.data.max_input_len = float('inf') # second - config.data.min_output_len = 0.0 # tokens - config.data.max_output_len = float('inf') # tokens - config.data.min_output_input_ratio = 0.00 - config.data.max_output_input_ratio = float('inf') dev_dataset = ManifestDataset.from_config(config) collate_fn = SpeechCollator(keep_transcription_text=False) -- GitLab