Skip to content

Commit d1f4146

Browse files
committed
Release AI-ModelZoo-3.1.0:
- Support for STEdgeAI Core v2.1.0 (STM32Cube.AI v10.1.0). - Application code for STM32N6 board is now directly available in the STM32 model zoo repository; eliminating the need for separate downloads. - Support of On device evaluation and On device prediction on the STM32N6570-DK boards integrated in evaluation and prediction services. - More models supported : Yolov11, LSTM model added in the Speech Enhancement, ST Yolo X variants. - ClearML support. - A few bug fixes and improvements like proper imports, OD metrics alignments. Signed-off-by: khaoula boutiche <[email protected]>
1 parent 833712e commit d1f4146

File tree

176 files changed

+853
-1096
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+853
-1096
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ The performances on reference STM32 MCU, NPU and MPU are provided for float and
1919

2020
## What's new in releases :
2121
</details>
22-
<details open><summary><b>3.0:</b></summary>
22+
<details open><summary><b>3.1:</b></summary>
23+
24+
* Included additional models support (yolo_v11, st_yolo_x variants)
25+
</details>
26+
<details><summary><b>3.0:</b></summary>
2327

2428
* Included additional models compatible with the [STM32N6570-DK](https://www.st.com/en/evaluation-tools/stm32n6570-dk) board.
2529
* Expanded models in all use cases.

audio_event_detection/miniresnet/ST_pretrainedmodel_public_dataset/esc10/miniresnet_1stacks_64x50_tl/miniresnet_1stacks_64x50_tl_config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ dataset:
1616
name: esc10
1717
class_names: ['dog', 'chainsaw', 'crackling_fire', 'helicopter', 'rain', 'crying_baby', 'clock_tick', 'sneezing', 'rooster', 'sea_waves']
1818
file_extension: '.wav'
19-
training_audio_path: ..\datasets\ESC-50\audio # Mandatory
20-
training_csv_path: ..\datasets\ESC-50\meta\esc50.csv # Mandatory
19+
training_audio_path: ./datasets/ESC-50/audio # Mandatory
20+
training_csv_path: ./datasets/ESC-50/meta/esc50.csv # Mandatory
2121

2222
validation_audio_path: # Optional
2323
validation_csv_path: # Optional
@@ -145,7 +145,7 @@ benchmarking:
145145
board: B-U585I-IOT02A
146146

147147
deployment:
148-
c_project_path: ../../application_code/sensing_free_rtos
148+
c_project_path: ../application_code/sensing_free_rtos
149149
IDE: GCC
150150
verbosity: 1
151151
hardware_setup:
@@ -156,8 +156,8 @@ deployment:
156156

157157

158158
mlflow:
159-
uri: ./experiments_outputs/mlruns
159+
uri: ./src/experiments_outputs/mlruns
160160

161161
hydra:
162162
run:
163-
dir: ./experiments_outputs/miniresnet_1stack_esc10_for_real
163+
dir: ./src/experiments_outputs/miniresnet_1stack_esc10_for_real

audio_event_detection/miniresnet/ST_pretrainedmodel_public_dataset/esc10/miniresnet_2stacks_64x50_tl/miniresnet_2stacks_64x50_tl_config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ dataset:
1616
name: esc10
1717
class_names: ['dog', 'chainsaw', 'crackling_fire', 'helicopter', 'rain', 'crying_baby', 'clock_tick', 'sneezing', 'rooster', 'sea_waves']
1818
file_extension: '.wav'
19-
training_audio_path: ..\datasets\ESC-50\audio # Mandatory
20-
training_csv_path: ..\datasets\ESC-50\meta\esc50.csv # Mandatory
19+
training_audio_path: ./datasets/ESC-50/audio # Mandatory
20+
training_csv_path: ./datasets/ESC-50/meta/esc50.csv # Mandatory
2121

2222
validation_audio_path: # Optional
2323
validation_csv_path: # Optional
@@ -146,7 +146,7 @@ benchmarking:
146146
board: B-U585I-IOT02A
147147

148148
deployment:
149-
c_project_path: ../../application_code/sensing_free_rtos
149+
c_project_path: ../application_code/sensing_free_rtos
150150
IDE: GCC
151151
verbosity: 1
152152
hardware_setup:
@@ -157,8 +157,8 @@ deployment:
157157

158158

159159
mlflow:
160-
uri: ./experiments_outputs/mlruns
160+
uri: ./src/experiments_outputs/mlruns
161161

162162
hydra:
163163
run:
164-
dir: ./experiments_outputs/miniresnet_2stack_esc10
164+
dir: ./src/experiments_outputs/miniresnet_2stack_esc10

audio_event_detection/miniresnetv2/ST_pretrainedmodel_public_dataset/esc10/miniresnetv2_1stacks_64x50_tl/miniresnetv2_1stacks_64x50_tl_config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ dataset:
1616
name: esc10
1717
class_names: ['dog', 'chainsaw', 'crackling_fire', 'helicopter', 'rain', 'crying_baby', 'clock_tick', 'sneezing', 'rooster', 'sea_waves']
1818
file_extension: '.wav'
19-
training_audio_path: ..\datasets\ESC-50\audio # Mandatory
20-
training_csv_path: ..\datasets\ESC-50\meta\esc50.csv # Mandatory
19+
training_audio_path: ./datasets/ESC-50/audio # Mandatory
20+
training_csv_path: ./datasets/ESC-50/meta/esc50.csv # Mandatory
2121

2222
validation_audio_path: # Optional
2323
validation_csv_path: # Optional
@@ -145,7 +145,7 @@ benchmarking:
145145
board: B-U585I-IOT02A
146146

147147
deployment:
148-
c_project_path: ../../application_code/sensing_free_rtos
148+
c_project_path: ../application_code/sensing_free_rtos
149149
IDE: GCC
150150
verbosity: 1
151151
hardware_setup:
@@ -156,8 +156,8 @@ deployment:
156156

157157

158158
mlflow:
159-
uri: ./experiments_outputs/mlruns
159+
uri: ./src/experiments_outputs/mlruns
160160

161161
hydra:
162162
run:
163-
dir: ./experiments_outputs/miniresnetv2_1stack_esc10
163+
dir: ./src/experiments_outputs/miniresnetv2_1stack_esc10

audio_event_detection/miniresnetv2/ST_pretrainedmodel_public_dataset/esc10/miniresnetv2_2stacks_64x50_tl/miniresnetv2_2stacks_64x50_tl_config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ dataset:
1616
name: esc10
1717
class_names: ['dog', 'chainsaw', 'crackling_fire', 'helicopter', 'rain', 'crying_baby', 'clock_tick', 'sneezing', 'rooster', 'sea_waves']
1818
file_extension: '.wav'
19-
training_audio_path: ..\datasets\ESC-50\audio # Mandatory
20-
training_csv_path: ..\datasets\ESC-50\meta\esc50.csv # Mandatory
19+
training_audio_path: ./datasets/ESC-50/audio # Mandatory
20+
training_csv_path: ./datasets/ESC-50/meta/esc50.csv # Mandatory
2121

2222
validation_audio_path: # Optional
2323
validation_csv_path: # Optional
@@ -145,7 +145,7 @@ benchmarking:
145145
board: B-U585I-IOT02A
146146

147147
deployment:
148-
c_project_path: ../../application_code/sensing_free_rtos
148+
c_project_path: ../application_code/sensing_free_rtos
149149
IDE: GCC
150150
verbosity: 1
151151
hardware_setup:
@@ -156,8 +156,8 @@ deployment:
156156

157157

158158
mlflow:
159-
uri: ./experiments_outputs/mlruns
159+
uri: ./src/experiments_outputs/mlruns
160160

161161
hydra:
162162
run:
163-
dir: ./experiments_outputs/miniresnetv2_2stack_esc10
163+
dir: ./src/experiments_outputs/miniresnetv2_2stack_esc10

audio_event_detection/yamnet/ST_pretrainedmodel_public_dataset/esc10/yamnet_1024_64x96_tl/yamnet_1024_64x96_tl.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
general:
22
project_name: aed_project
3-
model_path: /local/home/martinlu/model_zoo_services/audio_event_detection/src/experiments_outputs/2024_10_01_12_20_04/saved_models/best_model.h5
3+
model_path:
44
logs_dir: logs
55
saved_models_dir: saved_models
66
global_seed: 120
@@ -146,8 +146,8 @@ benchmarking:
146146
board: B-U585I-IOT02A
147147

148148
mlflow:
149-
uri: ./experiments_outputs/mlruns
149+
uri: ./src/experiments_outputs/mlruns
150150

151151
hydra:
152152
run:
153-
dir: ./experiments_outputs/${now:%Y_%m_%d_%H_%M_%S}
153+
dir: ./src/experiments_outputs/${now:%Y_%m_%d_%H_%M_%S}

audio_event_detection/yamnet/ST_pretrainedmodel_public_dataset/esc10/yamnet_256_64x96_tl/yamnet_256_64x96_tl_config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ dataset:
1616
name: esc10
1717
class_names: ['dog', 'chainsaw', 'crackling_fire', 'helicopter', 'rain', 'crying_baby', 'clock_tick', 'sneezing', 'rooster', 'sea_waves']
1818
file_extension: '.wav'
19-
training_audio_path: ..\datasets\ESC-50\audio # Mandatory
20-
training_csv_path: ..\datasets\ESC-50\meta\esc50.csv # Mandatory
19+
training_audio_path: ./datasets/ESC-50/audio # Mandatory
20+
training_csv_path: ./datasets/ESC-50/meta/esc50.csv # Mandatory
2121

2222
validation_audio_path: # Optional
2323
validation_csv_path: # Optional
@@ -143,7 +143,7 @@ benchmarking:
143143
board: B-U585I-IOT02A
144144

145145
deployment:
146-
c_project_path: ../../application_code/sensing_free_rtos
146+
c_project_path: ../application_code/sensing_free_rtos
147147
IDE: GCC
148148
verbosity: 1
149149
hardware_setup:
@@ -154,8 +154,8 @@ deployment:
154154

155155

156156
mlflow:
157-
uri: ./experiments_outputs/mlruns
157+
uri: ./src/experiments_outputs/mlruns
158158

159159
hydra:
160160
run:
161-
dir: ./experiments_outputs/yamnet_256_esc_10_second_run
161+
dir: ./src/experiments_outputs/yamnet_256_esc_10_second_run

audio_event_detection/yamnet/ST_pretrainedmodel_public_dataset/fsd50k/yamnet_256_64x96_tl/with_unknown_class/yamnet_256_64x96_tl_config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ dataset_specific:
4444
# Currently only supports fsd50k.
4545
# These parameters only need to be filled out IF the dataset name is set to 'fsd50K'
4646
fsd50k:
47-
csv_folder: ../datasets/FSD50K/FSD50K.ground_truth
48-
dev_audio_folder: ../datasets/FSD50K/FSD50K.dev_audio
49-
eval_audio_folder: ../datasets/FSD50K/FSD50K.eval_audio
47+
csv_folder: ./datasets/FSD50K/FSD50K.ground_truth
48+
dev_audio_folder: ./datasets/FSD50K/FSD50K.dev_audio
49+
eval_audio_folder: ./datasets/FSD50K/FSD50K.eval_audio
5050
# Change this next line to the ontology path on your machine.
5151
# Download the ontology at https://github.com/audioset/ontology
52-
audioset_ontology_path: preprocessing/dataset_utils/fsd50k/audioset_ontology.json
52+
audioset_ontology_path: ./src/preprocessing/dataset_utils/fsd50k/audioset_ontology.json
5353
only_keep_monolabel: True
5454

5555
preprocessing:
@@ -157,7 +157,7 @@ benchmarking:
157157
board: B-U585I-IOT02A
158158

159159
deployment:
160-
c_project_path: ../../application_code/sensing_free_rtos
160+
c_project_path: ../application_code/sensing_free_rtos
161161
IDE: GCC
162162
verbosity: 1
163163
hardware_setup:
@@ -168,8 +168,8 @@ deployment:
168168

169169

170170
mlflow:
171-
uri: ./experiments_outputs/mlruns
171+
uri: ./src/experiments_outputs/mlruns
172172

173173
hydra:
174174
run:
175-
dir: ./experiments_outputs/whatever
175+
dir: ./src/experiments_outputs/whatever

audio_event_detection/yamnet/ST_pretrainedmodel_public_dataset/fsd50k/yamnet_256_64x96_tl/without_unknown_class/yamnet_256_64x96_tl_config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ dataset_specific:
4444
# Currently only supports fsd50k.
4545
# These parameters only need to be filled out IF the dataset name is set to 'fsd50K'
4646
fsd50k:
47-
csv_folder: ../datasets/FSD50K/FSD50K.ground_truth
48-
dev_audio_folder: ../datasets/FSD50K/FSD50K.dev_audio
49-
eval_audio_folder: ../datasets/FSD50K/FSD50K.eval_audio
47+
csv_folder: ./datasets/FSD50K/FSD50K.ground_truth
48+
dev_audio_folder: ./datasets/FSD50K/FSD50K.dev_audio
49+
eval_audio_folder: ./datasets/FSD50K/FSD50K.eval_audio
5050
# Change this next line to the ontology path on your machine.
5151
# Download the ontology at https://github.com/audioset/ontology
52-
audioset_ontology_path: preprocessing/dataset_utils/fsd50k/audioset_ontology.json
52+
audioset_ontology_path: ./src/preprocessing/dataset_utils/fsd50k/audioset_ontology.json
5353
only_keep_monolabel: True
5454

5555
preprocessing:
@@ -143,7 +143,7 @@ quantization:
143143
# The prediction section is optional unless you set operation_mode to "prediction".
144144
# If you do so, the attribute test_files_path is mandatory.
145145
prediction:
146-
test_files_path: ../test_files
146+
test_files_path: ./datasets/test_files
147147

148148
tools:
149149
stedgeai:
@@ -157,7 +157,7 @@ benchmarking:
157157
board: B-U585I-IOT02A
158158

159159
deployment:
160-
c_project_path: ../../application_code/sensing_free_rtos
160+
c_project_path: ../application_code/sensing_free_rtos
161161
IDE: GCC
162162
verbosity: 1
163163
hardware_setup:
@@ -168,8 +168,8 @@ deployment:
168168

169169

170170
mlflow:
171-
uri: ./experiments_outputs/mlruns
171+
uri: ./src/experiments_outputs/mlruns
172172

173173
hydra:
174174
run:
175-
dir: ./experiments_outputs/whatever
175+
dir: ./src/experiments_outputs/whatever

hand_posture/CNN2D_ST_HandPosture/ST_pretrainedmodel_custom_dataset/ST_VL53L5CX_handposture_dataset/CNN2D_ST_HandPosture_8classes/CNN2D_ST_HandPosture_8classes_config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dataset:
1919
- Love
2020
- BreakTime
2121
- CrossHands
22-
training_path: ../datasets/ST_VL53L5CX_handposture_dataset
22+
training_path: ./datasets/ST_VL53L5CX_handposture_dataset
2323
validation_path: null
2424
validation_split: null
2525
test_path: null
@@ -62,14 +62,14 @@ tools:
6262
benchmarking:
6363
board: NUCLEO-F401RE
6464
deployment:
65-
c_project_path: ../../application_code/hand_posture/
65+
c_project_path: ../application_code/hand_posture/
6666
IDE: GCC
6767
verbosity: 1
6868
hardware_setup:
6969
serie: STM32F4
7070
board: NUCLEO-F401RE
7171
mlflow:
72-
uri: ./experiments_outputs/mlruns
72+
uri: ./src/experiments_outputs/mlruns
7373
hydra:
7474
run:
75-
dir: ./experiments_outputs/${now:%Y_%m_%d_%H_%M_%S}
75+
dir: ./src/experiments_outputs/${now:%Y_%m_%d_%H_%M_%S}

0 commit comments

Comments
 (0)