fastdev.nn.pointnet2

PointNet++ implementation in PyTorch.

Adapted from: https://github.com/yanx27/Pointnet_Pointnet2_pytorch

Module Contents

class fastdev.nn.pointnet2.PointNet2Encoder(normal_channel: bool = False, feature_dim: int = 1024, n_points: Tuple[int, int] = (512, 128), n_samples: Tuple[int, int] = (32, 64), radius: Tuple[float, float] = (0.2, 0.4))[source]

Bases: torch.nn.Module

Parameters:
  • normal_channel (bool)

  • feature_dim (int)

  • n_points (Tuple[int, int])

  • n_samples (Tuple[int, int])

  • radius (Tuple[float, float])

normal_channel = False[source]
sa1[source]
sa2[source]
sa3[source]
forward(xyz)[source]
class fastdev.nn.pointnet2.PointNet2Cls(num_class: int, normal_channel=True)[source]

Bases: torch.nn.Module

Parameters:

num_class (int)

normal_channel = True[source]
sa1[source]
sa2[source]
sa3[source]
fc1[source]
bn1[source]
drop1[source]
fc2[source]
bn2[source]
drop2[source]
fc3[source]
relu[source]
forward(xyz)[source]