seungwonpark / melgan

MelGAN vocoder (compatible with NVIDIA/tacotron2)
http://swpark.me/melgan/
BSD 3-Clause "New" or "Revised" License
633 stars 116 forks source link

remove weight normalization at inference phase #16

Closed seungwonpark closed 4 years ago

seungwonpark commented 4 years ago

I'm thinking of writing some code snippet to remove weight normalization of pt file, and remove discriminator components to make the checkpoint file smaller.

Liujingxiu23 commented 4 years ago

@seungwonpark is the output with or without remove_weight_norm is the same?

I use melgan scripts https://github.com/descriptinc/melgan-neurips and following your way to remove the weight norm parameters. But the output differs from the original outputs.