Skip to content

An unofficial minimal package for using BigVGAN at inference time

License

Notifications You must be signed in to change notification settings

thunn/BigVGANInference

Repository files navigation

BigVGAN Inference

An unofficial minimal package for using BigVGAN at inference time

PyPI version License Python versions

Installation

pip install bigvganinference

or install from source:

git clone https://github.com/thunn/BigVGANInference.git
cd BigVGANInference
poetry install

Usage

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.

Acknowledgements

This is an unofficial implementation based on original BigVGAN repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

An unofficial minimal package for using BigVGAN at inference time

Resources

License

Stars

Watchers

Forks

Packages

No packages published