<?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>Other NXP ProductsのトピックRe: i.MX95 GoPoint DMS Demo: Graph differences and PTQ process for face_detection_ptq.tflite</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/i-MX95-GoPoint-DMS-Demo-Graph-differences-and-PTQ-process-for/m-p/2374546#M32417</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;1. Models often have unsupported operators and lead to change them with a combination of&amp;nbsp;supported operators. The difference you are observing may be because of supported operators to optimize NPU usage.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/UG10166.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/UG10166.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;2. PTQ can be applied with a quantized TFLite model using eIQ toolkit prior to converting it to Vela or Neutron models.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/EIQTUG/page/topics/quantization.html" target="_blank"&gt;https://docs.nxp.com/bundle/EIQTUG/page/topics/quantization.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2026 17:46:30 GMT</pubDate>
    <dc:creator>JosephAtNXP</dc:creator>
    <dc:date>2026-06-01T17:46:30Z</dc:date>
    <item>
      <title>i.MX95 GoPoint DMS Demo: Graph differences and PTQ process for face_detection_ptq.tflite</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/i-MX95-GoPoint-DMS-Demo-Graph-differences-and-PTQ-process-for/m-p/2373010#M32335</link>
      <description>&lt;DIV class=""&gt;Hello,&lt;/DIV&gt;&lt;DIV class=""&gt;I am currently running the &lt;STRONG&gt;GoPoint Driver Monitoring System (DMS)&lt;/STRONG&gt; demo on an &lt;STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;A href="https://www.google.com/search?ibp=oshop&amp;amp;prds=pvt:hg,pvo:29,imageDocid:12247372522650438966,headlineOfferDocid:12930004561934444363,productDocid:12930004561934444363&amp;amp;q=product&amp;amp;sa=X&amp;amp;ved=2ahUKEwi68aDIqt6UAxXhbGwGHdv7JdEQxa4PeggIAggACA0QAg" target="_blank" rel="noopener"&gt;i.MX95&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt; evaluation kit using the &lt;STRONG&gt;lf-6.12.49_2.2.0&lt;/STRONG&gt; release.&lt;/DIV&gt;&lt;DIV class=""&gt;While examining the source code comments for the face detection model, it notes that the demo utilizes Google's MediaPipe BlazeFace (short-range) model:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Original Google Model:&lt;/STRONG&gt; face_detection_short_range.tflite (MediaPipe Assets URL)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Model Card:&lt;/STRONG&gt; BlazeFace Model Card&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;License:&lt;/STRONG&gt; Apache-2.0&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;However, the demo's downloads.json points to an NXP-hosted, quantized variant:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;NXP Asset URL:&lt;/STRONG&gt; &lt;A href="https://github.com/nxp-imx-support/nxp-demo-experience-assets/raw/lf-6.12.49_2.2.0/models/face_detection_ptq.tflite" target="_blank" rel="noopener"&gt;https://github.com/nxp-imx-support/nxp-demo-experience-assets/raw/lf-6.12.49_2.2.0/models/face_detection_ptq.tflite&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;The Issue / Discrepancy:&lt;/DIV&gt;&lt;DIV class=""&gt;When I load and compare both the original Google MediaPipe TFLite model and NXP's face_detection_ptq.tflite in &lt;STRONG&gt;n&lt;/STRONG&gt;&lt;STRONG&gt;etron.app&lt;/STRONG&gt;, I notice that &lt;STRONG&gt;the model graphs are structurally different&lt;/STRONG&gt;. They do not look like a simple 1:1 quantization of the exact same network topology.&lt;/DIV&gt;&lt;DIV class=""&gt;I have two questions regarding how NXP prepared this asset for the i.MX95 NPU / eIQ stack:&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Graph Discrepancies:&lt;/STRONG&gt; Why are the model graphs structurally different in Netron? Did NXP modify the network architecture, strip custom MediaPipe TFLite operations (like custom anchors/detections), or substitute certain layers to optimize compatibility with the i.MX95 NPU / eIQ inference engine?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;PTQ Implementation Pipeline:&lt;/STRONG&gt; If NXP optimized and converted the original Google model, how was &lt;STRONG&gt;Post-Training Quantization (PTQ)&lt;/STRONG&gt; applied? Typically, standard TensorFlow optimization pipelines require the original frozen graph (.pb), saved model format, or floating-point Keras/TF definitions to run calibration datasets. Since Google distributes MediaPipe models directly as .tflite files, did NXP apply PTQ directly onto a floating-point .tflite file (e.g., using the tf.lite.TFLiteConverter.from_saved_model pipeline or eIQ tools), or was the model reconstructed from scratch?&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;Any insight into the exact optimization and quantization workflow used for this demo asset would be highly appreciated!&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thanks in advance.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;HR /&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 May 2026 10:56:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/i-MX95-GoPoint-DMS-Demo-Graph-differences-and-PTQ-process-for/m-p/2373010#M32335</guid>
      <dc:creator>akashhalli</dc:creator>
      <dc:date>2026-05-29T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX95 GoPoint DMS Demo: Graph differences and PTQ process for face_detection_ptq.tflite</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/i-MX95-GoPoint-DMS-Demo-Graph-differences-and-PTQ-process-for/m-p/2374546#M32417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;1. Models often have unsupported operators and lead to change them with a combination of&amp;nbsp;supported operators. The difference you are observing may be because of supported operators to optimize NPU usage.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/UG10166.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/UG10166.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;2. PTQ can be applied with a quantized TFLite model using eIQ toolkit prior to converting it to Vela or Neutron models.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/EIQTUG/page/topics/quantization.html" target="_blank"&gt;https://docs.nxp.com/bundle/EIQTUG/page/topics/quantization.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2026 17:46:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/i-MX95-GoPoint-DMS-Demo-Graph-differences-and-PTQ-process-for/m-p/2374546#M32417</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2026-06-01T17:46:30Z</dc:date>
    </item>
  </channel>
</rss>

