22 lines
517 B
Python
22 lines
517 B
Python
|
from dataclasses import dataclass
|
||
|
|
||
|
from TTS.tts.configs.tacotron_config import TacotronConfig
|
||
|
|
||
|
|
||
|
@dataclass
|
||
|
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
|