An unofficial minimal package for using BigVGAN at inference time
pip install bigvganinference
or install from source:
git clone https://github.com/thunn/BigVGANInference.git
cd BigVGANInference
poetry install
Loading model is as simple as:
from bigvganinference import BigVGANInference, BigVGANHFModel
# model is loaded, set to eval and weight norm is removed
model = BigVGANInference.from_pretrained(
BigVGANHFModel.V2_44KHZ_128BAND_512X, use_cuda_kernel=False
)
output_audio = model(input_mel)
See the example for full usage example.
This is an unofficial implementation based on original BigVGAN repository.
This project is licensed under the MIT License. See the LICENSE file for details.