-
Notifications
You must be signed in to change notification settings - Fork 996
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
NumHotwords() incorrect #381
Comments
It seems to be only incorrect when I am loading the alexa model + any of the other umdl files. I found this note: snowboy/include/snowboy-detect.h Lines 30 to 35 in 92d025a
Which mean the python code might be wrong or missleading. How can you detect if a model has multiple hotwords? And are those processed with different callback then or not? Maybe I have to add 3 callbacks then for 2 models? It would be nice if you can clarify this. |
same problem here |
I think this problem occurs in the jarvis model and not the alexa model
|
Correct, it was caused by Closing this. |
I try to run the Python3 demo2.py (v1.3.0). But it fails saying that I specified 3 models and 2 sensitivity levels.
I tried to debug the issue and it seems to be caused by the call:
Which from my understanding call the .so file, which I cannot debug because it is closed source.
If you specify more than two models the return value is still wrong:
Edit: It also happens if you create two HotwordDetector instances, so there is sadly no way to work around this issue within a single python program :( The 2nd instance will the report the error of 2 models and 1 sensitivity.
The text was updated successfully, but these errors were encountered: