Merge branch 'bugfix/delete_pycache' into 'master'

Bugfix/delete pycache

See merge request speech-recognition-framework/esp-sr!42
This commit is contained in:
Sun Xiang Yu 2023-07-05 14:59:32 +08:00
commit bf47c66892
3 changed files with 6 additions and 3 deletions

View File

@ -4,9 +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.
# unreleased # 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
- Remove __pycache__ in esp-sr/model folder
## 1.3.1 ## 1.3.1
- Bugfix: remove all cxx11:string - Bugfix: remove all cxx11:string

View File

@ -103,7 +103,9 @@ 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)

View File

@ -1,4 +1,4 @@
version: "1.3.1" version: "1.3.2"
description: esp_sr provides basic algorithms for Speech Recognition applications description: esp_sr provides basic algorithms for Speech Recognition applications
url: https://github.com/espressif/esp-sr url: https://github.com/espressif/esp-sr
dependencies: dependencies: