Skip to content

Commit 9ba96fc

Browse files
committed
Model variable refactoring
1 parent b148a6b commit 9ba96fc

File tree

15 files changed

+119
-13
lines changed

15 files changed

+119
-13
lines changed

models/models-list.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ models:
1111
"EI_OBJ_DETECTION_MODEL": "/models/ootb/ei/lw-face-det.eim"
1212
- arduino:video_object_detection:
1313
model_configuration:
14-
"EI_OBJ_DETECTION_MODEL": "/models/ootb/ei/lw-face-det.eim"
14+
"EI_V_OBJ_DETECTION_MODEL": "/models/ootb/ei/lw-face-det.eim"
1515
metadata:
1616
source: "qualcomm-ai-hub"
1717
ei-gpu-mode: false
@@ -109,12 +109,12 @@ models:
109109
source-model-id: "YOLOX-Nano"
110110
source-model-url: "https://github.com/Megvii-BaseDetection/YOLOX"
111111
bricks:
112-
- arduino:video_object_detection:
112+
- arduino:object_detection:
113113
model_configuration:
114114
"EI_OBJ_DETECTION_MODEL": "/models/ootb/ei/yolo-x-nano.eim"
115115
- arduino:video_object_detection:
116116
model_configuration:
117-
"EI_OBJ_DETECTION_MODEL": "/models/ootb/ei/yolo-x-nano.eim"
117+
"EI_V_OBJ_DETECTION_MODEL": "/models/ootb/ei/yolo-x-nano.eim"
118118
- mobilenet-image-classification:
119119
runner: brick
120120
name : "General purpose image classification"
@@ -1084,7 +1084,7 @@ models:
10841084
"EI_CLASSIFICATION_MODEL": "/models/ootb/ei/mobilenet-v2-224px.eim"
10851085
- arduino:video_image_classification:
10861086
model_configuration:
1087-
"EI_CLASSIFICATION_MODEL": "/models/ootb/ei/mobilenet-v2-224px.eim"
1087+
"EI_V_CLASSIFICATION_MODEL": "/models/ootb/ei/mobilenet-v2-224px.eim"
10881088
- person-classification:
10891089
runner: brick
10901090
name : "Person classification"
@@ -1105,7 +1105,7 @@ models:
11051105
"EI_CLASSIFICATION_MODEL": "/models/ootb/ei/person-classification.eim"
11061106
- arduino:video_image_classification:
11071107
model_configuration:
1108-
"EI_CLASSIFICATION_MODEL": "/models/ootb/ei/person-classification.eim"
1108+
"EI_V_CLASSIFICATION_MODEL": "/models/ootb/ei/person-classification.eim"
11091109
- concreate-crack-anomaly-detection:
11101110
runner: brick
11111111
name : "Concrete crack anomaly detection"

src/arduino/app_bricks/arduino_cloud/brick_config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ description: "Connects to Arduino Cloud"
44
variables:
55
- name: ARDUINO_DEVICE_ID
66
description: Arduino Cloud Device ID
7+
mandatory: true
78
- name: ARDUINO_SECRET
8-
description: Arduino Cloud Secret
9+
description: Arduino Cloud Secret
10+
mandatory: true
11+
secret: true

src/arduino/app_bricks/audio_classification/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ requires_model: true
99
model: glass-breaking
1010
model_configuration_variables:
1111
- EI_AUDIO_CLASSIFICATION_MODEL
12+
variables:
13+
- name: EI_AUDIO_CLASSIFICATION_MODEL
14+
description: Path to the model file
15+
private: true
16+
- name: CUSTOM_MODEL_PATH
17+
description: Path to the custom model directory
18+
private: true
19+
- name: BIND_ADDRESS
20+
description: Bind address
21+
private: true

