Skip to main content

A fork of the official implementation of the Grad-TTS model.

Project description

Grad-TTS

A fork of the official implementation of the Grad-TTS model based on Diffusion Probabilistic Modelling. This fork cleans up the code to focus on easy installation and inference.

Installation

Inference

See grad_tts_cli.py for how to use the model for inference.

python grad_tts_cli.py \
    --file /PATH/TO/TEXT_FILE \
    --checkpoint /PATH/TO/GRAD_TTS_CHECKPOINT \
    --hifigan_checkpoint /PATH/TO/HIFIGAN_CHECKPOINT \
    --outdir /PATH/TO/OUTPUT_DIR

You can download Grad-TTS and HiFi-GAN checkpoints trained on LJSpeech.

References

  • HiFi-GAN model is used as vocoder, official github repository: link.
  • Monotonic Alignment Search algorithm is used for unsupervised duration modelling, official github repository: link.
  • Phonemization utilizes CMUdict, official github repository: link.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grad_tts-0.0.2.tar.gz (1.1 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

grad_tts-0.0.2-cp311-cp311-win_amd64.whl (998.7 kB view details)

Uploaded CPython 3.11Windows x86-64

grad_tts-0.0.2-cp311-cp311-musllinux_1_1_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

grad_tts-0.0.2-cp311-cp311-musllinux_1_1_i686.whl (1.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ i686

grad_tts-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

grad_tts-0.0.2-cp311-cp311-macosx_11_0_arm64.whl (998.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

grad_tts-0.0.2-cp311-cp311-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

grad_tts-0.0.2-cp310-cp310-win_amd64.whl (998.3 kB view details)

Uploaded CPython 3.10Windows x86-64

grad_tts-0.0.2-cp310-cp310-musllinux_1_1_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

grad_tts-0.0.2-cp310-cp310-musllinux_1_1_i686.whl (1.3 MB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ i686

grad_tts-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

grad_tts-0.0.2-cp310-cp310-macosx_11_0_arm64.whl (998.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

grad_tts-0.0.2-cp310-cp310-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

grad_tts-0.0.2-cp39-cp39-win_amd64.whl (998.8 kB view details)

Uploaded CPython 3.9Windows x86-64

grad_tts-0.0.2-cp39-cp39-musllinux_1_1_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

grad_tts-0.0.2-cp39-cp39-musllinux_1_1_i686.whl (1.3 MB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ i686

grad_tts-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

grad_tts-0.0.2-cp39-cp39-macosx_11_0_arm64.whl (999.1 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

grad_tts-0.0.2-cp39-cp39-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

grad_tts-0.0.2-cp38-cp38-win_amd64.whl (998.8 kB view details)

Uploaded CPython 3.8Windows x86-64

grad_tts-0.0.2-cp38-cp38-musllinux_1_1_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8musllinux: musl 1.1+ x86-64

grad_tts-0.0.2-cp38-cp38-musllinux_1_1_i686.whl (1.3 MB view details)

Uploaded CPython 3.8musllinux: musl 1.1+ i686

grad_tts-0.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

grad_tts-0.0.2-cp38-cp38-macosx_11_0_arm64.whl (999.1 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

grad_tts-0.0.2-cp38-cp38-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

Details for the file grad_tts-0.0.2.tar.gz.

File metadata

  • Download URL: grad_tts-0.0.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for grad_tts-0.0.2.tar.gz
Algorithm Hash digest
SHA256 43749ac4ab11efddac04fa2f8ad208d06fc53e05d11025cd14751f140958f6f6
MD5 aed726ad570985bc00f33200bf7c46cf
BLAKE2b-256 cdf12e4c01cc7c37572ede5beb11d70986aeed7c401cf53197f5e37931e5668f

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: grad_tts-0.0.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 998.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for grad_tts-0.0.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ebac5a98abba1c56f6cf2f126245ac50153254b996bdcfb720942ffbc453e784
MD5 fa3433579cd8392fcf8d881a4ef384b2
BLAKE2b-256 424a914e08e4653ae0aee3798029146fd0790c5d0885b02287b6cfe0cef752c3

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 58af48bfbe87ed2afdff10dc245822bf43e3439754dfac96152455a97124d63e
MD5 d19cf6a7388688c87e3e8a93ccd5108e
BLAKE2b-256 a9ce0fb7607900eb28b17d437e7a7975087752576cdb8b795289751b8b205aee

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp311-cp311-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 605e6f67c6c84e23fd4db4f6c10eb4f8eb48fc0ea022d5cb93ba87c5297922b4
MD5 38d0eda0bad4c9b8bff755b5cbed10b5
BLAKE2b-256 915742891e9217e0bafe136cf74f4a40acd6e83a05b54766310b8007c6023fcf

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c36051e190c796534e6698024f9e702dc375e7b17ac75d5b28e05901bd4258d9
MD5 2bd424e479632b5588f37e6306a2f529
BLAKE2b-256 7dca8220ff1e1db2751ea76ec5f25c4ece7023324d611e7ad5923273b7527e1e

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 19692dd5cf5db5a7d4b17dafeb7b6eda395c04e9a4bf8659f6cc4722c0a278cd
MD5 6d3ab09af501549fe5891d5679a33fcc
BLAKE2b-256 bbead85f7859c65371ed6fefb1be41cef9c21c2f7b8d38070fc5f23f25530a6f

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 187a2de3dfc74ff0201559bdeb2fdc01ed29fddee595c6ee239c5a9cec48a476
MD5 eb0adf9c1330aa12992b133d35942ee6
BLAKE2b-256 7b1bbe5df67741756858fe6cc7eb0df18851fa27b637bd6cda577dd62ff6dcb0

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: grad_tts-0.0.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 998.3 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for grad_tts-0.0.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 102c2f354deade1e0f8d19a83ae24fefeb553c394ea8bfbd20bed007bb48e22a
MD5 cada40ac249b06c6859b43d9bbf05f01
BLAKE2b-256 e3f8444e2be6976e0dd10ee0eb183a169e2327334367eb5214d6f7b7c6c19ec8

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0e44a0c749ac401e8053dfb7dcb80aecae414c08b87a2aa86ff7d19915ebddce
MD5 a23d06b53f9324544640487d9f3e14e8
BLAKE2b-256 63a60adb42cdff75cc5f08008a166e166490708d4a05859f4f7a3d4bc38baa82

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp310-cp310-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 d953d401c6c274edf8fd6aea04b8befd1a7195dbecc8a547ae229aeacfc6382a
MD5 a8bd988f90c2b9ad46dae5c9bcfb3bf7
BLAKE2b-256 f126bf1e742091be8e8677631e52c89dd64c166ab87e52f7b67a0744847831bb

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06fdbeec529f58b6c42af930569882fd9a3b8d5e9a1fd1e613bbfa49b3623b9b
MD5 d79e795b1327d83c221d7c62755541ad
BLAKE2b-256 4a14d8cb44f736e0b9c7819498864ec28c92ab89ffc76fd1075454f083d7843a

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4489a83904620f1962deed4ed9338c54017b9eeacb23a3da245d76b56b401719
MD5 921bf582243cfe764d59f255b6f557f1
BLAKE2b-256 bd46406a572d0947022ca07040d2b2e489c010e8db43e9f549b43287650d7a0c

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a8147560854ce6ab1a5f26c346adf9389d0697c0ab625bbf1547cdea169a7bbd
MD5 0d8cef278a2d0a0a5563ea05ccfd279c
BLAKE2b-256 364d40e7023953e2d093be07d7fa2b27b73202b78b725c1ee503b99c9b892fb5

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: grad_tts-0.0.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 998.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for grad_tts-0.0.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 df55b43cc5f2a5621f0510fe3715b55880ce470ea17535d1c3754ae8ed44cca6
MD5 76db8023c92de99da7a58aead7d5be46
BLAKE2b-256 b665ff69e7eaa989529528399dae9cf6a40f5a2088ee641265b1e93423aa7fa3

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7acb5811cc467e037b8f0fed8d5364f15bc6cb2468b936b98b2e37b2581a2a8d
MD5 12a02e5c45efea515ff860d647d5bcff
BLAKE2b-256 5c8a5816f616bc304946a7f4adce580314607d63258831e0f05cd223ba3a013f

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp39-cp39-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp39-cp39-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 027de511866e1b9e91356d76fc6deb8357031d8787c0ad7b3bc0d96abaac6971
MD5 0b1801605fd8372cb4716000ae65daa1
BLAKE2b-256 0a0d8266ce1015b6d113b0b2e931bc7182f63b86ac1a9f0c5dfd5d65901c9916

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b6610616b7b62b73f06cad47182f6bd4de49191263fc72473c4a2bc1e04c8128
MD5 29842ea59350507b41d0d301aa73092a
BLAKE2b-256 16b3f3b2e2198f7678cf09366061c261ea78aa7a4b53b37333f68199d4e78099

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c9b5f273e229695eb25da2ad435fb4bb2c40fffcde460fd1fab60caa6d42cd9f
MD5 b7ff199a7d89eb1181fc502a1ca1f806
BLAKE2b-256 f6c5494676ef40589ac80daa2a1a310c4167dbcea887640287d9a56c68e6cdf2

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5cc27ea7c1d39a7410c59cdbeeb7fa85af390e8ac1e4908ce593b915727e58e1
MD5 136f0b31559dc6e802d3879eff693aee
BLAKE2b-256 50839f830e6f9837df0521efbda624db3edd85ad3bbfbe1117647676c8764f71

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: grad_tts-0.0.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 998.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for grad_tts-0.0.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 def9123f7fb9b50fcdda4b5c46b9521651e6525e63320e0df63afa03a944e951
MD5 ed6ace61f9c6efeeb499aa8a6c2eecad
BLAKE2b-256 b05aec9d8b9d408f31b7bd2f12c5ed8a18d3dd210d5573a94e65e3ef017ec5e1

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 743024184c0d20df11fa859e81e9d2e5369a130f00d32fdc396ef205caa8bf0f
MD5 d03cd7d11536628d87dd93ec62524294
BLAKE2b-256 ec494f424a6565dc2edc4787d7b190d267dd60bd0d793eca17d729cffd6160ea

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp38-cp38-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp38-cp38-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 97716d8fa11e31ca2f4c00434d7423dc80176c62c63ca3c3c3d16afd7b43361a
MD5 82638343c4da4fa985284709c669e9e6
BLAKE2b-256 accfa2d8edcdb1001ae6d35162cec6dcc9eab28e79c1bcf818a97cacc3dbf8ee

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7370aac87903f94e8a5da59e3d2b0278f9ab406b3999a35196b750b94af5b72d
MD5 fb082be094931faa36135080fab1ddcd
BLAKE2b-256 68cc14a4e269b3b1641290cded8fba6c458828661ef20965ff13fdd6d2be10c3

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 23845fd6acec69a12ab23e3e7c51c3029dc29ddb4909695c594eec3acfc80d0c
MD5 bc957160211b4bb20e4f63a38987f0a3
BLAKE2b-256 686fb8626afb6d3e2e18fe1d29ee92afc2ea557f70ea5d1d06a136a5084dcdfb

See more details on using hashes here.

File details

Details for the file grad_tts-0.0.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for grad_tts-0.0.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 25400b64b40c36ceb469af07fa212fffce9033ff1013dfa1cfde368358920b1f
MD5 c09958fa120e44c09d8a3c6cd4b696c4
BLAKE2b-256 5f3aa2d56ecb90f1e5a68adb40147ca5ba250d07707e67f6af969d769010697d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page