Skip to content

Commit 369e0c1

Browse files
committed
Final edits
1 parent 05f4b25 commit 369e0c1

File tree

4 files changed

+42
-15
lines changed

4 files changed

+42
-15
lines changed
2.28 MB
Loading
21.3 KB
Loading

content/learning-paths/microcontrollers/introduction-to-tinyml-on-arm/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ tools_software_languages:
4242
- Executorch
4343
- Arm Compute Library
4444
- GCC
45+
- Edge Impulse
46+
- Nodejs
4547

4648
### FIXED, DO NOT MODIFY
4749
# ================================================================================

content/learning-paths/microcontrollers/introduction-to-tinyml-on-arm/env-setup-5.md

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ To install the Corstone-300 FVP on your computer refer to the [install guide for
4444

4545
The Corstone-300 FVP is pre-installed in Arm Virtual Hardware.
4646

47+
## Install PyTorch
48+
The latest version needs Python 3.8 or later
49+
50+
```console
51+
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
52+
53+
```
4754

4855
## Install Executorch
4956

@@ -55,38 +62,56 @@ The Corstone-300 FVP is pre-installed in Arm Virtual Hardware.
5562
conda activate executorch
5663
```
5764

65+
## Install Edge Impulse CLI
66+
1. Create an [Edge Impulse Account](https://studio.edgeimpulse.com/signup) if you do not have one
67+
68+
2. Install the CLI tools
69+
70+
Ensure you have Nodejs install
71+
72+
```console
73+
node -v
74+
```
75+
Install the Edge Impulse CLI
76+
```console
77+
npm install -g edge-impulse-cli
78+
```
79+
3. Install Edge Impulse Screen
80+
```console
81+
sudo apt install screen
82+
```
83+
84+
4. Download and extract the latest Edge Impulse firmware
85+
Grove Vision V2 [Edge impulse Firmware](https://cdn.edgeimpulse.com/firmware/seeed-grove-vision-ai-module-v2.zip).
86+
5887

5988
## Setup on Grove - Vision AI Module V2
6089
Due to its constrained environment, we'll focus on lightweight, optimized tools and models (will be introcuded in the next learning path).
6190

91+
![Hardware Overview #center](Overview.png)
92+
93+
Hardware overview : [Image credits](https://wiki.seeedstudio.com/grove_vision_ai_v2/).
94+
6295
1. Connect the Grove - Vision AI Module V2 to your computer using the USB-C cable.
6396

64-
![Board connection #center](connect.png)
97+
![Board connection](Connect.png)
98+
6599

66-
2. Install Edge Impulse CLI. It will help in data collection and model deployment.
100+
2. In the extracted Edge Impulse firmware, locate and run the installation scripts to flash your device.
67101

68102
```console
69-
npm install -g edge-impulse-cli
103+
./flash_linux.sh
70104
```
71105

72106
3. Configure Edge Impulse for the board
73-
In your terminal, run:
107+
in your terminal, run:
74108

75109
```console
76110
edge-impulse-daemon
77111
```
78112
Follow the prompts to log in.
79113

80-
4. Verify Setup: Connect to your device
114+
4. Verify your board is connected
81115

82-
```console
83-
edge-impulse-run-impulse --api-key YOUR_API_KEY
84-
```
85-
86-
If successful, you should see data from your Grove - Vision AI Module V2.
116+
If successful, you should see your Grove - Vision AI Module V2 under 'Devices' in Edge Impulse.
87117

88-
5. Install Executorch
89-
90-
```console
91-
pip install executorch
92-
```

0 commit comments

Comments
 (0)