<?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 show_batch Index Error and lr_find assertion failed error in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-show-batch-index-error-and-lr-find/m-p/855036#M3984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to segment lidar point cloud using PointCNN on jupyter notebook. But I am getting Index Error on running show_batch()&amp;nbsp; and runtime error&amp;nbsp;on running lr_find()&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;IndexError&lt;/SPAN&gt;: index 7 is out of bounds for axis 0 with size 4&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;RuntimeError&lt;/SPAN&gt;: Assertion `cur_target &amp;gt;= 0 &amp;amp;&amp;amp; cur_target &amp;lt; n_classes' failed.  at ..\aten\src\THNN/generic/ClassNLLCriterion.c:92

Any pointers that can help me in solving/debugging these error?&lt;/PRE&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/489179_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/489182_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/489181_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;P.S. I am not a developer or coder so please excuse any silly mistake.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 10:33:59 GMT</pubDate>
    <dc:creator>AbhishekPandey</dc:creator>
    <dc:date>2021-12-12T10:33:59Z</dc:date>
    <item>
      <title>arcgis.learn show_batch Index Error and lr_find assertion failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-show-batch-index-error-and-lr-find/m-p/855036#M3984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to segment lidar point cloud using PointCNN on jupyter notebook. But I am getting Index Error on running show_batch()&amp;nbsp; and runtime error&amp;nbsp;on running lr_find()&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;IndexError&lt;/SPAN&gt;: index 7 is out of bounds for axis 0 with size 4&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;RuntimeError&lt;/SPAN&gt;: Assertion `cur_target &amp;gt;= 0 &amp;amp;&amp;amp; cur_target &amp;lt; n_classes' failed.  at ..\aten\src\THNN/generic/ClassNLLCriterion.c:92

Any pointers that can help me in solving/debugging these error?&lt;/PRE&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/489179_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/489182_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/489181_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;P.S. I am not a developer or coder so please excuse any silly mistake.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:33:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-show-batch-index-error-and-lr-find/m-p/855036#M3984</guid>
      <dc:creator>AbhishekPandey</dc:creator>
      <dc:date>2021-12-12T10:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: arcgis.learn show_batch Index Error and lr_find assertion failed error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-show-batch-index-error-and-lr-find/m-p/855037#M3985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay so the problem is with the LiDAR classification codes. Since they are not continuous as you can see in In[7] data.classes.&lt;/P&gt;&lt;P&gt;how to&amp;nbsp;solve it? Its simple just reclassify codes to 0,1,2,3,4.....n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 07:45:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-learn-show-batch-index-error-and-lr-find/m-p/855037#M3985</guid>
      <dc:creator>AbhishekPandey</dc:creator>
      <dc:date>2020-04-20T07:45:11Z</dc:date>
    </item>
  </channel>
</rss>

