mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
bugfix: fix multinet5 crash when speech commands are triggered
This commit is contained in:
parent
bf47c66892
commit
603ee8a11a
@ -4,6 +4,10 @@
|
|||||||
- Available storage is less than the remaining flash space on IDF v5.0.
|
- Available storage is less than the remaining flash space on IDF v5.0.
|
||||||
If you can not map model partition successfully, please check the left free storage by `spi_flash_mmap_get_free_pages(ESP_PARTITION_MMAP_DATA)` or update IDF to v5.1 or later.
|
If you can not map model partition successfully, please check the left free storage by `spi_flash_mmap_get_free_pages(ESP_PARTITION_MMAP_DATA)` or update IDF to v5.1 or later.
|
||||||
|
|
||||||
|
# 1.3.3
|
||||||
|
- Fix the crash of multinet5q8 when speech commands are triggered
|
||||||
|
- Update esp_mn_commands_update() in esp_process_sdkconfig.c
|
||||||
|
|
||||||
# 1.3.2
|
# 1.3.2
|
||||||
- Output text of ctc greedy search result when no command can be detected.
|
- Output text of ctc greedy search result when no command can be detected.
|
||||||
- Modify the default Chinese commands
|
- Modify the default Chinese commands
|
||||||
|
|||||||
@ -103,9 +103,7 @@ elseif(${IDF_TARGET} STREQUAL "esp32s3")
|
|||||||
COMMENT "Move and Pack models..."
|
COMMENT "Move and Pack models..."
|
||||||
COMMAND python ${MVMODEL_EXE} -d1 ${PROJECT_DIR} -d2 ${COMPONENT_PATH} -d3 ${build_dir}
|
COMMAND python ${MVMODEL_EXE} -d1 ${PROJECT_DIR} -d2 ${COMPONENT_PATH} -d3 ${build_dir}
|
||||||
DEPENDS ${PROJECT_DIR}/sdkconfig
|
DEPENDS ${PROJECT_DIR}/sdkconfig
|
||||||
VERBATIM
|
VERBATIM)
|
||||||
POST_BUILD
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E rm -rf ${COMPONENT_PATH}/model/__pycache__)
|
|
||||||
|
|
||||||
add_custom_target(srmodels_bin ALL DEPENDS ${image_file})
|
add_custom_target(srmodels_bin ALL DEPENDS ${image_file})
|
||||||
add_dependencies(flash srmodels_bin)
|
add_dependencies(flash srmodels_bin)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -3,6 +3,8 @@ import os
|
|||||||
import argparse
|
import argparse
|
||||||
import shutil
|
import shutil
|
||||||
import math
|
import math
|
||||||
|
import sys
|
||||||
|
sys.dont_write_bytecode = True
|
||||||
from pack_model import pack_models
|
from pack_model import pack_models
|
||||||
|
|
||||||
def calculate_total_size(folder_path):
|
def calculate_total_size(folder_path):
|
||||||
|
|||||||
@ -938,5 +938,5 @@ esp_mn_error_t *esp_mn_commands_update_from_sdkconfig(const esp_mn_iface_t *mult
|
|||||||
end:
|
end:
|
||||||
esp_mn_commands_print();
|
esp_mn_commands_print();
|
||||||
|
|
||||||
return esp_mn_commands_update(multinet, model_data);
|
return esp_mn_commands_update();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user