myria3d.models.modules

(Pytorch-Geometric) RandLA-Net

Our own implementation of RandLA-Net, to process full point clouds of different sizes, making the best use of the pytorch-geometric framework.

class myria3d.models.modules.pyg_randla_net.PyGRandLANet(num_features: int, num_classes: int, decimation: int = 4, num_neighbors: int = 16, return_logits: bool = False)[source]
forward(x, pos, batch, ptr)[source]

Defines the computation performed at every call.

Should be overridden by all subclasses.

Note

Although the recipe for forward pass needs to be defined within this function, one should call the Module instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.