coqui-tts/TTS/utils
a-froghyar 8be21ec387
Capacitron (#977)
* new CI config

* initial Capacitron implementation

* delete old unused file

* fix empty formatting changes

* update losses and training script

* fix previous commit

* fix commit

* Add Capacitron test and first round of test fixes

* revert formatter change

* add changes to the synthesizer

* add stepwise gradual lr scheduler and changes to the recipe

* add inference script for dev use

* feat: add posterior inference arguments to synth methods
- added reference wav and text args for posterior inference
- some formatting

* fix: add espeak flag to base_tts and dataset APIs
- use_espeak_phonemes flag was not implemented in those APIs
- espeak is now able to be utilised for phoneme generation
- necessary phonemizer for the Capacitron model

* chore: update training script and style
- training script includes the espeak flag and other hyperparams
- made style

* chore: fix linting

* feat: add Tacotron 2 support

* leftover from dev

* chore:rename parser args

* feat: extract optimizers
- created a separate optimizer class to merge the two optimizers

* chore: revert arbitrary trainer changes

* fmt: revert formatting bug

* formatting again

* formatting fixed

* fix: log func

* fix: update optimizer
- Implemented load_state_dict for continuing training

* fix: clean optimizer init for standard models

* improvement: purge espeak flags and add training scripts

* Delete capacitronT2.py

delete old training script, new one is pushed

* feat: capacitron trainer methods
- extracted capacitron specific training  operations from the trainer into custom
methods in taco1 and taco2 models

* chore: renaming and merging capacitron and gst style args

* fix: bug fixes from the previous commit

* fix: implement state_dict method on CapacitronOptimizer

* fix: call method

* fix: inference naming

* Delete train_capacitron.py

* fix: synthesize

* feat: update tests

* chore: fix style

* Delete capacitron_inference.py

* fix: fix train tts t2 capacitron tests

* fix: double forward in T2 train step

* fix: double forward in T1 train step

* fix: run make style

* fix: remove unused import

* fix: test for T1 capacitron

* fix: make lint

* feat: add blizzard2013 recipes

* make style

* fix: update recipes

* chore: make style

* Plot test sentences in Tacotron

* chore: make style and fix import

* fix: call forward first before problematic floordiv op

* fix: update recipes

* feat: add min_audio_len to recipes

* aux_input["style_mel"]

* chore: make style

* Make capacitron T2 recipe more stable

* Remove T1 capacitron Ljspeech

* feat: implement new grad clipping routine and update configs

* make style

* Add pretrained checkpoints

* Add default vocoder

* Change trainer package

* Fix grad clip issue for tacotron

* Fix scheduler issue with tacotron

Co-authored-by: Eren Gölge <egolge@coqui.ai>
Co-authored-by: WeberJulian <julian.weber@hotmail.fr>
Co-authored-by: Eren Gölge <erogol@hotmail.com>
2022-05-20 16:17:11 +02:00
..
__init__.py rename the project to old TTS 2020-09-09 12:27:23 +02:00
audio.py Trick to Upsampling to High sampling rates using VITS model (#1456) 2022-04-26 11:47:46 +02:00
callbacks.py Make style and lint 2021-12-01 10:42:52 +00:00
capacitron_optimizer.py Capacitron (#977) 2022-05-20 16:17:11 +02:00
distribute.py Update pylint 2.10.2 and fix lint issues 2021-08-30 08:10:35 +00:00
download.py Update TTS.tts formatters (#1228) 2022-02-11 23:03:43 +01:00
downloaders.py Add addtional datasets 2021-12-16 07:21:27 -05:00
generic_utils.py Update model file extension (#1422) 2022-03-22 17:55:00 +01:00
io.py Capacitron (#977) 2022-05-20 16:17:11 +02:00
manage.py Update manage.py (#1514) 2022-04-19 14:27:32 +02:00
radam.py Fixup `utils` for the trainer 2021-06-28 17:03:47 +02:00
synthesizer.py Capacitron (#977) 2022-05-20 16:17:11 +02:00
training.py Update synthesis.py 2022-02-25 11:29:41 +01:00
vad.py Fix style tests 2022-03-23 15:05:32 -03:00