mirror of https://github.com/coqui-ai/TTS.git
Remove redundant config field
This commit is contained in:
parent
5cef6facb0
commit
f1e35596e8
|
@ -200,9 +200,6 @@ class BaseTTSConfig(BaseTrainingConfig):
|
||||||
loss_masking (bool):
|
loss_masking (bool):
|
||||||
enable / disable masking loss values against padded segments of samples in a batch.
|
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):
|
min_text_len (int):
|
||||||
Minimum length of input text to be used. All shorter samples will be ignored. Defaults to 0.
|
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
|
batch_group_size: int = 0
|
||||||
loss_masking: bool = None
|
loss_masking: bool = None
|
||||||
# dataloading
|
# dataloading
|
||||||
sort_by_audio_len: bool = False
|
|
||||||
min_audio_len: int = 1
|
min_audio_len: int = 1
|
||||||
max_audio_len: int = float("inf")
|
max_audio_len: int = float("inf")
|
||||||
min_text_len: int = 1
|
min_text_len: int = 1
|
||||||
|
|
|
@ -83,8 +83,6 @@ config = Tacotron2Config(
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
scheduler_after_epoch=False, # scheduler doesn't work without this flag
|
scheduler_after_epoch=False, # scheduler doesn't work without this flag
|
||||||
# dashboard_logger='wandb',
|
|
||||||
# sort_by_audio_len=True,
|
|
||||||
seq_len_norm=True,
|
seq_len_norm=True,
|
||||||
# Need to experiment with these below for capacitron
|
# Need to experiment with these below for capacitron
|
||||||
loss_masking=False,
|
loss_masking=False,
|
||||||
|
|
Loading…
Reference in New Issue