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

Warning: Failed to load parameters from xxx.pb.params #198

Open
TheBigFudge opened this issue Jan 5, 2021 · 1 comment
Open

Warning: Failed to load parameters from xxx.pb.params #198

TheBigFudge opened this issue Jan 5, 2021 · 1 comment
Labels

Comments

@TheBigFudge
Copy link

TheBigFudge commented Jan 5, 2021

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
    }
  }
}

@el-tocino
Copy link

You can ignore this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants