Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pointnet2/models/pointnet2_ssg_sem.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _build_model(self):
self.FP_modules.append(PointnetFPModule(mlp=[256 + 128, 256, 256]))
self.FP_modules.append(PointnetFPModule(mlp=[512 + 256, 256, 256]))

self.fc_lyaer = nn.Sequential(
self.fc_layer = nn.Sequential(
nn.Conv1d(128, 128, kernel_size=1, bias=False),
nn.BatchNorm1d(128),
nn.ReLU(True),
Expand Down Expand Up @@ -87,7 +87,7 @@ def forward(self, pointcloud):
l_xyz[i - 1], l_xyz[i], l_features[i - 1], l_features[i]
)

return self.fc_lyaer(l_features[0])
return self.fc_layer(l_features[0])

def prepare_data(self):
self.train_dset = Indoor3DSemSeg(self.hparams["num_points"], train=True)
Expand Down