mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
bugfix(mfcc): fix the crash issus in mfcc destory function
This commit is contained in:
parent
ce9e82a6d4
commit
d6dfaa7df8
@ -85,8 +85,8 @@ choice SR_WN_MODEL_LOAD
|
|||||||
bool "nihaoxiaozhi (wn9_nihaoxiaozhi)"
|
bool "nihaoxiaozhi (wn9_nihaoxiaozhi)"
|
||||||
depends on IDF_TARGET_ESP32S3
|
depends on IDF_TARGET_ESP32S3
|
||||||
|
|
||||||
config SR_WN_CUSTOMIZED_WORD
|
config SR_WN_WN9_CUSTOMWORD
|
||||||
bool "customized word (wn9_customizedword)"
|
bool "customized word (wn9_customword)"
|
||||||
depends on IDF_TARGET_ESP32S3
|
depends on IDF_TARGET_ESP32S3
|
||||||
|
|
||||||
config SR_WN_LOAD_MULIT_WORD
|
config SR_WN_LOAD_MULIT_WORD
|
||||||
|
|||||||
@ -20,7 +20,7 @@ typedef float fptp_t;
|
|||||||
|
|
||||||
|
|
||||||
//Flags for matrices
|
//Flags for matrices
|
||||||
#define DL_MF_FOREIGNDATA (1<<0) /*< Matrix *item data actually points to another matrix and should not be freed */
|
// #define DL_MF_FOREIGNDATA (0) /*< Matrix *item data actually points to another matrix and should not be freed */
|
||||||
|
|
||||||
//Float convolution FIFO queue.
|
//Float convolution FIFO queue.
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@ -32,7 +32,7 @@ extern multi_heap_handle_t gst_heap;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//Flags for matrices
|
//Flags for matrices
|
||||||
#define DL_MF_FOREIGNDATA (1<<0) /*< Matrix *item data actually points to another matrix and should not be freed */
|
#define DL_MF_FOREIGNDATA (0) /*< Matrix *item data actually points to another matrix and should not be freed */
|
||||||
|
|
||||||
//'Normal' float matrix
|
//'Normal' float matrix
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -56,6 +56,8 @@ if "CONFIG_SR_WN_WN9_HIESP" in WN_STRING:
|
|||||||
wakenet_model.append('wn9_hiesp')
|
wakenet_model.append('wn9_hiesp')
|
||||||
if "CONFIG_SR_WN_WN9_NIHAOXIAOZHI" in WN_STRING:
|
if "CONFIG_SR_WN_WN9_NIHAOXIAOZHI" in WN_STRING:
|
||||||
wakenet_model.append('wn9_nihaoxiaozhi')
|
wakenet_model.append('wn9_nihaoxiaozhi')
|
||||||
|
if "CONFIG_SR_WN_WN9_CUSTOMWORD" in WN_STRING:
|
||||||
|
wakenet_model.append('wn9_customword')
|
||||||
|
|
||||||
multinet_model = []
|
multinet_model = []
|
||||||
if "CONFIG_SR_MN_CN_MULTINET3_SINGLE_RECOGNITION" in MN_STRING and len(multinet_model) < 2:
|
if "CONFIG_SR_MN_CN_MULTINET3_SINGLE_RECOGNITION" in MN_STRING and len(multinet_model) < 2:
|
||||||
|
|||||||
1
model/wakenet_model/wn9_customword/_MODEL_INFO_
Normal file
1
model/wakenet_model/wn9_customword/_MODEL_INFO_
Normal file
@ -0,0 +1 @@
|
|||||||
|
WakeNet9_v1h24_xiaoaitongxue_3_0.620_0.627
|
||||||
BIN
model/wakenet_model/wn9_customword/wn9_data
Normal file
BIN
model/wakenet_model/wn9_customword/wn9_data
Normal file
Binary file not shown.
BIN
model/wakenet_model/wn9_customword/wn9_index
Normal file
BIN
model/wakenet_model/wn9_customword/wn9_index
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user