Commit graph

74 commits

Author SHA1 Message Date
spottenn d35e33dfd6 Fixed redact index error bug https://github.com/neonbjb/tortoise-tts/issues/362 2023-06-10 12:23:07 -06:00
James Betker 25dd04650c
Revert autocast "fix". 2023-04-02 04:04:18 -07:00
Sergey 4e990b4327
Update diffusion_decoder.py
Chanhged import autocast from torch
2023-03-29 13:20:18 +03:00
James Betker 5dc3e269b3
Merge pull request #233 from kianmeng/fix-typos
Fix typos
2023-01-17 18:24:24 -07:00
원빈 정 b3d67dcc6b Add reference of univnet implementation 2023-01-06 15:57:02 +09:00
Kian-Meng Ang 551fe655ff Fix typos
Found via `codespell -S *.json -L splitted,nd,ser,broadcat`
2023-01-06 11:04:36 +08:00
James Betker 958c6d2f73 Get rid of checkpointing
It isn't needed in inference.
2022-06-15 22:09:15 -06:00
Johan Nordberg de7c5ddec3 Typofix 2022-06-11 21:19:07 +09:00
Johan Nordberg b876a6b32c Allow running on CPU 2022-06-11 20:03:14 +09:00
Marcus Llewellyn 700978b777 Fixed silly lack of EOF blank line, indentation 2022-06-06 15:13:29 -05:00
Marcus Llewellyn 2477a4f763 read.py combines all candidates
If candidates where greater than 1 on in read.py, only the fist candidate clips would be combined. This adds a bit of code to make a combined file for every candidate.
2022-06-04 17:47:29 -05:00
James Betker 68c1580f94
Merge pull request #74 from jnordberg/improved-cli
Add CLI tool
2022-05-28 21:33:53 -06:00
Johan Nordberg d8f98c07b4 Remove some assumptions about working directory
This allows cli tool to run when not standing in repository dir
2022-05-29 01:10:19 +00:00
Johan Nordberg 9f6ae0f0b3 Add tortoise_cli.py 2022-05-28 05:25:23 +00:00
Johan Nordberg 561ae9a31e Typofix 2022-05-28 01:29:34 +00:00
Johan Nordberg 6a71d90316 Improve splitting on text that has many quotes 2022-05-28 01:22:21 +00:00
Johan Nordberg f199d6b85c Add riding hood test
Also fix a bug discovered by the test that would seek past the text end if it ended in a boundary
2022-05-27 23:08:53 +00:00
Johan Nordberg b294f0217f Improve sentence boundary detection 2022-05-27 05:58:09 +00:00
Josh Ziegler 5b0e50eaa6
avoid mutable default in aligner 2022-05-26 16:20:09 -04:00
James Betker f56f3d5468 Fix import issue for CVVP 2022-05-26 08:44:20 -06:00
Johan Nordberg b681fa9d11 Skip CLVP if cvvp_amount is 1
Also fixes formatting bug in log message
2022-05-25 11:12:53 +00:00
Johan Nordberg a52e3026ba Revive CVVP model 2022-05-25 10:22:50 +00:00
James Betker 7f9f1dbfc3 Fix bug 2022-05-22 05:50:26 -06:00
James Betker e118785aaf Support combining voices in do_tts 2022-05-22 05:28:15 -06:00
James Betker e882484c4a Update read.py to support multiple candidates 2022-05-22 05:26:01 -06:00
Tristan Drake cdc138a3df Updated lescault voices 2022-05-19 17:39:25 -04:00
James Betker f4bd9c4dd0 Fix faulty merge 2022-05-19 10:37:57 -06:00
James Betker 1a8c9f741a Merge remote-tracking branch 'origin/main'
# Conflicts:
#	tortoise/read.py
2022-05-19 10:34:54 -06:00
James Betker 6d3157ebff Remove faulty 3rd example for train_mouse 2022-05-19 10:30:02 -06:00
James Betker 550874cbec Update broken train_empire voice 2022-05-19 10:26:46 -06:00
Johan Nordberg e34ffca8fb Allow passing additional voice directories when loading voices 2022-05-19 21:02:11 +09:00
Johan Nordberg 20220893af Allow setting models path from environment variable 2022-05-19 21:02:09 +09:00
James Betker 8139afd0e5 Remove CVVP
After training a similar model for a different purpose, I realized that
this model is faulty: the contrastive loss it uses only pays attention
to high-frequency details which do not contribute meaningfully to
output quality. I validated this by comparing a no-CVVP output with
a baseline using tts-scores and found no differences.
2022-05-17 12:21:25 -06:00
James Betker aef86d21bf Add a way to get deterministic behavior from tortoise and add debug states for reporting 2022-05-17 12:11:18 -06:00
James Betker 9eac62598a Merge remote-tracking branch 'origin/main' 2022-05-17 11:22:40 -06:00
James Betker 24612f81c2 Add chapter 1 of GoT for read.py demos 2022-05-17 11:21:57 -06:00
James Betker 160963b105 Add conditioning latent example 2022-05-17 11:21:37 -06:00
Danila Berezin dc3d7b1667
Fix bug in load_voices in audio.py
The read.py script did not work with pth latents, so I fix bug in audio.py. It seems that in the elif statement, instead of voice, voices should be clip, clips. And torch stack doesn't work with tuples, so I had to split this operation.
2022-05-17 18:34:54 +03:00
James Betker 11e80b0dae
Merge pull request #42 from jnordberg/main
Improve sentence splitting
2022-05-14 08:52:46 -06:00
James Betker 50690e4465 Automatically pick batch size based on available GPU memory 2022-05-13 10:30:02 -06:00
James Betker cb7adf16af Remove samples_generator
Was useful but the page is more detailed now.
2022-05-13 10:28:16 -06:00
Johan Nordberg 5197904660 Improve sentence splitting 2022-05-13 11:02:17 +00:00
James Betker 1a4f0fa350 update model paths (including clvp2!) 2022-05-12 20:18:11 -06:00
James Betker 75b0e03ab3 Add error message 2022-05-12 20:15:40 -06:00
James Betker ec16c0208c add eval script for testing 2022-05-12 20:15:22 -06:00
James Betker 7d5e7dbba8 CLVP2! 2022-05-12 13:23:03 -06:00
James Betker fda5130819 Add support for multiple output candidates in do_tts. 2022-05-12 11:25:35 -06:00
James Betker 0005d02940 read.py: allow user-specified splits 2022-05-12 11:24:55 -06:00
Mark Baushenko cbccc5e953
Optimizing graphics card memory
During inference it does not store gradients, which take up most of the video memory
2022-05-11 16:35:11 +03:00
James Betker 317d55c252 re-enable redaction 2022-05-06 09:36:42 -06:00