Skip to content

Commit 2c93a0b

Browse files
remote-debug-example: Describe how to debug apps using run options (#443)
Co-authored-by: Isak Jakobsson <[email protected]>
1 parent 52f1c92 commit 2c93a0b

File tree

4 files changed

+36
-19
lines changed

4 files changed

+36
-19
lines changed

object-detection-cv25/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ Depending on selected chip, different output is received. The label file is used
294294
295295
In the system log the chip is sometimes only mentioned as a string, they are mapped as follows:
296296
297-
| Chips | Larod 1 (int) | Larod 3 |
298-
|-------|--------------|------------------|
299-
| CPU with TensorFlow Lite | 2 | cpu-tflite |
300-
| Google TPU | 4 | google-edge-tpu-tflite |
301-
| Ambarella CVFlow (NN) | 6 | ambarella-cvflow |
302-
| ARTPEC-8 DLPU | 12 | axis-a8-dlpu-tflite |
303-
| ARTPEC-9 DLPU | - | a9-dlpu-tflite |
297+
| Chips | Larod 1 (int) | Larod 3 |
298+
| ------------------------ | ------------- | ---------------------- |
299+
| CPU with TensorFlow Lite | 2 | cpu-tflite |
300+
| Google TPU | 4 | google-edge-tpu-tflite |
301+
| Ambarella CVFlow (NN) | 6 | ambarella-cvflow |
302+
| ARTPEC-8 DLPU | 12 | axis-a8-dlpu-tflite |
303+
| ARTPEC-9 DLPU | - | a9-dlpu-tflite |
304304
305305
There are four outputs from MobileNet SSD v2 (COCO) model. The number of detections, cLasses, scores, and locations are shown as below. The four location numbers stand for \[top, left, bottom, right\]. By the way, currently the saved images will be overwritten continuously, so those saved images might not all from the detections of the last frame, if the number of detections is less than previous detection numbers.
306306

remote-debug-example/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,23 @@ ssh acap-remote_debug@<AXIS_DEVICE_IP>
191191
/tmp/gdbserver :1234 /usr/local/packages/remote_debug/remote_debug
192192
```
193193

194+
> [!NOTE]
195+
> If your `manifest.json` file contains runtime options under
196+
> `acapPackageConf.setup.runOptions`, these are not automatically propagated to
197+
> the gdbserver. You must explicity include them when starting the `gdbserver`.
198+
>
199+
> For example, if your `manifest.json` contains:
200+
>
201+
> ```json
202+
> "runOptions": "--arg1 value1 --arg2 value2"
203+
> ```
204+
>
205+
> Start the gdbserver with:
206+
>
207+
> ```sh
208+
> /tmp/gdbserver :1234 /usr/local/packages/remote_debug/remote_debug --arg1 value1 --arg2 value2
209+
> ```
210+
194211
You should see output similar to:
195212
196213
```sh

tensorflow-to-larod/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ be done using less precision. This generally results in significantly lower
122122
inference latency and model size with only a slight penalty to the model's
123123
accuracy.
124124

125-
| Chip | Supported precision |
126-
|---------- |------------------ |
127-
| Edge TPU | INT8 |
128-
| Common CPUs | FP32, INT8 |
129-
| Common GPUs | FP32, FP16, INT8 |
125+
| Chip | Supported precision |
126+
| ----------- | ------------------- |
127+
| Edge TPU | INT8 |
128+
| Common CPUs | FP32, INT8 |
129+
| Common GPUs | FP32, FP16, INT8 |
130130

131131
As noted in the first chapter, this example uses a camera equipped with an Edge TPU.
132132
As the Edge TPU chip **only** uses INT8 precision, the model will need to be quantized from

vdo-larod/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ Depending on the selected chip, different output is received.
276276

277277
In previous larod versions, the chip was referred to as a number instead of a string. See the table below to understand the mapping:
278278

279-
| Chips | Larod 1 (int) | Larod 3 |
280-
|-------|--------------|------------------|
281-
| CPU with TensorFlow Lite | 2 | cpu-tflite |
282-
| Google TPU | 4 | google-edge-tpu-tflite |
283-
| Ambarella CVFlow (NN) | 6 | ambarella-cvflow |
284-
| ARTPEC-8 DLPU | 12 | axis-a8-dlpu-tflite |
285-
| ARTPEC-9 DLPU | - | a9-dlpu-tflite |
279+
| Chips | Larod 1 (int) | Larod 3 |
280+
| ------------------------ | ------------- | ---------------------- |
281+
| CPU with TensorFlow Lite | 2 | cpu-tflite |
282+
| Google TPU | 4 | google-edge-tpu-tflite |
283+
| Ambarella CVFlow (NN) | 6 | ambarella-cvflow |
284+
| ARTPEC-8 DLPU | 12 | axis-a8-dlpu-tflite |
285+
| ARTPEC-9 DLPU | - | a9-dlpu-tflite |
286286

287287
#### Output - ARTPEC-8 with TensorFlow Lite
288288

0 commit comments

Comments
 (0)