load_hifigan_weights

Load HiFiGAN weights from state dictionary

Description

Load HiFiGAN weights from state dictionary

Usage

1load_hifigan_weights(model, state_dict, prefix = "mel2wav.")

Arguments

  • model: HiFTGenerator model
  • state_dict: Named list of tensors
  • prefix: Prefix for weight keys (default “mel2wav.”)

Value

Model with loaded weights