From c170c53006a7822e06832e960b630bcae964893a Mon Sep 17 00:00:00 2001 From: Daniel Povey Date: Thu, 10 Feb 2022 14:59:14 +0800 Subject: [PATCH] Change p=0.9 to p=0.8 in SpecAug --- egs/librispeech/ASR/tdnn_lstm_ctc/asr_datamodule.py | 2 +- egs/librispeech/ASR/transducer_stateless/train.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/librispeech/ASR/tdnn_lstm_ctc/asr_datamodule.py b/egs/librispeech/ASR/tdnn_lstm_ctc/asr_datamodule.py index 7df7a3525..044ad4fc6 100644 --- a/egs/librispeech/ASR/tdnn_lstm_ctc/asr_datamodule.py +++ b/egs/librispeech/ASR/tdnn_lstm_ctc/asr_datamodule.py @@ -223,7 +223,7 @@ class LibriSpeechAsrDataModule: num_feature_masks=2, frames_mask_size=100, max_frames_mask_fraction=0.2, - p=0.9 + p=0.8 ) ) else: diff --git a/egs/librispeech/ASR/transducer_stateless/train.py b/egs/librispeech/ASR/transducer_stateless/train.py index 136faca57..62cd1e764 100755 --- a/egs/librispeech/ASR/transducer_stateless/train.py +++ b/egs/librispeech/ASR/transducer_stateless/train.py @@ -109,7 +109,7 @@ def get_parser(): parser.add_argument( "--exp-dir", type=str, - default="transducer_stateless/exp-100h-relu-specaugmod_p0.9_0.2", + default="transducer_stateless/exp-100h-relu-specaugmod_p0.8_0.2", help="""The experiment dir. It specifies the directory where all training related files, e.g., checkpoints, log, etc, are saved