<?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>i.MX ProcessorsのトピックRe: How can I get the full integer quantization tflite model? (for object detection)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-full-integer-quantization-tflite-model-for/m-p/1782602#M218183</link>
    <description>&lt;P&gt;Thank you for your solution.&lt;/P&gt;&lt;P&gt;But I'm still lost about two output tensors. (1x1917x91, 1x1917x1x4)&lt;/P&gt;&lt;P&gt;I'm used to using four output tensors with many examples. (boxes, classes, scores, num_detections)&lt;/P&gt;&lt;P&gt;I don't know how to deal with this problem.&lt;/P&gt;&lt;P&gt;Is there any document for the way I can handle two tensors of mobilenet-SSD V2 model?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 02:39:03 GMT</pubDate>
    <dc:creator>dpcivl</dc:creator>
    <dc:date>2024-01-04T02:39:03Z</dc:date>
    <item>
      <title>How can I get the full integer quantization tflite model? (for object detection)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-full-integer-quantization-tflite-model-for/m-p/1782542#M218174</link>
      <description>&lt;P&gt;I'm doing my projects for object detection with i.MX 8M Plus evk board.&lt;/P&gt;&lt;P&gt;I'm struggle with the problem that the NPU of the board can't compute float32 data.&amp;nbsp;&lt;BR /&gt;(It can't use VX delegate but XNNpack.)&lt;/P&gt;&lt;P&gt;I want to convert pb file to tflite file, but it didn't work. Accuraccy was so bad. (pb file from Kaggle pre-trained model)&lt;/P&gt;&lt;P&gt;Furthermore, I made tflite model with full integer quantization and its classes' information were broke up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried the EIQ toolkit and the number of output tensors in the model was two, which I can't understand how to deal with it.&lt;/P&gt;&lt;P&gt;I want the full integer quantized model for using VX delegate during realtime object detection.&lt;/P&gt;&lt;P&gt;How can I get it?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 00:22:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-full-integer-quantization-tflite-model-for/m-p/1782542#M218174</guid>
      <dc:creator>dpcivl</dc:creator>
      <dc:date>2024-01-04T00:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the full integer quantization tflite model? (for object detection)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-full-integer-quantization-tflite-model-for/m-p/1782594#M218181</link>
      <description>&lt;P&gt;For pb-&amp;gt;tflite convert, recommand you convert pb to onnx using python script.&lt;/P&gt;
&lt;P&gt;Then open onnx file in eIQ, convert onnx file to tflite model and then set uint8/int8&amp;nbsp;&lt;SPAN&gt;quantization(For NPU, you should use in8/uint8, not 32bit).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;You need import dataset(at least 300+ images) when you set the quantization paramters.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 02:23:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-full-integer-quantization-tflite-model-for/m-p/1782594#M218181</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-01-04T02:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the full integer quantization tflite model? (for object detection)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-full-integer-quantization-tflite-model-for/m-p/1782602#M218183</link>
      <description>&lt;P&gt;Thank you for your solution.&lt;/P&gt;&lt;P&gt;But I'm still lost about two output tensors. (1x1917x91, 1x1917x1x4)&lt;/P&gt;&lt;P&gt;I'm used to using four output tensors with many examples. (boxes, classes, scores, num_detections)&lt;/P&gt;&lt;P&gt;I don't know how to deal with this problem.&lt;/P&gt;&lt;P&gt;Is there any document for the way I can handle two tensors of mobilenet-SSD V2 model?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 02:39:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-can-I-get-the-full-integer-quantization-tflite-model-for/m-p/1782602#M218183</guid>
      <dc:creator>dpcivl</dc:creator>
      <dc:date>2024-01-04T02:39:03Z</dc:date>
    </item>
  </channel>
</rss>

