You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -72,21 +72,39 @@ Preparing the machine learning model
72
72
73
73
.. group-tab:: Using |EIS| web interface
74
74
75
-
a. Go to the :guilabel:`Deployment` tab and select :guilabel:`Zephyr library`.
76
-
This will generate a :file:`zip` file that contains source files defining the |EI| ML model.
75
+
.. tabs::
77
76
78
-
.. figure:: ./images/ei_deploy.png
79
-
:scale:50 %
80
-
:alt:Model deployment in |EIS| dashboard
77
+
.. group-tab:: Model executed on CPU
81
78
82
-
Model deployment in |EIS| dashboard
79
+
a. Go to the :guilabel:`Deployment` tab and select :guilabel:`Zephyr library`.
80
+
This will generate a :file:`zip` file that contains source files defining the |EI| ML model for execution on CPU.
83
81
84
-
.. note::
85
-
Edge Impulse supports multiple deployment formats, some of which are compatible with |NCS| applications.
86
-
However, this instruction focuses on the Zephyr library deployment format.
82
+
.. figure:: ./images/ei_deploy_cpu.png
83
+
:scale:50 %
84
+
:alt:CPU model deployment in |EIS| dashboard
85
+
86
+
CPU model deployment in |EIS| dashboard
87
+
88
+
.. group-tab:: Model executed on Axon NPU
89
+
90
+
a. Go to the :guilabel:`Deployment` tab and select :guilabel:`Nordic Axon NPU Library`.
91
+
This will generate a :file:`zip` file that contains source files defining the |EI| ML model for Axon NPU.
92
+
93
+
.. figure:: ./images/ei_deploy_axon.png
94
+
:scale:50 %
95
+
:alt:Axon NPU model deployment in |EIS| dashboard
96
+
97
+
Axon NPU model deployment in |EIS| dashboard
98
+
99
+
.. note::
100
+
|EI| supports multiple deployment formats, some of which are compatible with |NCS| applications.
101
+
However, this instruction focuses on the `Zephyr library` and `Nordic Axon NPU Library` deployment formats.
87
102
88
103
.. group-tab:: Using |EI| west extensions
89
104
105
+
.. note::
106
+
This method currently does not allow deploying Axon NPU models.
107
+
90
108
|EI| provides west command extensions that let you build and deploy the machine learning model from |EIS| using the command line instead of the web interface.
91
109
The commands are already configured in the |EAI| west manifest and are ready to use.
92
110
@@ -126,57 +144,158 @@ Preparing the machine learning model
126
144
127
145
.. _ug_edge_impulse_adding_building:
128
146
129
-
.. rst-class:: numbered-step
130
-
131
147
Building an application with machine learning model
Copy file name to clipboardExpand all lines: doc/quick_start/axon_driver.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ Compared to higher‑level frameworks such as |EAILib|, using the driver API req
15
15
16
16
After completing this guide, you will have compiled a TensorFlow Lite model for the Axon NPU and deployed a custom application that performs inference using the Axon driver API.
17
17
18
+
.. _quick_start_axon_driver_model_compilation:
19
+
18
20
Model compilation
19
21
*****************
20
22
@@ -49,6 +51,8 @@ Test your compiled model to ensure it works correctly before integrating it into
49
51
Run :ref:`test_nn_inference` to confirm your compiled model produces correct results.
50
52
This validation step checks for compilation issues early in the development process.
Copy file name to clipboardExpand all lines: doc/quick_start/edge_impulse.rst
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@ Edge Impulse
10
10
The following guide explains how to develop and deploy machine learning applications on Nordic Semiconductor devices using |EI|.
11
11
It is ideal if you want an end‑to‑end workflow for data collection, model training, and deployment on embedded targets.
12
12
13
+
|EI| models can run on CPU or on the `Axon NPU`_, depending on the target device you select during the deployment process.
14
+
On devices equipped with the Axon NPU, |EI| automatically leverages hardware acceleration for supported operations, resulting in faster inference and lower power consumption.
15
+
On devices without the NPU, the same model runs in software on the CPU.
16
+
13
17
To follow this guide, you should be familiar with basic embedded systems development.
14
18
The guide covers the steps required to collect data, train a model using Edge Impulse tools, and deploy the resulting model to a Nordic device.
15
19
@@ -55,7 +59,7 @@ Choose the method that works best for your project:
55
59
* For image data, aim for 50-100 images per class as a starting point, with good variety in lighting, angles, and backgrounds.
56
60
* For all data types, prioritize dataset diversity and balance the number of samples across classes to improve model performance.
57
61
58
-
For more details on data collection strategies, follow the `Edge Impulse data acquisition` guide.
62
+
For more details on data collection strategies, follow the `Edge Impulse data acquisition`_ guide.
59
63
60
64
.. rst-class:: numbered-step
61
65
@@ -72,6 +76,11 @@ Train and deploy your model using `Edge Impulse studio`_:
72
76
73
77
Your model is now trained and ready for deployment on Nordic devices.
74
78
79
+
Next steps
80
+
==========
81
+
82
+
* If you use Axon and need lower‑level access to the NPU beyond what |EI| provides, see :ref:`quick_start_axon_driver_model_compilation` to learn how to compile custom TensorFlow Lite models for Axon.
83
+
75
84
Application development
76
85
***********************
77
86
@@ -109,7 +118,7 @@ The |EI| SDK makes it easy to load your model, feed it sensor data, and get pred
109
118
* Read the `Edge Impulse C++ SDK`_ documentation for comprehensive API reference and advanced features.
110
119
111
120
.. tip::
112
-
Start with one of the sample applications and modify it incrementally.
121
+
Start with one of the sample applications and modify it incrementally.
113
122
This will help you understand the API structure before building your custom application from scratch.
114
123
115
124
.. rst-class:: numbered-step
@@ -128,5 +137,5 @@ Next steps
128
137
129
138
To work on advanced solutions, see further documentation:
130
139
131
-
* Accelerate with Axon NPU - If you have a device with `Axon NPU`_, see :ref:`quick_start_axon_edge_impulse` to learn how to combine |EI| with Axon hardware acceleration for significantly faster inference times.
132
140
* Explore advanced features - Dive deeper into the `Edge Impulse C++ SDK`_ documentation to discover advanced capabilities like anomaly detection, continuous learning, and custom processing blocks.
141
+
* Direct Axon NPU control - If you use Axon and need lower‑level access to the NPU beyond what |EI| provides, see :ref:`quick_start_axon_driver_app_development` to learn how to implement custom inference pipelines with the Axon driver API.
Copy file name to clipboardExpand all lines: doc/release_notes_and_migration/release_notes_latest.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ This release is based on the |NCS| release v3.2.0.
20
20
* Added:
21
21
22
22
* :ref:`Hello Axon sample application <sample_hello_axon>`, along with documentation, demonstrating how to run neural model inference on the Axon NPU using the Axon NPU driver.
23
-
* :ref:`Hello Edge Impulse sample application <hello_ei_sample>` demonstrating neural network inference using an |EI| machine learning model on the CPU.
23
+
* :ref:`Hello Edge Impulse sample application <hello_ei_sample>` demonstrating neural network inference using an |EI| machine learning model on the CPU and the Axon NPU.
24
24
* :ref:`Data forwarder sample application <ei_data_forwarder_sample>` demonstrating how to forward sensor data to |EIS|.
25
25
* :ref:`Documentation for the Edge Impulse integration <edge_impulse_integration>`, with instructions for preparing and deploying |EI| machine learning models and using them in |EAI| applications.
26
-
* Edge Impulse SDK v1.82.3 integrated into the |EAI| west manifest.
26
+
* Edge Impulse SDK v1.88.1 integrated into the |EAI| west manifest.
27
27
* :ref:`Documentation for setting up the environment <setting_up_environment>`, depending on |EAI| use case.
0 commit comments