[Bug] ValueError running YourTTS model on tts-server
See original GitHub issue🐛 Description
I am trying to run the YourTTS model on the tts-server. I am hitting Internal server error. When I check the log I see ValueError: [!] Look like you use a multi-lingual model. You need to define either a language_name or a style_wav to use a multi-lingual model.
To Reproduce
Here is the command: tts-server --model_name tts_models/multilingual/multi-dataset/your_tts
Environment
- 🐸TTS Version (e.g., 1.3.0): 0.5.0
- PyTorch Version (e.g., 1.8): 1.10.0
- Python version: 3.7.10
- OS (e.g., Linux): Linux
- CUDA/cuDNN version: None
- GPU models and configuration: None
- How you installed PyTorch (
conda
,pip
, source): pip - Any other relevant information:
Additional context
Here is the log
" [!] Look like you use a multi-lingual model. "
ValueError: [!] Look like you use a multi-lingual model. You need to define either a language_name or a style_wav to use a multi-lingual model.
::1 - - [06/Jan/2022 23:14:17] "GET /api/tts?text=hi&speaker_id=male-pt-3%0A&style_wav= HTTP/1.1" 500 -
Other models work fine. The problem looks like it is only for YourTTS model
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Cannot start training of multilingual VITS model due ... - GitHub
Cannot start training of multilingual VITS model due to ValueError. ... So I resorted to the multilingual recipe for VITS but received this...
Read more >TTS 0.10.0 documentation
TTS comes with pretrained models, tools for measuring dataset quality and already used in 20+ languages for products and research projects.
Read more >[Bug] ValueError running YourTTS model on tts-server
I am trying to run the YourTTS model on the tts-server. I am hitting Internal server error. When I check the log I...
Read more >YourTTS: Zero-Shot Multi-Speaker Text Synthesis and Voice ...
You can train your own model, synthesize voice with the pre-trained model or finetune it with your dataset.
Read more >comprise-personal-server - TTS - GitLab Inria
Run a tts and a vocoder model from the released model list. (Simply copy and paste the full model names from the list...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it is because the
server.py
@ L176 does not pass alanguage_name
tosynthesizer.tts()
just likesynthesize.py
@ L287.So to fix this, just pass the
language_name
likeen
tosynthesizer.tts
.server.py does not support YourTTS fully yet.