Skip to content

Commit 649b24f

Browse files
author
Wang Wang Wang
committed
refactor(MN_CN): Rename MN_cn_v4_5
1 parent cc45d97 commit 649b24f

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

Kconfig.projbuild

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ endchoice
141141

142142
choice SR_MN_MODE_SEL
143143
prompt "speech commands recognition model"
144-
default SR_MN_CN_MULTINET5_SINGLE_RECOGNITION
144+
default SR_MN_CN_MULTINET4_5_SINGLE_RECOGNITION
145145
depends on USE_MULTINET
146146
help
147147
Select the model to be used.
@@ -174,8 +174,8 @@ choice SR_MN_MODE_SEL
174174
bool "chinese single recognition (MultiNet4)"
175175
depends on SR_MN_CHINESE && IDF_TARGET_ESP32S3
176176

177-
config SR_MN_CN_MULTINET5_SINGLE_RECOGNITION
178-
bool "chinese single recognition (MultiNet5)"
177+
config SR_MN_CN_MULTINET4_5_SINGLE_RECOGNITION
178+
bool "chinese single recognition (MultiNet4.5)"
179179
depends on SR_MN_CHINESE && IDF_TARGET_ESP32S3
180180

181181
endchoice

include/esp32s3/esp_mn_models.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ extern const esp_mn_iface_t esp_sr_multinet5_quantized8;
3939
#elif CONFIG_SR_MN_CN_MULTINET3_CONTINUOUS_RECOGNITION
4040
#define MULTINET_MODEL esp_sr_multinet3_continuous_quantized_cn
4141
#define MULTINET_COEFF "mn3cn"
42-
#elif CONFIG_SR_MN_CN_MULTINET5_SINGLE_RECOGNITION
42+
#elif CONFIG_SR_MN_CN_MULTINET4_5_SINGLE_RECOGNITION
4343
#define MULTINET_MODEL esp_sr_multinet4_single_quantized_cn
44-
#define MULTINET_COEFF "mn5cn"
44+
#define MULTINET_COEFF "mn4_5cn"
4545
#elif CONFIG_SR_MN_EN_MULTINET5_SINGLE_RECOGNITION
4646
#define MULTINET_MODEL esp_sr_multinet5_quantized
4747
#define MULTINET_COEFF "mn5en"

lib/esp32s3/libmultinet.a

0 Bytes
Binary file not shown.

libversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4949e6c67e2bde9ac4978345623dcc098f34c404
1+
2ff2713a9e508f2160f5b318374925d6c12af917

model/movemodel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def calculate_total_size(folder_path):
6262
multinet_model = 'mn3cn'
6363
elif "CONFIG_SR_MN_CN_MULTINET4_SINGLE_RECOGNITION" in MN_STRING:
6464
multinet_model = 'mn4cn'
65-
elif "CONFIG_SR_MN_CN_MULTINET5_SINGLE_RECOGNITION" in MN_STRING:
66-
multinet_model = 'mn5cn'
65+
elif "CONFIG_SR_MN_CN_MULTINET4_5_SINGLE_RECOGNITION" in MN_STRING:
66+
multinet_model = 'mn4_5cn'
6767
elif "CONFIG_SR_MN_EN_MULTINET5_SINGLE_RECOGNITION_QUANT8" in MN_STRING:
6868
multinet_model = 'mn5q8en'
6969
elif "CONFIG_SR_MN_EN_MULTINET5_SINGLE_RECOGNITION" in MN_STRING:
File renamed without changes.

0 commit comments

Comments
 (0)