waveglow-cli
Command-line interface (CLI) to train WaveGlow using .wav files.
Features
- train/synthesize on CPU or GPU
- download pre-trained models by Nvidia
Installation
pip install waveglow-cli --user
Usage
usage: waveglow-cli [-h] [-v] {download,train,continue-train,validate,synthesize,synthesize-wav} ...
This program trains WaveGlow.
positional arguments:
{download,train,continue-train,validate,synthesize,synthesize-wav}
description
download download pre-trained checkpoint from Nvidia
train start training
continue-train continue training
validate validate checkpoint(s)
synthesize synthesize mel-spectrograms into an audio signal
synthesize-wav synthesize audio file into an audio signal
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
Pretrained Models
- LJS-v3-580000: Adapted model trained on LJ Speech dataset by Nvidia.
Audio Example
"The North Wind and the Sun were disputing which was the stronger, when a traveler came along wrapped in a warm cloak." Listen here (headphones recommended)
Roadmap
- Outsource method to convert audio files to mel-spectrograms before training
- Improve logging
- Add more audio examples
- Adding tests
Development setup
# update
sudo apt update
# install Python 3.8-3.11 for ensuring that tests can be run
sudo apt install python3-pip \
python3.8 python3.8-dev python3.8-distutils python3.8-venv \
python3.9 python3.9-dev python3.9-distutils python3.9-venv \
python3.10 python3.10-dev python3.10-distutils python3.10-venv \
python3.11 python3.11-dev python3.11-distutils python3.11-venv
# install pipenv for creation of virtual environments
python3.8 -m pip install pipenv --user
# check out repo
git clone https://github.com/stefantaubert/waveglow.git
cd waveglow
# create virtual environment
python3.8 -m pipenv install --dev
Running the tests
# first install the tool like in "Development setup"
# then, navigate into the directory of the repo (if not already done)
cd waveglow
# activate environment
python3.8 -m pipenv shell
# run tests
tox
Final lines of test result output:
py38: commands succeeded
py39: commands succeeded
py310: commands succeeded
py311: commands succeeded
congratulations :)
License
MIT License
Acknowledgments
Model code adapted from Nvidia.
Paper:
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project-ID 416228727 – CRC 1410
Citation
If you want to cite this repo, you can use the BibTeX-entry generated by GitHub (see About => Cite this repository).
Taubert, S. (2024). waveglow-cli (Version 0.0.2) [Computer software]. [https://doi.org/10.5281/zenodo.10569141](https://doi.org/10.5281/zenodo.10569141)
Metadata
Release files for waveglow-cli 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| waveglow-cli-0.0.2.tar.gz | 428.1 kB | Without provenance | Details for waveglow-cli-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| waveglow_cli-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for waveglow_cli-0.0.2-py3-none-any.whl |
Total release size: 488.9 kB
Release files / waveglow-cli-0.0.2.tar.gz
| Download URL | waveglow-cli-0.0.2.tar.gz |
|---|---|
| Size | 428.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09f770d9dbf6ea0970fdc9abec332662c3650e6712f57e1103bc52ff8a34c3f3
|
|
BLAKE2b-256 checksum How to use checksums |
0c60679d27aca5083d9bbfad9dc9d44faf907f4225787e90cefc2bc4da023405
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / waveglow_cli-0.0.2-py3-none-any.whl
| Download URL | waveglow_cli-0.0.2-py3-none-any.whl |
|---|---|
| Size | 60.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d50a68bcef9d5923d6a5d67ad17a2e37d11b0b38276d838de763c6543d97279
|
|
BLAKE2b-256 checksum How to use checksums |
8d36a251676f73d6c695f385b3870b96e80d243fbe0db17cd6fc7715b9656cb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for waveglow-cli 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.