MycroftAI / mycroft-precise

A lightweight, simple-to-use, RNN wake word listener
Apache License 2.0
842 stars 227 forks source link

Could not found find model for alternative wake words on precise #211

Open Arndorferd opened 3 years ago

Arndorferd commented 3 years ago

Describe the bug Only the Hey Mycroft command works with precise. Switching without reboot also breaks wake word.

To Reproduce Steps to reproduce the behavior:

  1. Sync pi and home.mycroft.ai with wake word other than Hey Mycroft and wakeword fails to respond.
  2. Go to home.mycroft.ai and switch wakeword to Hey Ezra, Christopher, or Hey Jarvis while mycroft is running
  3. Following Error appears Could not found find model on precise

20:21:51.475 | WARNING | 745 | mycroft.client.speech.listener:run:88 | Audio contains no data. 20:21:51.675 | INFO | 745 | mycroft.client.speech.listener:create_wake_word_recognizer:328 | Creating wake word engine


 20:21:51.683 | INFO     |   745 | mycroft.client.speech.hotword_factory:load_module:467 | Loading "hey ezra" wake word via precise
 20:21:52.650 | WARNING  |   745 | mycroft.client.speech.hotword_factory:initialize:487 | Could not found find model for hey ezra on precise.
 20:21:52.652 | INFO     |   745 | mycroft.client.speech.hotword_factory:load_module:467 | Loading "hey ezra" wake word via pocketsphinx
 20:21:52.756 | INFO     |   745 | mycroft.client.speech.listener:create_wakeup_recognizer:365 | creating stand up word engine
 20:21:52.757 | INFO     |   745 | mycroft.client.speech.hotword_factory:load_module:467 | Loading "wake up" wake word via pocketsphinx
  1. Switch home.mycroft.ai to Hey Mycroft, following appears

    20:16:19.122 | WARNING | 697 | mycroft.client.speech.listener:run:88 | Audio contains no data.

    
    ~~~~ mycroft.client.speech.listener:create_wake_word_recognizer:351 | Using hotword entry for hey mycroft
    ~~~~| mycroft.client.speech.hotword_factory:load_module:467 | Loading "hey mycroft" wake word via precise
    ~~~~|   697 | mycroft.client.speech.listener:create_wakeup_recognizer:365 | creating stand up word engine
    ~~~~ mycroft.client.speech.hotword_factory:load_module:467 | Loading "wake up" wake word via pocketsphinx
  2. Hey Mycroft doesnt work immediately,, I performed a hard shutdown.

  3. Hey Mycroft works after reboot

Expected behavior All wake words should work, you should be able to hot swap wake words as well but not as important

Environment (please complete the following information):