Skip to main content

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()

Metadata

Release files for tacotron2-model 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tacotron2-model 0.2.4
File Size Uploaded
tacotron2-model-0.2.4.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tacotron2-model 0.2.4
File Interpreter ABI Platform
tacotron2_model-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 30.6 kB

Release files / tacotron2-model-0.2.4.tar.gz

Download URL tacotron2-model-0.2.4.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4edf8ef4870ddd2d869eeaf48044600272d05abf45cd0a62ac98d672b780e29c
BLAKE2b-256 checksum
How to use checksums
2bceec22fa614c6a465517bd866ad45302c811b206962107c545afb65c3342f4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / tacotron2_model-0.2.4-py3-none-any.whl

Download URL tacotron2_model-0.2.4-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
209875dd0b508409a315b74c67ae530cc4d5117fc5e87f415098d50bfba4c161
BLAKE2b-256 checksum
How to use checksums
fc8bfdb4e958aab7a36e7bec630b2b000658f677772ab4ab089f2fc9cdabdc7c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page