<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Step-by-Step Help to Deploy Custom ML Model on i.MX95 NPU in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2083244#M236483</link>
    <description>&lt;P&gt;Hi, Varshil here.&lt;/P&gt;&lt;P&gt;We are using the i.MX95 processor in our organization for a Computer Vision project. Our goal is to deploy a custom-trained ML model on the NPU (Neural Processing Unit) of the i.MX95 to take advantage of hardware acceleration.&lt;/P&gt;&lt;P&gt;Could you please guide me step-by-step on:&lt;BR /&gt;- Which tools or SDKs are required (e.g., eIQ Toolkit, TFLite runtime)?&lt;BR /&gt;- How to convert and deploy models (e.g., from TensorFlow or PyTorch)?&lt;BR /&gt;- How to run the model on NPU in an eMMC-based Yocto environment / SD Card based Yocto envionment?&lt;BR /&gt;- Any sample references or documentation to get started?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 18 Apr 2025 09:56:37 GMT</pubDate>
    <dc:creator>varshilg</dc:creator>
    <dc:date>2025-04-18T09:56:37Z</dc:date>
    <item>
      <title>Step-by-Step Help to Deploy Custom ML Model on i.MX95 NPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2083244#M236483</link>
      <description>&lt;P&gt;Hi, Varshil here.&lt;/P&gt;&lt;P&gt;We are using the i.MX95 processor in our organization for a Computer Vision project. Our goal is to deploy a custom-trained ML model on the NPU (Neural Processing Unit) of the i.MX95 to take advantage of hardware acceleration.&lt;/P&gt;&lt;P&gt;Could you please guide me step-by-step on:&lt;BR /&gt;- Which tools or SDKs are required (e.g., eIQ Toolkit, TFLite runtime)?&lt;BR /&gt;- How to convert and deploy models (e.g., from TensorFlow or PyTorch)?&lt;BR /&gt;- How to run the model on NPU in an eMMC-based Yocto environment / SD Card based Yocto envionment?&lt;BR /&gt;- Any sample references or documentation to get started?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 09:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2083244#M236483</guid>
      <dc:creator>varshilg</dc:creator>
      <dc:date>2025-04-18T09:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Step-by-Step Help to Deploy Custom ML Model on i.MX95 NPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2083320#M236487</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249527"&gt;@varshilg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please take a look to the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf" target="_self"&gt;i.MX Machine Learning User's Guide&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;There is explained all the necessary about deploying ML on i.MX family, including i.MX95.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 13:07:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2083320#M236487</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2025-04-18T13:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Step-by-Step Help to Deploy Custom ML Model on i.MX95 NPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2083874#M236515</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your response!&lt;/P&gt;&lt;P&gt;I went through the user manual, and it was really helpful. I was able to deploy the pre-trained MobileNet V1 model on the IMX95 using the NPU.&lt;/P&gt;&lt;P&gt;Here’s a summary of my results:&lt;/P&gt;&lt;P&gt;root@imx95-iwg61m:~/varshil/IMX95_Model_Deployment# python3 label_image.py \&lt;BR /&gt;-m mobilenet_v1_1.0_224_quant.tflite \&lt;BR /&gt;-l labels.txt \&lt;BR /&gt;-i test.jpg \&lt;BR /&gt;-e /usr/lib/libneutron_delegate.so&lt;BR /&gt;Loading external delegate from /usr/lib/libneutron_delegate.so with args: {}&lt;BR /&gt;INFO: NeutronDelegate delegate: 29 nodes delegated out of 31 nodes with 1 partitions.&lt;BR /&gt;INFO: Created TensorFlow Lite XNNPACK delegate for CPU.&lt;BR /&gt;1.000000: fox squirrel&lt;BR /&gt;0.000000: toilet tissue&lt;BR /&gt;0.000000: starfish&lt;BR /&gt;0.000000: zebra&lt;BR /&gt;0.000000: sorrel&lt;BR /&gt;time: 5.978ms&lt;/P&gt;&lt;P&gt;However, I’m currently stuck while trying to deploy my custom CNN model for Emotion Detection. I trained it on my local server and converted it to TFLite format, but I’m encountering some issues during deployment.&lt;/P&gt;&lt;P&gt;My main question is: What layers are necessary for my model to be compatible with the Neutron Delegate? The user manual mentions supported operators for the Ethos-U Delegate but not for the Neutron Delegate.&lt;/P&gt;&lt;P&gt;I would greatly appreciate your guidance on how to move past this blocker.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Varshil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 12:03:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2083874#M236515</guid>
      <dc:creator>varshilg</dc:creator>
      <dc:date>2025-04-21T12:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Step-by-Step Help to Deploy Custom ML Model on i.MX95 NPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2090543#M236870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Any Update on it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varshil&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 06:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2090543#M236870</guid>
      <dc:creator>varshilg</dc:creator>
      <dc:date>2025-05-01T06:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Step-by-Step Help to Deploy Custom ML Model on i.MX95 NPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2090550#M236871</link>
      <description>&lt;P&gt;I am facing one more issue that I have my custom model which is right now in the H5 format. But I used EIQ Portal for converting this model into the tflite format and after using Neutron Converter I want to deploy that model on the IMX95 NPU Board.&lt;/P&gt;&lt;P&gt;But I am facing this error.&lt;/P&gt;&lt;P&gt;In that they mention that h5 format is not supported but in the user guide mentioned that h5 will support as Input.&lt;/P&gt;&lt;P&gt;Here I attached my model file as well. Please look and please guide me where is the issue?&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 396px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335937iAE44ED5EC1B7FDA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 06:58:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Step-by-Step-Help-to-Deploy-Custom-ML-Model-on-i-MX95-NPU/m-p/2090550#M236871</guid>
      <dc:creator>varshilg</dc:creator>
      <dc:date>2025-05-01T06:58:30Z</dc:date>
    </item>
  </channel>
</rss>

