Adding Thai Model #70
-
Hi All, Thank you for continuing to support the Coqui TTS code. I found this discussion group and hope you may be able to help me with adding an existing Thai model. There is no Thai model included that I can see. I am new to text-to-speech. I would like to convert Thai text to WAV files. I can build and run the Docker image, and run the server to list and run models. Works fine from the command line (container and host) and interactively with a browser. My issue is with trying to train the existing Thai model. I am following various READMEs with instructions from the old version with the new version 1.1 files. Here are the references to the new Thai model and instructions: What I'm trying is dropping the files "config_se.json" and "model_se.pth" into recipes/multilingual/vits_tts and executing "python3 recipes/multilingual/vits_tts/train_vits_tts.py". This results in the below output and error: root@b1212a492ed7:~# python3 recipes/multilingual/vits_tts/train_vits_tts.py
Am I on the right track here? Any assistance would be greatly appreciated! Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The error indicates that no samples for training were found. Without sharing the contents of your But you said that you just want to synthesise Thai speech from text. Is not not enough to just run that model? Why do you want to train it further? Otherwise there's also a Thai TTS model from Fairseq included in Coqui that you could use directly: https://github.com/idiap/coqui-ai-TTS?tab=readme-ov-file#example-text-to-speech-using-fairseq-models-in-1100-languages- |
Beta Was this translation helpful? Give feedback.
-
Great, thank you for the reply. I do not need to train further, I misunderstood the steps involved. And, if there is an existing Fairseq Thai model then that's what I'm am looking for. I will definitely check it out. |
Beta Was this translation helpful? Give feedback.
The error indicates that no samples for training were found. Without sharing the contents of your
recipes/multilingual/vits_tts/train_vits_tts.py
I can't help you further. Note that you'll need to modify that recipe for your data in case you haven't done so.But you said that you just want to synthesise Thai speech from text. Is not not enough to just run that model? Why do you want to train it further?
Otherwise there's also a Thai TTS model from Fairseq included in Coqui that you could use directly: https://github.com/idiap/coqui-ai-TTS?tab=readme-ov-file#example-text-to-speech-using-fairseq-models-in-1100-languages-