Kahsolt / to-be-done

Long long ago there was a beast and a bird, ...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RefineGAN-unofficial

Unofficial implemetation of the RefineGAN vocoder

The RefineGAN vocoder sounds great, let's try to reproduce it!
ℹ it seems to be highly inspired by HiFiGAN, UnivNet & UNet 🎉

Model param_cnt train b/s
HiFiGAN-v1 13936130
RefineGAN 18962066

Quickstart

⚪ install

  • conda create -n refinegan & conda activate refinegan
  • install pytorch follow the official guide
  • pip install requirements.txt

⚪ inference

  • python infer.py pretrained/UNIVERSAL_V1/g_02500000
  • python infer.py pretrained/LJ_V3/generator_v3

⚪ train (refine)

train HiFiGAN:

  • download the HiFiGAN repo provided pretrained checkpoints
  • python train.py -c configs/config_v1.refine.json --load pretrained/UNIVERSAL_V1 --log_path log/test

train RefineGAN:

  • python train_refinegan.py -c configs/refinegan.json --log_path log/refinegan

reference

Thanks to the code base & pretrained ckpt from official HiFiGAN 🎉~


by Armit 2023/11/26

About

Long long ago there was a beast and a bird, ...

License:MIT License


Languages

Language:Python 100.0%