I have a picroft speaker that works well for me but not for my daughters. So we trained a version of “hey mycroft” using the precise tools and generated the .pb file from the .net. Before conversion, we tested it both against the samples, which gave 97% accuracy (and only false negatives), and with a live mic to confirm that the wake word worked for all three of us, which it did, with no issues.
I then used the precise install instructions to modify the user conf file, like so:
"max_allowed_core_version": 20.8,
"listener": {
"wake_word": "hey mycroft"
},
"hotwords": {
"hey mycroft": {
"module": "precise",
"local_model_file": "/home/pi/mycroft-precise/hey-computer.pb",
"sensitivity": 0.3,
"trigger_level": 7
}
}
}
I restarted the mycroft service and it immediately woke without a prompt and then refused to wake despite repeated attempts:
2021-01-23 23:17:05.904 | INFO | 8359 | mycroft.client.speech.listener:create_wake_word_recognizer:328 | Creating wake word engine
2021-01-23 23:17:05.907 | INFO | 8359 | mycroft.client.speech.listener:create_wake_word_recognizer:351 | Using hotword entry for hey mycroft
2021-01-23 23:17:05.910 | INFO | 8359 | mycroft.client.speech.hotword_factory:load_module:403 | Loading "hey mycroft" wake word via precise
2021-01-23 23:17:07.529 | INFO | 8359 | mycroft.client.speech.listener:create_wakeup_recognizer:365 | creating stand up word engine
2021-01-23 23:17:07.531 | INFO | 8359 | mycroft.client.speech.hotword_factory:load_module:403 | Loading "wake up" wake word via pocketsphinx
2021-01-23 23:17:07.664 | INFO | 8359 | __main__:on_ready:175 | Speech client is ready.
2021-01-23 23:17:07.752 | INFO | 8359 | mycroft.messagebus.client.client:on_open:114 | Connected
2021-01-23 23:17:32.470 | INFO | 8359 | mycroft.session:get:74 | New Session Start: 6e3ef801-c0fc-4e8c-b791-4ba5dd8bde90
2021-01-23 23:17:32.474 | INFO | 8359 | __main__:handle_wakeword:67 | Wakeword Detected: hey mycroft
Playing WAVE '/home/pi/mycroft-core/mycroft/res/snd/start_listening.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
2021-01-23 23:17:32.915 | INFO | 8359 | __main__:handle_record_begin:37 | Begin Recording...
2021-01-23 23:17:35.941 | INFO | 8359 | __main__:handle_record_end:45 | End Recording...
2021-01-23 23:17:37.320 | ERROR | 8359 | mycroft.client.speech.listener:transcribe:239 | list index out of range
2021-01-23 23:17:37.321 | ERROR | 8359 | mycroft.client.speech.listener:transcribe:240 | Speech Recognition could not understand audio
2021-01-23 23:18:15.268 | INFO | 8359 | __main__:on_stopping:179 | Speech service is shutting down...
Warning: Failed to load parameters from /home/pi/mycroft-precise/hey-computer.pb.params
hey-computer.pb.params is at present with permissions at that location, right next to hey-computer.pb.
The long and the short of it is that I have a network I’ve trained that works perfectly in testing but not at all when installed. Any assistance would be very helpful.