Text-to-Speech
coqui

Nothing works for me...

#6
by FooBar997 - opened

I've tried running this in all three suggested methods and did a bit of debugging of the process, but no matter how I approached it, nothing worked. I got a whole range of errors, but the most persistent was usually in this form:

Traceback (most recent call last):
File "C:\Coqui\XTTS-v1\talk3.py", line 7, in
model.load_checkpoint(config, checkpoint_dir="C:/Coqui/XTTS-v1/", eval=True)
File "C:\Python310\lib\site-packages\TTS\tts\models\xtts.py", line 645, in load_checkpoint
self.load_state_dict(load_fsspec(model_path)["model"], strict=strict)
File "C:\Python310\lib\site-packages\torch\nn\modules\module.py", line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for Xtts:
Missing key(s) in state_dict: "gpt.gpt.h.0.attn.bias", "gpt.gpt.h.0.attn.masked_bias", "gpt.gpt.h.1.attn.bias", "gpt.gpt.h.1.attn.masked_bias", "gpt.gpt.h.2.attn.bias", "gpt.gpt.h.2.attn.masked_bias", "gpt.gpt.h.3.attn.bias", "gpt.gp

This list would continue for more than a page...

try to update transformers

https://huggingface.co./coqui/XTTS-v1/discussions/4 if you find another fix please update me as I am having the same problem

Coqui.ai org

Please update your TTS==0.17.8 should fix these issues plus speed boosted vocoder

gorkemgoknar changed discussion status to closed

Sign up or log in to comment