A PyPI port of the NVIDIA Tacotron2 model
Project description
tacotron2-model
A PyPI port of the NVIDIA Tacotron2 model
Source: https://github.com/NVIDIA/tacotron2 (model.py)
A pytorch install is required but is not added to requirements to avoid configuration issues.
The only change from the NVIDIA original is a replacement of hparams with individual arguments. This removes the dependency on tf.contrib.training.HParams (deprecated since tensorflow 1).
Model usage
from tacotron2_model import Tacotron2
model = Tacotron2().cuda()
print(model.eval())
Loss usage
from tacotron2_model import Tacotron2Loss
criterion = Tacotron2Loss()
Collate usage
from tacotron2_model import TextMelCollate
collate_fn = TextMelCollate()
STFT
from tacotron2_model import TacotronSTFT
stft = TacotronSTFT()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tacotron2-model-0.2.4.tar.gz.
File metadata
- Download URL: tacotron2-model-0.2.4.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4edf8ef4870ddd2d869eeaf48044600272d05abf45cd0a62ac98d672b780e29c
|
|
| MD5 |
fbd3b3dbdfcd352a815560e8b43d14e7
|
|
| BLAKE2b-256 |
2bceec22fa614c6a465517bd866ad45302c811b206962107c545afb65c3342f4
|
File details
Details for the file tacotron2_model-0.2.4-py3-none-any.whl.
File metadata
- Download URL: tacotron2_model-0.2.4-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
209875dd0b508409a315b74c67ae530cc4d5117fc5e87f415098d50bfba4c161
|
|
| MD5 |
065ff5c9dbeda526e5874bb6e6cafd74
|
|
| BLAKE2b-256 |
fc8bfdb4e958aab7a36e7bec630b2b000658f677772ab4ab089f2fc9cdabdc7c
|