Relating the PointNet++ classification model to the original paper architecture description. #3924
-
Hello! Thank you so much for this great resource. I have been looking at the PointNet++ implementation here: https://github.com/pyg-team/pytorch_geometric/blob/master/examples/pointnet2_classification.py as well as the Google Colab tutorial: #141 I now feel much more comfortable understanding PointNet++. Right now I'm trying to figure out how the description from the NeurIPS 2017 paper (https://arxiv.org/abs/1706.02413) translates into the PyTorch code. For simplicity, let's just consider the classification version of PointNet++, and in the code it is here: pytorch_geometric/examples/pointnet2_classification.py Lines 43 to 61 in 50b7bfc The paper's appendix says this regarding the classification architecture: From the paper, it says that the notation of pytorch_geometric/examples/pointnet2_classification.py Lines 12 to 27 in 50b7bfc Is this an equivalently way of describing which seems a bit different from the number of local regions? Though I guess increasing the number of local regions could be like increasing the sampling ratio? For the most part, the other parts of the code seem to match the paper:
Hence why I'm curious about this missing parameter. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Instead of fixing the number of regions |
Beta Was this translation helpful? Give feedback.
Instead of fixing the number of regions
K
, we use theratio
argument instead, which denotes the fraction of regions we want to use in relation to the number of input points. If you have 1024 points in your cloud, and setK=512
, then this is equivalent to settingratio=0.5
.