<?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: How to Reduce eIQ Toolkit Training Time for a 6,000-Image Dataset? in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/How-to-Reduce-eIQ-Toolkit-Training-Time-for-a-6-000-Image/m-p/2394344#M5632</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/262607"&gt;@sivamankomb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A 24-hour run for ~6,000 images is not expected for a small MobileNetV2-alpha-0.35 transfer-learning job unless training is running on CPU, using a large input size, too many epochs, heavy dynamic augmentation, or doing pruning/QAT throughout the full training run.&lt;/P&gt;
&lt;P&gt;I think you can refer to the following.&lt;/P&gt;
&lt;P&gt;Verify CUDA + cuDNN are installed and being used.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1783936461198.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392095i0BB461F0CDCAD273/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1783936461198.png" alt="Harry_Zhang_0-1783936461198.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Use the smallest input resolution that still gives acceptable accuracy; if you are at 224×224, try 128×128 first.&lt;/P&gt;
&lt;P&gt;Start with a low epoch limit plus early stopping, not a fixed long training run.&lt;/P&gt;
&lt;P&gt;Disable pruning for the initial training run;&lt;/P&gt;
&lt;P&gt;Use INT8 TFLite quantization for deployment;&lt;/P&gt;
&lt;P&gt;Avoid QAT in the first speed-optimized run;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Start with “No Augments,”&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer to eIQ Toolkit User Guide for specific content&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2026 10:00:09 GMT</pubDate>
    <dc:creator>Harry_Zhang</dc:creator>
    <dc:date>2026-07-13T10:00:09Z</dc:date>
    <item>
      <title>How to Reduce eIQ Toolkit Training Time for a 6,000-Image Dataset?</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/How-to-Reduce-eIQ-Toolkit-Training-Time-for-a-6-000-Image/m-p/2394071#M5627</link>
      <description>&lt;P&gt;I am using the eIQ Toolkit to train an image classification model with a dataset of approximately 6,000 images. My target is to generate a TensorFlow Lite (TFLite) model that is smaller than &lt;STRONG&gt;800 KB&lt;/STRONG&gt; so that it can run on the &lt;STRONG&gt;MCXN947&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;My current training configuration is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Model: MobileNetV2&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Alpha: 0.35&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Pruning: Enabled&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Output format: TFLite&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The issue is that the training process takes nearly &lt;STRONG&gt;24 hours&lt;/STRONG&gt; to complete. I would like to know if there are any recommended settings or optimizations that can reduce the training time to around &lt;STRONG&gt;1–2 hours&lt;/STRONG&gt; while still keeping the final model size below &lt;STRONG&gt;800 KB&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Has anyone faced a similar situation? Are there any best practices in the eIQ Toolkit for reducing training time without significantly affecting model accuracy or increasing the model size?&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated. Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2026 15:21:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/How-to-Reduce-eIQ-Toolkit-Training-Time-for-a-6-000-Image/m-p/2394071#M5627</guid>
      <dc:creator>sivamankomb</dc:creator>
      <dc:date>2026-07-12T15:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Reduce eIQ Toolkit Training Time for a 6,000-Image Dataset?</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/How-to-Reduce-eIQ-Toolkit-Training-Time-for-a-6-000-Image/m-p/2394344#M5632</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/262607"&gt;@sivamankomb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A 24-hour run for ~6,000 images is not expected for a small MobileNetV2-alpha-0.35 transfer-learning job unless training is running on CPU, using a large input size, too many epochs, heavy dynamic augmentation, or doing pruning/QAT throughout the full training run.&lt;/P&gt;
&lt;P&gt;I think you can refer to the following.&lt;/P&gt;
&lt;P&gt;Verify CUDA + cuDNN are installed and being used.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1783936461198.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/392095i0BB461F0CDCAD273/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1783936461198.png" alt="Harry_Zhang_0-1783936461198.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Use the smallest input resolution that still gives acceptable accuracy; if you are at 224×224, try 128×128 first.&lt;/P&gt;
&lt;P&gt;Start with a low epoch limit plus early stopping, not a fixed long training run.&lt;/P&gt;
&lt;P&gt;Disable pruning for the initial training run;&lt;/P&gt;
&lt;P&gt;Use INT8 TFLite quantization for deployment;&lt;/P&gt;
&lt;P&gt;Avoid QAT in the first speed-optimized run;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Start with “No Augments,”&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer to eIQ Toolkit User Guide for specific content&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2026 10:00:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/How-to-Reduce-eIQ-Toolkit-Training-Time-for-a-6-000-Image/m-p/2394344#M5632</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2026-07-13T10:00:09Z</dc:date>
    </item>
  </channel>
</rss>

