Skip to content
Discussion options

You must be logged in to vote

Most GNN operators such as PointNet++ share weights across the node/point dimension, so in theory there is no limitation in applying GNNs to a varying number of nodes. PyG makes use of sparse tensor arithmetics and can therefore handle point clouds of varying size. In particular, we do this by concatenating points from different examples in the point dimension, and keep track of which point belongs to which example via an additional batch vector. As a result, we do not have a dedicated batch dimension, which is in contrast to most other implementations that batch point clouds via a [batch_size, num_points, 3] representation. This explains why alternative implementations can only work on f…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by QuanticDisaster
Comment options

You must be logged in to vote
2 replies
@rusty1s
Comment options

@QuanticDisaster
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants