Closed NicoHood closed 6 years ago
It seems to be only incorrect when I am loading the alexa model + any of the other umdl files.
I found this note: https://github.com/Kitt-AI/snowboy/blob/92d025ab0fbf998007c9a2925f255cce0993da40/include/snowboy-detect.h#L30-L35
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
It seems to be only incorrect when I am loading the alexa model + any of the other umdl files.
I think this problem occurs in the jarvis model and not the alexa model quoting from the readme file
resources/models/jarvis.umdl: Universal model for the hotword "Jarvis" (https://snowboy.kitt.ai/hotword/29). It has two different models for the hotword Jarvis, so you have to use two sensitivites. Set sensitivities to "0.8,0.80" and ApplyFrontend to true.
Correct, it was caused by jarvis.umdl
. As stated in the documentation, you have to provide two separate sensitivities for jarvis.umdl
.
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.