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.3.tar.gz
(11.8 kB
view hashes)
Built Distribution
Close
Hashes for tacotron2_model-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad3e137efc7059c0f33c8db1e898e185f7a397108382b6fc96e09a12111cc83a |
|
MD5 | 7b7c91fa2efa288ed322243026f6dab0 |
|
BLAKE2b-256 | 2ecf1bf6a52095ff542b3639afe02890b724b7dfd39d4a6059433950765fc9c9 |