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()
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
tacotron2-model-0.2.2.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for tacotron2_model-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03dd7ccd76f54ceb75626f7c4f6d4f70e6d6a99bc283db2fd14d43ec7fa97b80 |
|
MD5 | ab5421bc795e956081f38b2e8e1dcea3 |
|
BLAKE2b-256 | d0f040f1989f83705887e348146a7307e274834b698f789cca5786c7f2463889 |