esphome / micro-wake-word-models

Apache License 2.0
19 stars 7 forks source link

Custom Wake Words #6

Open rwrozelle opened 5 months ago

rwrozelle commented 5 months ago

Hi,

Questions more than an issue or request. Will the tflite files from https://github.com/fwartner/home-assistant-wakewords-collection work with micro-wake-words? Be nice to just be able to add a json file and be on my way. Also, can I store the tflite and json file local to ESPHOME folder? Documentation doesn't seem to say that, but you never know until you ask.

jerome83136 commented 4 months ago

Hi, I think I have a similar question

I built a custom wakeword by using Google colab

And I got the following error when trying to compile the firmware: "Not a valid model name, local path, http(s) url, or github shorthand."

I tried the following approaches:

All gave me the error "Not a valid model name, local path, http(s) url, or github shorthand."

But ESPhome's documentation of microwakeword clearly states that we can use an URL pointing to a JSON, referencing the tflite file for custom wakeword:

"A full URL to a model JSON file. e.g. https://github.com/esphome/micro-wake-word-models/raw/main/models/okay_nabu.json"

So: how can we use our custom wakewords with microwakeword please ?

Thank you for your help

Best regards

jerome83136 commented 4 months ago

Hi everyone Anyone able to help here maybe? 🙏 Thank you Best regards

devalgo1 commented 4 months ago

I have the same problem: the link to the file posted on github works. The link must be attached to the raw json file, then the compilation is successful. But the created model gives an error when running ESP32: "Component micro_wake_word is marked FAILED"

marcelolcosta commented 3 months ago

I also encountered the same issue.

krisproger commented 2 months ago

i also has the same but i got the next error image

link to json: https://mwhome.teplitzky.ru/local/share/openwakeword/ok_oomneeck.json link to tflite: https://mwhome.teplitzky.ru/local/share/openwakeword/ok_oomneeck.tflite

gustvao commented 1 month ago

you guys need to update de ESP device before using the new yaml pattern