src/arduino/app_bricks/dbstorage_tsstore/brick_compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BIND_ADDRESS = external container address
22
# BIND_PORT = container port
3-
# DB_USERNAME = Edge Impulse project API key
3+
# DB_USERNAME = Database username
44
# DB_PASSWORD = Database password
55
# INFLUXDB_ADMIN_TOKEN = InfluxDB admin token
66
services:

src/arduino/app_bricks/dbstorage_tsstore/brick_config.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,17 @@ id: arduino:dbstorage_tsstore
22
name: Database - Time Series
33
description: "Simplified time series database storage layer for Arduino sensor samples built on top of InfluxDB."
44
requires_container: true
5-
category: storage
5+
category: storage
6+
variables:
7+
- name: DB_USERNAME
8+
description: Database username
9+
default_value: admin
10+
- name: DB_PASSWORD
11+
description: Database password
12+
default_value: Arduino15
13+
- name: INFLUXDB_ADMIN_TOKEN
14+
description: InfluxDB admin token
15+
default_value: 392edbf2-b8a2-481f-979d-3f188b2c05f0
16+
- name: BIND_ADDRESS
17+
description: External container address
18+
private: true

src/arduino/app_bricks/image_classification/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ requires_model: true
99
model: mobilenet-image-classification
1010
model_configuration_variables:
1111
- EI_CLASSIFICATION_MODEL
12+
variables:
13+
- name: EI_CLASSIFICATION_MODEL
14+
description: Path to the model file
15+
private: true
16+
- name: CUSTOM_MODEL_PATH
17+
description: Path to the custom model directory
18+
private: true
19+
- name: BIND_ADDRESS
20+
description: Bind address
21+
private: true

src/arduino/app_bricks/keyword_spotting/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,13 @@ requires_model: true
1111
model: keyword-spotting-hey-arduino
1212
model_configuration_variables:
1313
- EI_KEYWORD_SPOTTING_MODEL
14+
variables:
15+
- name: EI_KEYWORD_SPOTTING_MODEL
16+
description: Path to the model file
17+
private: true
18+
- name: CUSTOM_MODEL_PATH
19+
description: Path to the custom model directory
20+
private: true
21+
- name: BIND_ADDRESS
22+
description: Bind address
23+
private: true

src/arduino/app_bricks/motion_detection/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ requires_model: true
99
model: updown-wave-motion-detection
1010
model_configuration_variables:
1111
- EI_MOTION_DETECTION_MODEL
12+
variables:
13+
- name: EI_MOTION_DETECTION_MODEL
14+
description: Path to the model file
15+
private: true
16+
- name: CUSTOM_MODEL_PATH
17+
description: Path to the custom model directory
18+
private: true
19+
- name: BIND_ADDRESS
20+
description: Bind address
21+
private: true

src/arduino/app_bricks/object_detection/brick_config.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,14 @@ requires_container: true
88
requires_model: true
99
model: yolox-object-detection
1010
model_configuration_variables:
11-
- EI_OBJ_DETECTION_MODEL
11+
- EI_OBJ_DETECTION_MODEL
12+
variables:
13+
- name: EI_OBJ_DETECTION_MODEL
14+
description: Path to the model file
15+
private: true
16+
- name: CUSTOM_MODEL_PATH
17+
description: Path to the custom model directory
18+
private: true
19+
- name: BIND_ADDRESS
20+
description: Bind address
21+
private: true

src/arduino/app_bricks/vibration_anomaly_detection/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ requires_model: true
99
model: fan-anomaly-detection
1010
model_configuration_variables:
1111
- EI_VIBRATION_ANOMALY_DETECTION_MODEL
12+
variables:
13+
- name: EI_VIBRATION_ANOMALY_DETECTION_MODEL
14+
description: Path to the model file
15+
private: true
16+
- name: CUSTOM_MODEL_PATH
17+
description: Path to the custom model directory
18+
private: true
19+
- name: BIND_ADDRESS
20+
description: Bind address
21+
private: true

0 commit comments

Comments
 (0)