Skip to content
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

jarvis.umdl not working with demo.py #525

Open
pmishev opened this issue Nov 20, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@pmishev
Copy link

commented Nov 20, 2018

When I use https://github.com/Kitt-AI/snowboy/raw/master/resources/models/smart_mirror.umdl or https://github.com/Kitt-AI/snowboy/raw/master/resources/models/snowboy.umdl the demo works, however if I try to use the jarvis.umdl model from that same folder, it errors:

$ python ~/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/demo.py ~/Alexa/jarvis.umdl 
ERROR (ExpectToken():snowboy-io.cc:166) Expected token "<KwInfo>", got instead "<LicenseStart>".
terminate called after throwing an instance of 'std::runtime_error'
  what():  ERROR (ExpectToken():snowboy-io.cc:166) Expected token "<KwInfo>", got instead "<LicenseStart>".

[stack trace: ]
/home/pi/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/_snowboydetect.so(_ZN7snowboy13GetStackTraceEv+0x34) [0x766efad4]
/home/pi/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/_snowboydetect.so(_ZN7snowboy13SnowboyLogMsgD1Ev+0x4b8) [0x766f0114]
/home/pi/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/_snowboydetect.so(_ZN7snowboy11ExpectTokenEbPKcPSi+0x19c) [0x766e2d88]
/home/pi/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/_snowboydetect.so(_ZN7snowboy21UniversalDetectStream16ReadHotwordModelERKSs+0x714) [0x766fe68c]
/home/pi/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/_snowboydetect.so(_ZN7snowboy21UniversalDetectStreamC1ERKNS_28UniversalDetectStreamOptionsE+0x390) [0x766ff738]
/home/pi/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/_snowboydetect.so(_ZN7snowboy14PipelineDetect4InitEv+0xb24) [0x766d4428]
/home/pi/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/_snowboydetect.so(_ZN7snowboy13SnowboyDetectC1ERKSsS2_+0xa8) [0x766cb304]
/home/pi/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/_snowboydetect.so(+0x18aa8) [0x766c9aa8]

Aborted
$ python --version
Python 2.7.13

I found some other similar issue mentioning node bindings version, but I have no idea what that is about. Can you please advise how to make it work?

@felixmaechtle

This comment has been minimized.

Copy link

commented Feb 10, 2019

I do have the same problem in Node.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.