yanx27 / Pointnet_Pointnet2_pytorch

PointNet and PointNet++ implemented by pytorch (pure python) and on ModelNet, ShapeNet and S3DIS.
MIT License
3.75k stars 904 forks source link

is it a error? #269

Open ZhangYaoll opened 5 months ago

ZhangYaoll commented 5 months ago

line 102 and line 105 in file ./model/pointnet2_utils.py, should N to be changed N - 1?

image

jianuo1128 commented 5 months ago

why you think this change?

ZhangYaoll commented 5 months ago

if condition in '[]' is true, group_idx will be N, and will resulting in out of list range.