Changes

Jump to: navigation, search
Profiling model execution on NPU
[[File:ML-TN-001 4 acceleration.png|thumb|center|600px]]
==== <big>Profiling model execution on NPU</big> ====
The following block shows the eIQ profiler log. "The log captures detailed information of the execution clock cycles and DDR data transmission in each layer". Note that the time needed for inference is longer than usual while the profiler overhead is added. The input command and the messages printed from the application are in bold to separate them from the log.
'''root@imx8mpevk:/mnt/ramdisk/image_classifier_eIQ_plus# build/image_classifier_cv 3 my_fruits_model_qatlegacy.tflite labels.txt testdata/red-apple1.jpg '''
prev_ptrs = 0xffffa369c040
Exit VX Thread: 0xa3ee5fb0
 
=== <big>Version 3</big> ===
The following image shows the execution of the third version of the classifier on the embedded platform. The image sensor is pointed at a red apple which is correctly classified with 98% confidence. Note that with this camera, the frame rate is capped at 30 fps, but it could be way higher because the inference on NPU only takes few milliseconds as shown before.
4,650
edits

Navigation menu