diff --git a/TTS/tts/configs/shared_configs.py b/TTS/tts/configs/shared_configs.py index 4704687c..e1ea8be3 100644 --- a/TTS/tts/configs/shared_configs.py +++ b/TTS/tts/configs/shared_configs.py @@ -200,9 +200,6 @@ class BaseTTSConfig(BaseTrainingConfig): loss_masking (bool): enable / disable masking loss values against padded segments of samples in a batch. - sort_by_audio_len (bool): - If true, dataloder sorts the data by audio length else sorts by the input text length. Defaults to `False`. - min_text_len (int): Minimum length of input text to be used. All shorter samples will be ignored. Defaults to 0. @@ -303,7 +300,6 @@ class BaseTTSConfig(BaseTrainingConfig): batch_group_size: int = 0 loss_masking: bool = None # dataloading - sort_by_audio_len: bool = False min_audio_len: int = 1 max_audio_len: int = float("inf") min_text_len: int = 1 diff --git a/recipes/blizzard2013/tacotron2-Capacitron/train_capacitron_t2.py b/recipes/blizzard2013/tacotron2-Capacitron/train_capacitron_t2.py index cf27b9df..9d588038 100644 --- a/recipes/blizzard2013/tacotron2-Capacitron/train_capacitron_t2.py +++ b/recipes/blizzard2013/tacotron2-Capacitron/train_capacitron_t2.py @@ -83,8 +83,6 @@ config = Tacotron2Config( ] }, scheduler_after_epoch=False, # scheduler doesn't work without this flag - # dashboard_logger='wandb', - # sort_by_audio_len=True, seq_len_norm=True, # Need to experiment with these below for capacitron loss_masking=False,