from dataclasses import dataclass | |
from TTS.tts.configs.tacotron_config import TacotronConfig | |
class Tacotron2Config(TacotronConfig): | |
"""Defines parameters for Tacotron2 based models. | |
Example: | |
>>> from TTS.tts.configs.tacotron2_config import Tacotron2Config | |
>>> config = Tacotron2Config() | |
Check `TacotronConfig` for argument descriptions. | |
""" | |
model: str = "tacotron2" | |
out_channels: int = 80 | |
encoder_in_features: int = 512 | |
decoder_in_features: int = 512 | |