I have a project that i’m trying to use npu on my toradex. I found a library that maybe works for it, but since yesterday, i can’t use it anymore. The website https://artifactory.nxp.com/artifactory/api/gpg/key/public isn’t work anymore and i can’t find it on another website or repository. Anyone nows where i can find it or some other library that works for me? I’m tryng to test a yolo model using npu.
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
It seems you’re having trouble accessing the NXP artifactory for a library needed to use the NPU on your Toradex device. While the specific link you mentioned is currently unavailable, you might consider using the NXP eIQ software as an alternative.
NXP eIQ offers a comprehensive suite for machine learning applications optimized for i.MX SoCs, including support for Neural Network acceleration on the GPU or NPU through the OpenVX backend. This could be a suitable alternative for running your YOLO model.
To integrate eIQ with your project, you can use the Yocto Project to build a custom image that includes the necessary AI runtimes. Here’s a brief overview of the steps:
-
Clone the Toradex BSP Repository: Set up your environment by cloning the Toradex BSP repository to provide the base for your custom image.
-
Add eIQ Recipes: Include the eIQ recipes from the meta-imx layer in your Yocto build to add the necessary machine learning libraries and tools to your image.
-
Configure Your Build: Adjust your build configuration to target your specific Toradex module, such as the Verdin iMX8MP, ensuring all dependencies are correctly set up.
-
Build the Image: Compile the image using BitBake, integrating eIQ and any other required components into your custom Linux image.
-
Deploy and Test: Flash the built image onto your Toradex device and test your YOLO model using the NPU.
For Torizon users, you can also leverage Docker containers to deploy machine learning applications. Toradex provides Debian-based containers that can be customized to include eIQ and other necessary libraries.
By following these steps, you should be able to continue your project without relying on the unavailable NXP artifactory link.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem:
Hello @ramosanaju ,
Welcome to the Toradex community!
We do have some examples on which you can base your application.
Firstly, we have this article that presents an application for object detection, the entire project is available on GitHub here. About the library needed for the NPU, you can use the default container where we install all required libraries on these lines.
If you are using the VSCode IDE Extension, you can import this image classification project, it will help you to gain some development time since the project is already configured with all libraries and the extension allows you to deploy and debug easily.
Please let us know if you have any issues, I’m also available to have a meeting with you to help with these first steps.
Best regards,
Daniel Morais