Hi,
I'm working on a project involving the i.MX8M i.Core MX8M Plus more specifically I need to execute an .tflite ML model using the NPU accelerator.
I successfully created a Yocto Image [imx-image-full] installed on my device and tested the example program ./label_image located in /usr/bin/tensorflow-lite-2.10.0/ and I executed with the parameter --external_delegate_path=/usr/lib/libvx_delegate.so and successfully executed using the NPU.
Now I need to customize the code to execute the model on a live webcam, the question is Where I can find the code of this binary file? I supposed that was the one included in the TensorFlow GitHub repository [ GitHub lite/examples/label_image ] but this code did not mention the external delegate, which is the one that allow me to execute the model on the NPU, which is fundamental for my project.
Hi @macca0612!
Thank you for contacting NXP Support!
You have to refer to our Github instead:
Also if you need the documentation about our examples and the usage of our software you can refer to the Machine Learning User Guide.
https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf
Best Regards!
Chavira