jik876 / hifi-gan

HiFi-GAN: Generative Adversarial Networks for Efficient and High Fidelity Speech Synthesis
MIT License
1.92k stars 506 forks source link

How to convert the genererator files into .pth format and generate the config file that can be used with tts #142

Open arnav-newzera opened 1 year ago

arnav-newzera commented 1 year ago

Forgive me if its something obvious that i have overlooked. I have trained the vocoder on a custom LJSpeech format dataset with config_v2.json. i have the generator file checkpoints under the cp_hifigan/ directory. I want to convert it into a .pth file and also generate the config.json file for the model so that i can use it with an accoustic model what i trained of the same dataset. How do i go about doing that?