Open isolveit-aps opened 7 months ago
I had the same problem. As we can see from the stack trace, the issue is with piper_phonemize
package. If you browse to /home/andras/piper/src/python/.venv/lib/python3.10/site-packages/piper_phonemize/
folder, you can see espeaker-ng-data
folder, which I suppose is based on espeaker-ng
project in github. It doesn't contain the custom language you locally added, so you can copy espeak-ng-data
folder from your local version of espeak-ng
to /home/andras/piper/src/python/.venv/lib/python3.10/site-packages/piper_phonemize/
. This should solve this issue, at least it did for me.
I am running into similar issues as mentioned in issue #49 and issue #316 with the error: "Failed to set eSpeak-ng voice"
Anyways, I'm training a Faroese voice (https://en.wikipedia.org/wiki/Faroese_language), and I managed to manually add Faroese to the espeak-ng local installation, and it now speaks in Faroese, and is able to produce phonemes for Faroese text:
However in Piper, I get these errors for the processing:
I bet this has something to do with the interplay between piper and espeak-ng, but I haven't been able to figure it out. The language code is fo : https://en.wikipedia.org/wiki/Faroese_language
A bit of background, if interested :)
I am currently trying to add my own voice and recordings of less than 1 hour of data, in order to test piper for faroese, but there is also an open source dataset of 100 hours of speech, across 433 speakers, so there is quite a lot of data available, if I can get the training to work. The weakness of those datasets is perhaps that no individual speaker has much more than ½ hour of recordings. https://mtd.setur.fo/en/resource/ravnur-blark-1-0/
There is also a smaller, and differently structured dataset, based on the same recordings, that was used to train the ASR model used in the VoisIT app (Android/App Store - which is my personal project), and that dataset is available here: https://repository.clarin.is/repository/xmlui/handle/20.500.12537/276 Trained ASR model and other models are also available: https://huggingface.co/carlosdanielhernandezmena?search_models=faroese (Credits to these two teams above, for Faroese gathering of data and model training "Ravnur" and "Ravnursson").