<?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 arcgis.learn python api IndexError: index 0 is out of bounds for axis 0 with size 0 in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-python-api-indexerror-index-0-is-out/m-p/1191121#M7549</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm trying to retrain Arcgis's Door and Window model with the ArcGIS Python API, but I'm getting an error. I am new to the field of deep learning. I will share the full code and error below. I tried a lot but I couldn't find how to fix the error. Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the error I got.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45643i6519BE8DDCA20B4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0.png" alt="0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am also sharing the full code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45637iFEB6A0ABD556251F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45640iA00AB3D970B17621/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45638i3F51C2BA0F28D522/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45641i44B02AA8B9CB92F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45642i6A0D52D1F565164F/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2022 16:34:53 GMT</pubDate>
    <dc:creator>dnm</dc:creator>
    <dc:date>2022-07-09T16:34:53Z</dc:date>
    <item>
      <title>arcgis.learn python api IndexError: index 0 is out of bounds for axis 0 with size 0</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-python-api-indexerror-index-0-is-out/m-p/1191121#M7549</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm trying to retrain Arcgis's Door and Window model with the ArcGIS Python API, but I'm getting an error. I am new to the field of deep learning. I will share the full code and error below. I tried a lot but I couldn't find how to fix the error. Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the error I got.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="0.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45643i6519BE8DDCA20B4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0.png" alt="0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am also sharing the full code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45637iFEB6A0ABD556251F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45640iA00AB3D970B17621/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45638i3F51C2BA0F28D522/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45641i44B02AA8B9CB92F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45642i6A0D52D1F565164F/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 16:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-python-api-indexerror-index-0-is-out/m-p/1191121#M7549</guid>
      <dc:creator>dnm</dc:creator>
      <dc:date>2022-07-09T16:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis.learn python api IndexError: index 0 is out of bounds for axis 0 with size 0</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-python-api-indexerror-index-0-is-out/m-p/1191124#M7551</link>
      <description>&lt;P&gt;Did you address the warning in In 4 ?&amp;nbsp; You seem to be getting an empty set/list&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 17:27:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-python-api-indexerror-index-0-is-out/m-p/1191124#M7551</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-07-09T17:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis.learn python api IndexError: index 0 is out of bounds for axis 0 with size 0</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-python-api-indexerror-index-0-is-out/m-p/1191148#M7552</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thank you very much for your reply.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Actually, I've considered it before.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;But it was giving the error I mentioned without the error you mentioned.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Anyway, based on your answer, I made "val_split_pct= 0.2" and instead of getting an index error, I got a "RuntimeError: CUDA out of memory" error in the image below.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I guess I need to make adjustments with the parameters.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kbr_0-1657454344762.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45649i7E89DFD7E7BF2C72/image-size/large?v=v2&amp;amp;px=999" role="button" title="kbr_0-1657454344762.png" alt="kbr_0-1657454344762.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 11:59:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-python-api-indexerror-index-0-is-out/m-p/1191148#M7552</guid>
      <dc:creator>dnm</dc:creator>
      <dc:date>2022-07-10T11:59:59Z</dc:date>
    </item>
  </channel>
</rss>

