mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
feat(MN_CN): Support MN_CN V5.0
This commit is contained in:
parent
a289a0c70c
commit
3a5acbd583
@ -141,7 +141,7 @@ endchoice
|
||||
|
||||
choice SR_MN_MODE_SEL
|
||||
prompt "speech commands recognition model"
|
||||
default SR_MN_CN_MULTINET3_SINGLE_RECOGNITION
|
||||
default SR_MN_CN_MULTINET5_SINGLE_RECOGNITION
|
||||
depends on USE_MULTINET
|
||||
help
|
||||
Select the model to be used.
|
||||
@ -174,6 +174,10 @@ choice SR_MN_MODE_SEL
|
||||
bool "chinese single recognition (MultiNet4)"
|
||||
depends on SR_MN_CHINESE && IDF_TARGET_ESP32S3
|
||||
|
||||
config SR_MN_CN_MULTINET5_SINGLE_RECOGNITION
|
||||
bool "chinese single recognition (MultiNet5)"
|
||||
depends on SR_MN_CHINESE && IDF_TARGET_ESP32S3
|
||||
|
||||
endchoice
|
||||
|
||||
menu "Add speech commands"
|
||||
|
||||
@ -39,6 +39,9 @@ extern const esp_mn_iface_t esp_sr_multinet5_quantized8;
|
||||
#elif CONFIG_SR_MN_CN_MULTINET3_CONTINUOUS_RECOGNITION
|
||||
#define MULTINET_MODEL esp_sr_multinet3_continuous_quantized_cn
|
||||
#define MULTINET_COEFF "mn3cn"
|
||||
#elif CONFIG_SR_MN_CN_MULTINET5_SINGLE_RECOGNITION
|
||||
#define MULTINET_MODEL esp_sr_multinet4_single_quantized_cn
|
||||
#define MULTINET_COEFF "mn5cn"
|
||||
#elif CONFIG_SR_MN_EN_MULTINET5_SINGLE_RECOGNITION
|
||||
#define MULTINET_MODEL esp_sr_multinet5_quantized
|
||||
#define MULTINET_COEFF "mn5en"
|
||||
|
||||
Binary file not shown.
@ -1 +1 @@
|
||||
8fff2d659765a86c9095e967aca8d5c10f06d1a4
|
||||
7ce38202b5ce1d21ab82a1b61253a8d0525f4d40
|
||||
@ -62,6 +62,8 @@ if "CONFIG_SR_MN_CN_MULTINET3_SINGLE_RECOGNITION" in MN_STRING or "CONFIG_SR_MN_
|
||||
multinet_model = 'mn3cn'
|
||||
elif "CONFIG_SR_MN_CN_MULTINET4_SINGLE_RECOGNITION" in MN_STRING:
|
||||
multinet_model = 'mn4cn'
|
||||
elif "CONFIG_SR_MN_CN_MULTINET5_SINGLE_RECOGNITION" in MN_STRING:
|
||||
multinet_model = 'mn5cn'
|
||||
elif "CONFIG_SR_MN_EN_MULTINET5_SINGLE_RECOGNITION_QUANT8" in MN_STRING:
|
||||
multinet_model = 'mn5q8en'
|
||||
elif "CONFIG_SR_MN_EN_MULTINET5_SINGLE_RECOGNITION" in MN_STRING:
|
||||
|
||||
1
model/multinet_model/mn5cn/_MODEL_INFO_
Normal file
1
model/multinet_model/mn5cn/_MODEL_INFO_
Normal file
@ -0,0 +1 @@
|
||||
MN231_617165_multiwords_231_617165_0.90
|
||||
BIN
model/multinet_model/mn5cn/mn5cn_data
Normal file
BIN
model/multinet_model/mn5cn/mn5cn_data
Normal file
Binary file not shown.
BIN
model/multinet_model/mn5cn/mn5cn_index
Normal file
BIN
model/multinet_model/mn5cn/mn5cn_index
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user