(self)
| 100 | |
| 101 | class PitchExtractionTask(FastSpeech2Task): |
| 102 | def __init__(self): |
| 103 | super().__init__() |
| 104 | self.dataset_cls = PeDataset |
| 105 | |
| 106 | def build_tts_model(self): |
| 107 | self.model = PitchExtractor(conv_layers=hparams['pitch_extractor_conv_layers']) |