Changes

Jump to: navigation, search
Version 2
=== Version 2 ===
The execution of the second version of the classifier on the embedded platform is detailed below. During the execution, <code>htop</code> was used to monitor the system. Note that "''the first execution of model inference using the NN API always takes many times longer, because of model graph initialization needed by the GPU/ML module"'', as stated by NXP documentation. Therefore, the time needed for the first inference (warm up) is measured separately.
<pre class="board-terminal">
==== Profiling model execution on NPU ====
The following block shows For the sake of completeness, the eIQ profiler logis provided as well in the following box. According to NXP documentation, ''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 because of profiler overhead. 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 '''
'''INFO: Created TensorFlow Lite delegate for NNAPI.'''
4,650
edits

Navigation menu