<?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 Solutions中的主题 Re: [Ubuntu eIQ Toolkit] ValueError: `name` cannot contain '/' in `eiq-trainer` with SSD MobileNet V</title>
    <link>https://community.nxp.com/t5/i-MX-Solutions/Ubuntu-eIQ-Toolkit-ValueError-name-cannot-contain-in-eiq-trainer/m-p/2033958#M567</link>
    <description>&lt;P&gt;I solved this problem by registering "&lt;STRONG&gt;TF_USE_LEGACY_KERAS=1&lt;/STRONG&gt;" in environment variable.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2025 16:35:19 GMT</pubDate>
    <dc:creator>zinet84</dc:creator>
    <dc:date>2025-01-24T16:35:19Z</dc:date>
    <item>
      <title>[Ubuntu eIQ Toolkit] ValueError: `name` cannot contain '/' in `eiq-trainer` with SSD MobileNet V3</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/Ubuntu-eIQ-Toolkit-ValueError-name-cannot-contain-in-eiq-trainer/m-p/2026618#M564</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zinet84_0-1736759821912.png" style="width: 723px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/319219i42F41ECFEEA2D87D/image-dimensions/723x24?v=v2" width="723" height="24" role="button" title="zinet84_0-1736759821912.png" alt="zinet84_0-1736759821912.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;&lt;P&gt;Hi, I'm currently using the eIQ Toolkit v1.13.1 to train an object detection model with the ssd_mobilenet_v3 plugin on BDD100K dataset. When I run the eiq-trainer command, I encounter the following error:&lt;/P&gt;&lt;PRE&gt;ValueError: Argument `name` must be a string and cannot contain character '/'. Received: name=Conv/BatchNorm (of type &amp;lt;class 'str'&amp;gt;)&lt;/PRE&gt;&lt;P&gt;From the traceback, it seems that the issue occurs during the initialization of a &lt;STRONG&gt;BatchNormalization&lt;/STRONG&gt; layer, where the layer name includes a / character (e.g., Conv/BatchNorm). The specific line triggering this error appears to be related to layer naming inside the ssd_mobilenet_v3 plugin.&lt;/P&gt;&lt;H3&gt;Command I used:&lt;/H3&gt;&lt;PRE&gt;eiq-trainer --detection \
            --input_shape=320,320,3 \
            --batch_size=16 \
            --epochs=50 \
            --tune=ssd_mobilenet_v3 \
            --dataset=/path/to/bdd100k.eiqp \
            --optimizer=Adam \
            --lr=0.001 \
            --initialization=he \
            --initialization_type=normal \
            --initialization_seed=1 \
            --loss=sigmoid_loss&lt;/PRE&gt;&lt;H3&gt;My questions:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Is there a way to prevent the layer names from including special characters like /?&lt;/LI&gt;&lt;LI&gt;Should I modify the ssd_mobilenet_v3 plugin code to replace / with an underscore (_) in layer names?&lt;/LI&gt;&lt;LI&gt;Is this a known issue with the current version of eIQ Toolkit, and would updating the toolkit solve this problem?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would appreciate any guidance on how to resolve this issue. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 09:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/Ubuntu-eIQ-Toolkit-ValueError-name-cannot-contain-in-eiq-trainer/m-p/2026618#M564</guid>
      <dc:creator>zinet84</dc:creator>
      <dc:date>2025-01-13T09:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Ubuntu eIQ Toolkit] ValueError: `name` cannot contain '/' in `eiq-trainer` with SSD MobileNet V</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/Ubuntu-eIQ-Toolkit-ValueError-name-cannot-contain-in-eiq-trainer/m-p/2033958#M567</link>
      <description>&lt;P&gt;I solved this problem by registering "&lt;STRONG&gt;TF_USE_LEGACY_KERAS=1&lt;/STRONG&gt;" in environment variable.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 16:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/Ubuntu-eIQ-Toolkit-ValueError-name-cannot-contain-in-eiq-trainer/m-p/2033958#M567</guid>
      <dc:creator>zinet84</dc:creator>
      <dc:date>2025-01-24T16:35:19Z</dc:date>
    </item>
  </channel>
</rss>

