Skip to main content

Unofficial implementation of the HiFi-GAN+ model for audio bandwidth extension

Project description

HiFi-GAN+

This package is an unoffical implementation of the HiFi-GAN+ model for audio bandwidth extension

Status

PyPI Tests Coveralls

Install with pip

pip install hifi-gan-bwe

Usage

Development

Setup

The following script creates a virtual environment using pyenv for the project and installs dependencies.

pyenv install 3.9.10
pyenv virtualenv 3.9.10 hifi-gan-bwe
pip install -r requirements.txt

You can then run tests, etc. follows:

pytest --cov=hifi_gan_bwe
black .
isort --profile=black .
flake8 .
mypy .

These can also be used with the pre-commiit library to run all checks at commit time.

Deployment

The project uses setup.py for installation and is deployed to PyPI. The source distribution can be built for deployment with the following command:

python setup.py clean --all
rm -r ./dist
python setup.py sdist

The distribution can then be uploaded to PyPI using twine.

twine upload --repository-url=https://upload.pypi.org/legacy/ dist/*

For deployment testing, the following command can be used to upload to the PyPI test repository:

twine upload --repository-url=https://test.pypi.org/legacy/ dist/*

License

Copyright © 2022 Brent M. Spell

Licensed under the MIT License (the "License"). You may not use this package except in compliance with the License. You may obtain a copy of the License at

https://opensource.org/licenses/MIT

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hifi-gan-bwe-0.1.3.tar.gz (13.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page