MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / build_tts_model

Method build_tts_model

tasks/tts/pe.py:106–107  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

104 self.dataset_cls = PeDataset
105
106 def build_tts_model(self):
107 self.model = PitchExtractor(conv_layers=hparams['pitch_extractor_conv_layers'])
108
109 # def build_scheduler(self, optimizer):
110 # return torch.optim.lr_scheduler.StepLR(optimizer, hparams['decay_steps'], gamma=0.5)

Callers

nothing calls this directly

Calls 1

PitchExtractorClass · 0.90

Tested by

no test coverage detected