Impulse runner
The impulse runner shows the results of your impulse running on your development board. This only applies to ready-to-go binaries built from the studio.
You start the impulse via:
1
$ edge-impulse-run-impulse
Copied!
This will sample data from your real sensors, classify the data, then print the results. E.g.:
1
edge-impulse-run-impulse
2
Edge Impulse impulse runner v1.7.3
3
[SER] Connecting to /dev/tty.usbmodem401103
4
[SER] Serial is connected, trying to read config...
5
[SER] Retrieved configuration
6
[SER] Device is running AT command version 1.3.0
7
[SER] Started inferencing...
8
Inferencing settings:
9
Interval: 16.00 ms.
10
Frame size: 375
11
Sample length: 2000 ms.
12
No. of classes: 4
13
Starting inferencing, press 'b' to break
14
Sampling... Storing in file name: /fs/device-classification.4
15
Predictions (DSP: 16 ms., Classification: 1 ms., Anomaly: 2 ms.):
16
idle: 0.91016
17
snake: 0.08203
18
updown: 0.00391
19
wave: 0.00391
20
anomaly score: -0.067
21
Finished inferencing, raw data is stored in '/fs/device-classification.4'. Use AT+UPLOADFILE to send back to Edge Impulse.
Copied!

Other options

  • --debug - run the impulse in debug mode, this will print the intermediate DSP results. For image models, a live feed of the camera and inference results will also be locally hosted and available in your browser.
  • --continuous - run the impulse in continuous mode (not available on all platforms).
Export as PDF
Copy link
Contents