Skip to content

Commit 8680766

Browse files
committed
more neighbors
1 parent 248278b commit 8680766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pointnet++.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ def forward(self, data):
3737
pos, batch = data.pos, data.batch
3838

3939
idx = fps(pos, batch, ratio=0.5) # 512 points
40-
edge_index = radius(pos[idx], pos, 0.1, batch[idx], batch, 48)
40+
edge_index = radius(pos[idx], pos, 0.1, batch[idx], batch, 64)
4141
x = F.relu(self.local_sa1(None, pos, edge_index))
4242
pos, batch = pos[idx], batch[idx]
4343

4444
idx = fps(pos, batch, ratio=0.25) # 128 points
45-
edge_index = radius(pos[idx], pos, 0.2, batch[idx], batch, 48)
45+
edge_index = radius(pos[idx], pos, 0.2, batch[idx], batch, 64)
4646
x = F.relu(self.local_sa2(x, pos, edge_index))
4747
pos, batch = pos[idx], batch[idx]
4848

0 commit comments

Comments
 (0)