-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow automatic training for wakewords outside of pronunciation library #65
Comments
@nh-kando, after looking into this error I think I understand how it might have happened, but it's a very odd (and potentially rare) scenario. Can you share the wakeword you are trying to use so I can try to reproduce this error locally? |
If you have a look at https://github.com/StuartIanNaylor/ProjectEars/blob/main/dataset/ml-commons/create-db-syllable.py _The Sonority Sequencing Principle (SSP) is a language agnostic algorithm proposed The default implementation uses the English alphabet, but the Importantly, if a custom hierarchy is supplied and vowels span across more than References:
You could use that you just have to add language based as en at https://github.com/StuartIanNaylor/ProjectEars/blob/fda5758ee37bbcb2be4dcab6a59dbb1407081139/dataset/ml-commons/create-db-syllable.py#L197 likely its easier to throw back providing the sonority_hierarchy to native language speakers who can google it. |
@nh-kando I have fixed a few bugs and made updates to the example Google Colab training notebooks that should resolve this issue. Let me know if you are still facing any issue when trying to train a model. |
I am trying to train a custom wakeword in French. To do so, I've put a phonetic wakeword so that it more or less corresponds to the French pronunciation.
The problem is that the line:
Does not work for such a word. The first error that I am getting is:
But even if I manually download the file and put it in the correct folder, I then get:
I am running the notebook on a Google Colab, with a T4 GPU
The text was updated successfully, but these errors were encountered: