mycroft-precise
mycroft-precise copied to clipboard
Warning: Failed to load parameters from xxx.pb.params
Hey Guys,
I'm currently working on training my own wake word on the Raspberry 3, and following these steps: https://github.com/MycroftAI/mycroft-precise/wiki/Training-your-own-wake-word#how-to-train-your-own-wake-word . After fixing the problems stated in #197 I think I got sufficient results testing the model with precise-listen
.
Unfortunately I now get new problems when setting up mycroft to use the new wake word: Here is a snippet from the voice.log:
2021-01-05 10:26:20.890 | INFO | 782 | mycroft.client.speech.listener:create_wake_word_recognizer:328 | Creating wake word engine
2021-01-05 10:26:20.894 | INFO | 782 | mycroft.client.speech.listener:create_wake_word_recognizer:351 | Using hotword entry for moin-igor
2021-01-05 10:26:20.899 | INFO | 782 | mycroft.client.speech.hotword_factory:load_module:403 | Loading "moin-igor" wake word via precise
Warning: Failed to load parameters from /home/pi/custom-wake-word/moin-igor.pb.params
2021-01-05 10:26:24.778 | INFO | 782 | mycroft.client.speech.listener:create_wakeup_recognizer:365 | creating stand up word engine
2021-01-05 10:26:24.786 | INFO | 782 | mycroft.client.speech.hotword_factory:load_module:403 | Loading "wake up" wake word via pocketsphinx
So it seems that something is wrong with my .pb.params. And I can't get any further with this. Could this be caused by an old/new tensorflow version? I just had run the setup.sh and running tensorflow 1.13.1. Also when trainging the model I got a lot of depreciation warning, similar to the problem stated in #193 . Should I upgrade to a newer tensorflow Version? How can I achieve this?
Environment:
- Device type: [Raspberry Pi 3]
- OS: [Picroft]
- Mycroft-core version: [20.08]
here is my mycroft.conf:
{
"max_allowed_core_version": 20.8,
"confirm_listening": "true",
"lang": "de-de",
"listener": {
"wake_word": "moin-igor"
},
"hotwords": {
"moin-igor": {
"module": "precise",
"phonemes": "M OY N . IH G AO R .",
"threshold": 1e-90,
"lang": "de-de",
"local_model_file": "/home/pi/custom-wake-word/moin-igor.pb",
"sensitivity": 0.8,
"trigger_level": 8
}
}
}
You can ignore this warning.