arcgis.learn show_batch Index Error and lr_find assertion failed error

993
1
Jump to solution
04-18-2020 12:51 PM
AbhishekPandey
New Contributor II

I am trying to segment lidar point cloud using PointCNN on jupyter notebook. But I am getting Index Error on running show_batch()  and runtime error on running lr_find()

IndexError: index 7 is out of bounds for axis 0 with size 4
RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed.  at ..\aten\src\THNN/generic/ClassNLLCriterion.c:92

Any pointers that can help me in solving/debugging these error?

P.S. I am not a developer or coder so please excuse any silly mistake.

0 Kudos
1 Solution

Accepted Solutions
AbhishekPandey
New Contributor II

okay so the problem is with the LiDAR classification codes. Since they are not continuous as you can see in In[7] data.classes.

how to solve it? Its simple just reclassify codes to 0,1,2,3,4.....n

View solution in original post

0 Kudos
1 Reply
AbhishekPandey
New Contributor II

okay so the problem is with the LiDAR classification codes. Since they are not continuous as you can see in In[7] data.classes.

how to solve it? Its simple just reclassify codes to 0,1,2,3,4.....n

0 Kudos