Skip to content

Commit 9e62197

Browse files
committed
updates
1 parent d3952b3 commit 9e62197

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/3DVL/简析PointNet++.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,11 @@ class PointNetSetAbstraction(nn.Module):
162162
new_points = F.relu(bn(conv(new_points))) # [B, out_channel , nsample, npoint]
163163

164164
# 对每个局部区域内所有点的最大响应值进行池化,得到该区域的固定长度特征表示。
165+
# 在 new_points 的第 2 个维度(即每个局部邻域内的点数量维度)上做最大池化(max pooling)。
165166
# 输出形状为 [B, out_channel, nsample],即每个查询点有一个特征向量。
166167
new_points = torch.max(new_points, 2)[0]
167168
new_xyz = new_xyz.permute(0, 2, 1) # [B, C, npoint]
168-
return new_xyz, new_points
169+
return new_xyz, new_points # 查询点的位置(质心) , 每个查询点点局部特征。
169170
```
170171

171172
sample_and_group 这个函数的作用是从输入点云中:

0 commit comments

Comments
 (0)