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
tacotron2-model-0.2.4.tar.gz
(11.8 kB
view hashes)
Built Distribution
Close
Hashes for tacotron2_model-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 209875dd0b508409a315b74c67ae530cc4d5117fc5e87f415098d50bfba4c161 |
|
MD5 | 065ff5c9dbeda526e5874bb6e6cafd74 |
|
BLAKE2b-256 | fc8bfdb4e958aab7a36e7bec630b2b000658f677772ab4ab089f2fc9cdabdc7c |