coqui-tts/TTS/utils
Mahmoud ghareeb dbe9cf86ae
Fix for dataset and model variables Errors when downloading fairseq models
in the original implementation, the dataset and model variables were causing errors due to uninitialized in the TTS fairseq models.

Changes Made:

Introduced a line to split model_name into model_attributes based on the '/' delimiter. This ensures that the different components of the model name (language, dataset, model) can be separately and accurately accessed.
Added lines to explicitly extract lang, dataset, and model from model_attributes using their respective indices. This change makes the code more robust and clear, as it directly links the variables to their sources:
lang is now set to the second component (model_attributes[1]),
dataset to the third (model_attributes[2]),
model to the fourth (model_attributes[3]).
2024-04-17 16:11:09 +02:00
..
audio Remove duplicate AudioProcessor code and fix ExtractTTSpectrogram.ipynb (#3230) 2023-11-16 10:57:06 +01:00
__init__.py rename the project to old TTS 2020-09-09 12:27:23 +02:00
callbacks.py Make style and lint 2021-12-01 10:42:52 +00:00
capacitron_optimizer.py Fix Capacitron training (#2086) 2022-11-01 12:52:06 +01:00
distribute.py Update pylint 2.10.2 and fix lint issues 2021-08-30 08:10:35 +00:00
download.py Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
downloaders.py Add addtional datasets 2021-12-16 07:21:27 -05:00
generic_utils.py Update generic_utils.py (#3561) 2024-02-10 11:20:58 -03:00
io.py refactor: use copy_model_files() from Trainer 2023-11-17 01:18:23 +01:00
manage.py Fix for dataset and model variables Errors when downloading fairseq models 2024-04-17 16:11:09 +02:00
radam.py Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
samplers.py Bump up to v0.11.0 (#2329) 2023-02-08 13:58:49 +01:00
synthesizer.py Make CLI work 2023-12-11 18:49:18 +01:00
training.py Update synthesis.py 2022-02-25 11:29:41 +01:00
vad.py Update VAD for silence trimming. (#2604) 2023-05-11 11:09:23 +02:00