<?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のトピックError when converting Pytorch model to DeepViewRT model</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-when-converting-Pytorch-model-to-DeepViewRT-model/m-p/1665488#M207282</link>
    <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;I'm seeking your help in solving the following issue ..&lt;/P&gt;&lt;P&gt;I installed eIQ Toolkit 1.7.3 on Windows 10 and I want to convert my Pytorch model to DeepViewRT (.rtm) model, so I can eventually deploy the .rtm model on the i.MX 8M Plus processor.&lt;/P&gt;&lt;P&gt;I followed&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN13769" target="_self"&gt;this guide&lt;/A&gt;, I converted the Pytorch model to ONNX model, then as described in the guide, I tried to convert the ONNX model to a quantized ONNX model.&lt;/P&gt;&lt;P&gt;However, the conversion process terminated with an unhelpful error message: "&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;object of type 'NoneType' has no len()&lt;/FONT&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used the Model Tool from the eIQ Portal when I did the conversion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Thanks in advance and best regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 20:51:46 GMT</pubDate>
    <dc:creator>Anonymous123</dc:creator>
    <dc:date>2023-06-07T20:51:46Z</dc:date>
    <item>
      <title>Error when converting Pytorch model to DeepViewRT model</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-when-converting-Pytorch-model-to-DeepViewRT-model/m-p/1665488#M207282</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;I'm seeking your help in solving the following issue ..&lt;/P&gt;&lt;P&gt;I installed eIQ Toolkit 1.7.3 on Windows 10 and I want to convert my Pytorch model to DeepViewRT (.rtm) model, so I can eventually deploy the .rtm model on the i.MX 8M Plus processor.&lt;/P&gt;&lt;P&gt;I followed&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN13769" target="_self"&gt;this guide&lt;/A&gt;, I converted the Pytorch model to ONNX model, then as described in the guide, I tried to convert the ONNX model to a quantized ONNX model.&lt;/P&gt;&lt;P&gt;However, the conversion process terminated with an unhelpful error message: "&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;object of type 'NoneType' has no len()&lt;/FONT&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used the Model Tool from the eIQ Portal when I did the conversion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Thanks in advance and best regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 20:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-when-converting-Pytorch-model-to-DeepViewRT-model/m-p/1665488#M207282</guid>
      <dc:creator>Anonymous123</dc:creator>
      <dc:date>2023-06-07T20:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error when converting Pytorch model to DeepViewRT model</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-when-converting-Pytorch-model-to-DeepViewRT-model/m-p/1667017#M207398</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like your model is passed on size, you can download and evaluated the performance with:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/onnxruntime.git" target="_blank"&gt;https://github.com/microsoft/onnxruntime.git&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 14:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-when-converting-Pytorch-model-to-DeepViewRT-model/m-p/1667017#M207398</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-06-09T14:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error when converting Pytorch model to DeepViewRT model</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-when-converting-Pytorch-model-to-DeepViewRT-model/m-p/1667029#M207400</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Actually, when I changed the batch size when exporting from Pytorch to ONNX to 1, the conversion was done successfully..&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I encountered this only when converting from ONNX to quantized ONNX, for example, I managed to convert the same model&amp;nbsp; (Pytorch to ONNX to Tensorflow saved model format to quantized Tensorflow Lite) with larger batch sizes.&lt;/P&gt;&lt;P&gt;So how I can get rid of this error, according to the Guide I mentioned, I have to concert the ONNX to a quantized ONNX before converting to RTM, and I can't get rid of this error.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 14:59:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-when-converting-Pytorch-model-to-DeepViewRT-model/m-p/1667029#M207400</guid>
      <dc:creator>Anonymous123</dc:creator>
      <dc:date>2023-06-09T14:59:14Z</dc:date>
    </item>
  </channel>
</rss>

