<?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 Re: NPU bad detection with Yolov5 - i.MX8MP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1605051#M201979</link>
    <description>&lt;P&gt;Which version of BSP?&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you have correct labels and predictions, but wrong bounding boxes?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, everything seems wrong.&amp;nbsp;The results seem totally random.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the Variscite customer helpdesk, they say that the model should be rebuilt to be NPU-compatible. They sent me an optimized small mobile-net SSD model and the detections are perfect. But is actually a pain in the ass to train.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least I know for sure that the problem is entirely related to the model itself. For now, I'll use CPU with a smaller YOLO model,&amp;nbsp;In the hope of finding a way to use it with the NPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bests&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 07:22:53 GMT</pubDate>
    <dc:creator>simoberny</dc:creator>
    <dc:date>2023-02-24T07:22:53Z</dc:date>
    <item>
      <title>NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1587537#M200603</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm quite struggling for some time now trying to get NPU detection to work with a C++ program. The same code on the CPU gets optimal results, but using VX delegate the detections are completely wrong. The code seems to run smoothly and inference shows good timing (yolov5s model with 448x448 input ~ 70ms).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now I'm trying with Yolov5 (uint8 quantized), but I have tried with different pre-trained models obtaining the same behavior, good detection on CPU, and random detection on NPU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To obtain the model I used the export from yolov5 repo:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; python export.py --weights yolov5s.pt  --imgsz 448 --include tflite --int8&lt;/LI-CODE&gt;&lt;P&gt;I've also tried TFlite hub models like SSD and mobilenet, that have already been converted to uint8.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attachment the piece of code I am using for the inference and the converted yolov5n model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could it be the cause?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 09:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1587537#M200603</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-01-25T09:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1588349#M200658</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Attached you will find some benchmark on vx delegate and MX8MPlus, also it is an appnote on object detection.&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 16:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1588349#M200658</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-04-27T16:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1588416#M200664</link>
      <description>&lt;P&gt;Thanks for the response and the documentation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The guide actually describes what I already did.&lt;/P&gt;&lt;P&gt;For the sake of scruple, I followed all the steps and recreated a new model. But the situation remains the same, on CPU it works perfectly, instead on NPU I have no result except random detection with really low confidence. I tried both with INT8 quantized and FLOAT.&lt;/P&gt;&lt;P&gt;I am on Yocto 5.15.52-2.1.0 which uses Tensorflow 2.5.0 as default. I'm now trying to compile a newer version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another strange behavior is that when I use the VX delegate I can't gently close the application, because Segmentation Fault occurs. VX delegate is compiled to the last version with git official repo.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 16:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1588416#M200664</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-01-26T16:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1590517#M200843</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I wanted to clarify that the version I'm working on is 5.10.52. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, the yolov5_decode python script used in the guide is not accessible&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 10:58:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1590517#M200843</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-01-31T10:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1594817#M201166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At least, You have to change to 5.15.71 BSP.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 14:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1594817#M201166</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-02-07T14:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1604005#M201886</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211686"&gt;@simoberny&lt;/a&gt;&amp;nbsp;: I am facing the same issue . For me the detections are showing correctly when printed on console. The issue is with the bounding box co-ordinates. Co-ordinates of detected objects are random and some are negative as well. Can you or NXP support help on this matter?&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 18:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1604005#M201886</guid>
      <dc:creator>sams4</dc:creator>
      <dc:date>2023-02-22T18:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1605038#M201975</link>
      <description>&lt;P&gt;Unfortunately, this is not an option for me since I'm using a Basler camera and for that BSP version, there is still no driver available. Actually with the Variscite board, right now, the BSP is only up to 5.15.60.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could I ask what's the difference in the 5.15.70 version, that enables the use of NPU with Yolo models?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try in the future, but for now, I'm forced to use the CPU with a smaller model to have a decent time.&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 07:08:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1605038#M201975</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-02-24T07:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1605051#M201979</link>
      <description>&lt;P&gt;Which version of BSP?&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you have correct labels and predictions, but wrong bounding boxes?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, everything seems wrong.&amp;nbsp;The results seem totally random.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the Variscite customer helpdesk, they say that the model should be rebuilt to be NPU-compatible. They sent me an optimized small mobile-net SSD model and the detections are perfect. But is actually a pain in the ass to train.&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least I know for sure that the problem is entirely related to the model itself. For now, I'll use CPU with a smaller YOLO model,&amp;nbsp;In the hope of finding a way to use it with the NPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bests&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 07:22:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1605051#M201979</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-02-24T07:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1607884#M202218</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211686"&gt;@simoberny&lt;/a&gt;&amp;nbsp;: The BSP is upgraded to&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;5.15.32_2.0.0 version and it worked.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Detections and bounding boxes started appearing.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Thanks!!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 18:19:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1607884#M202218</guid>
      <dc:creator>sams4</dc:creator>
      <dc:date>2023-03-01T18:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1620452#M203107</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My version of BSP is 5.15.71.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I execute yolov5s-32fp-256.tflite on npu according to your teaching. My program is python and the .tflite has&amp;nbsp;correct result on cpu. However, on npu, I get&amp;nbsp;correct labels and predictions, but wrong bounding boxes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;in addition, some error appear when I use&lt;SPAN&gt;&amp;nbsp;VX delegate.&amp;nbsp;Can you tell me what's wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hy982530_0-1679544743981.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/215904i59E30BC1AB11E252/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hy982530_0-1679544743981.png" alt="hy982530_0-1679544743981.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 04:16:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1620452#M203107</guid>
      <dc:creator>hy982530</dc:creator>
      <dc:date>2023-03-23T04:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1621984#M203249</link>
      <description>&lt;P&gt;I roll back the version of &lt;SPAN&gt;BSP&amp;nbsp;&lt;/SPAN&gt;to &lt;SPAN&gt;5.15.32&lt;/SPAN&gt; and the &lt;SPAN&gt;bounding boxes are&lt;/SPAN&gt;&amp;nbsp;correct!&lt;/P&gt;&lt;P&gt;I want to confirm whether version &lt;SPAN&gt;5.15.71&lt;/SPAN&gt; is the cause of the incorrect results. Has anyone encountered the same problem?&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 25 Mar 2023 07:49:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1621984#M203249</guid>
      <dc:creator>hy982530</dc:creator>
      <dc:date>2023-03-25T07:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1621986#M203250</link>
      <description>&lt;P&gt;I added cl_viv_vx_ext.h in version &lt;SPAN&gt;5.15.71&lt;/SPAN&gt;, and the error message in the picture disappeared.&lt;/P&gt;&lt;P&gt;However, I got the same result:&amp;nbsp;&lt;SPAN&gt;correct labels and predictions, but wrong bounding boxes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2023 08:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1621986#M203250</guid>
      <dc:creator>hy982530</dc:creator>
      <dc:date>2023-03-25T08:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1640643#M204885</link>
      <description>&lt;P&gt;We are working on a project using a Yolov5 model.&amp;nbsp; As others have experienced the model runs fine on the CPU, valid bounding boxes, and results that match what are expected.&amp;nbsp; But we are having issues getting the model working with the NPU.&amp;nbsp; We have processed the model as described in the Object Detection using YOLOv5 document mentioned in this discussion.&amp;nbsp; The closest I've gotten is if I convert the saved_model.pb flavor (the frozen graph).&amp;nbsp;&amp;nbsp; But if I literally follow the documentation I get the error about the missing header and the failure to build the shader.&amp;nbsp; At the end of the run we don't get any results.&amp;nbsp;&amp;nbsp; I'm trying to zero in on where the problem lies.&amp;nbsp;&amp;nbsp; We are currently using BSP version 5.15.52.&amp;nbsp; But I see mention above that you need a minimum of 5.15.71.&amp;nbsp; So could someone provide some guidance on how to resolve this issue.&amp;nbsp; Note we are using C++.&amp;nbsp; Thanks..&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 13:54:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1640643#M204885</guid>
      <dc:creator>bb4567</dc:creator>
      <dc:date>2023-04-26T13:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648750#M205699</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Good morning,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I confirm that starting from version 5.15.71, the NPU works perfectly even with more complex models such as Yolov5. I get great results with reliability equal to the CPU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I was initially unable to upgrade as there were no updated Basler drivers available for the release.&lt;/P&gt;&lt;P&gt;I'am now obtaining ~10 FPS on a real time vehicles detection and tracking application, using Variscite i.MX8 Plus module on custom board + Basler da2500-60mci camera + Yocto Kirkstone 5.15.71_2.2.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for support,&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:14:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648750#M205699</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-05-11T13:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648771#M205702</link>
      <description>&lt;P&gt;Glad you got it to work for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately even though we are now at 5.15.71 BSP we continue to have the same issues when trying to use the NPU.&amp;nbsp;&amp;nbsp; Including using the .tflite model that is in the zip file along with the example script mentioned in the NXP YOLOv5 document.&amp;nbsp; So that should eliminate anything strange about our model.&lt;/P&gt;&lt;P&gt;So it sounds like there might still be a mismatch of some kind in the Yocto build for our board.&amp;nbsp; The board is from a different vendor than NXP, and the Yocto build details are from that company as well.&amp;nbsp; So at this point I'm thinking that there is a subtle difference in the build that is causing our issues.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:37:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648771#M205702</guid>
      <dc:creator>bb4567</dc:creator>
      <dc:date>2023-05-11T13:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648770#M205701</link>
      <description>&lt;P&gt;I'am using now 5.15.71 and result are correct using Yolov5.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be precise I'm using a yolov5s model trained on car recognition. I partially followed the official guide that was uploaded on this topic, but in the conversion to .tflite I used a uint8 quantization as input. In this way the NPU is fully exploited.&lt;/P&gt;&lt;P&gt;Results are very similar in terms of correctness to the CPU ones.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What version of tflite do you have? I'am currently with &lt;STRONG&gt;2.9.1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Bests&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:37:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648770#M205701</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-05-11T13:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648783#M205703</link>
      <description>Thanks. We are also running 2.9.1 of tflite. Our model is trained to recognize 10 classes of objects, It is also a yolov5s model before conversion. Runs fine on the CPU, and also runs fine with the Coral TPU. But the NPU is not loving the model. So I tested with the NXP pre-coverted .tflite model for their YOLOv5 example and that fails in the same manner. So something else has to be the issue in our configuration.</description>
      <pubDate>Thu, 11 May 2023 13:45:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648783#M205703</guid>
      <dc:creator>bb4567</dc:creator>
      <dc:date>2023-05-11T13:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648789#M205704</link>
      <description>&lt;P&gt;1. Who is the board vendor?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Kernel version is 5.15.71, but what version of Tflite does the vendor preinstalled in the yocto recipe? Variscite preloaded tensorflow 2.9.1.&lt;/P&gt;&lt;P&gt;3. Your issue is now wrong bounding boxes right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach the small model I'm currently using with the inference code. I hope it helps you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:49:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648789#M205704</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-05-11T13:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648798#M205705</link>
      <description>&lt;P&gt;Ah sorry I saw the message now, by now I had replied to the other message &lt;LI-EMOJI id="lia_grinning-face-with-sweat" title=":grinning_face_with_sweat:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;Ok actually in your case it seems like something much more difficult to fix, it doesn't seem related only to the versions. Anyway, just as a last try if you want, take a look at the files I uploaded.&lt;/P&gt;&lt;P&gt;To be honest, in my opinion there is too much useless documentation on these NPUs, and too little of what is really needed. I don't know how many hours I wasted on it, only to find out, here on this forum, that a higher kernel version was needed.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648798#M205705</guid>
      <dc:creator>simoberny</dc:creator>
      <dc:date>2023-05-11T13:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: NPU bad detection with Yolov5 - i.MX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648801#M205706</link>
      <description>Yes, the documentation has been a frustration for me as well. And not very good explanations from NXP support. For example one of the issues we get is it appears that the code thinks part way though execution that it should now be running on the GPU and so attempts to dynamically build a shader, which of course fails. That was a similar error that a couple of others on the forums have reported, but not explanation of what triggers that.</description>
      <pubDate>Thu, 11 May 2023 14:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NPU-bad-detection-with-Yolov5-i-MX8MP/m-p/1648801#M205706</guid>
      <dc:creator>bb4567</dc:creator>
      <dc:date>2023-05-11T14:02:55Z</dc:date>
    </item>
  </channel>
</rss>

