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

How to enable NS_MODE_NET ? (AUD-5565) #1238

Closed
Oreobird opened this issue Jul 24, 2024 · 1 comment
Closed

How to enable NS_MODE_NET ? (AUD-5565) #1238

Oreobird opened this issue Jul 24, 2024 · 1 comment

Comments

@Oreobird
Copy link

Using esp-idf v5.1.1 and esp-adf-1f275b5 for ESP32-S3-BOX-3,sdkconfig for Speech Recognition is:

#
# ESP Speech Recognition
#
CONFIG_MODEL_IN_SPIFFS=y
CONFIG_USE_AFE=y
CONFIG_AFE_INTERFACE_V1=y
CONFIG_USE_NSNET=y
CONFIG_SR_NSN_NSNET1=y
CONFIG_USE_WAKENET=y
CONFIG_SR_WN_LOAD_MULIT_WORD=y

#
# Load Multiple Wake Words
#
CONFIG_SR_WN_WN9_XIAOAITONGXUE_MULTI=y
CONFIG_SR_WN_WN9_ALEXA_MULTI=y
# end of Load Multiple Wake Words

CONFIG_USE_MULTINET=y
CONFIG_SR_MN_CN_NONE=y
CONFIG_SR_MN_EN_MULTINET6_QUANT=y
# end of ESP Speech Recognition

when I config the afe_ns_mode to NS_MODE_NET in recorder,I met the error:

I (9563) MODEL_LOADER: The storage free size is 16384 KB
I (9569) MODEL_LOADER: The partition size is 7168 KB
I (9575) MODEL_LOADER: Successfully map model partition
I (9581) RECORDER_SR: The first wakenet model: wn9_alexa

I (9587) RECORDER_SR: The second wakenet model: wn9_xiaoaitongxue

I (9594) AFE_SR: afe interface for speech recognition

I (9599) AFE_SR: AFE version: SR_V220727

I (9604) AFE_SR: Initial auido front-end, total channel: 3, mic num: 2, ref num: 1

E (9613) AFE_SR: Ns net mode does not supported ESP_AFE_SR_HANDLE!

E (9620) AFE_SR: AFE config error!

E (9624) RECORDER_SR: recorder_sr.c:592 (recorder_sr_create): Got NULL Pointer
@github-actions github-actions bot changed the title How to enable NS_MODE_NET ? How to enable NS_MODE_NET ? (AUD-5565) Jul 24, 2024
@Gaochenchang
Copy link

Hi,@Oreobird
Speech recognition cannot use NSNET. As shown in the log, "Ns net mode does not support ESP_AFE_SR_HANDLE!"

@Oreobird Oreobird closed this as completed Aug 8, 2024
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