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

SR Models cannot be found after wakeword renaming (AUD-5390) #1202

Open
seware74 opened this issue May 1, 2024 · 1 comment
Open

SR Models cannot be found after wakeword renaming (AUD-5390) #1202

seware74 opened this issue May 1, 2024 · 1 comment

Comments

@seware74
Copy link

seware74 commented May 1, 2024

Problem:

The wakewords were renamed in several of the SR models recently to include a comma. e.g. "heywillow" was changed to "Hey,Willow" This causes the model to not be able to be found in recorder creation.

Issue:

In "recorder_sr.c"
In the function "recorder_sr_create"
this line: "wn_name = esp_srmodel_filter(recorder_sr->models, ESP_WN_PREFIX, recorder_sr->wn_wakeword);"

tries to lookup a model using the wakeword. However, "esp_srmodel_filter" doesn't look up the model by wakeword. It uses model name.

Since several wakewords were changed recently to insert a comma in MODEL_INFO the wakeword and model name are not the same causing the model to not be able to be found.

For example the wakeword "Hey,Willow" cannot be found in the model name wn9_heywillow_tts and model lookup fails causing the recorder creation to fail.

@github-actions github-actions bot changed the title SR Models cannot be found after wakeword renaming SR Models cannot be found after wakeword renaming (AUD-5390) May 1, 2024
@hbler99
Copy link

hbler99 commented Jul 16, 2024

Please package the wake word in $ADF_PATH/components/esp-sr/model/pack_model.py. After that, kindly add the corresponding option in Kconfig and ensure it is selected in menuconfig before compiling. Hope these suggestions are helpful to you, lucky.

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

No branches or pull requests

2 participants