(self)
| 36 | |
| 37 | class HighGAN(BaseVocoder): |
| 38 | def __init__(self): |
| 39 | vocoder_ckpt = hparams['vocoder_ckpt'] |
| 40 | checkpoint_path = "highgan/" + vocoder_ckpt |
| 41 | config_path = os.path.dirname(checkpoint_path) + "/config.yml" |
| 42 | model, self.config = load_model_config(checkpoint_path, config_path) |
| 43 | self.model = model.eval().to('cuda') |
| 44 | |
| 45 | def spec2wav(self, mel, **kwargs): |
| 46 | f0 = kwargs['f0'] |
nothing calls this directly
no test coverage detected