Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
792473c9
Commit
792473c9
authored
Nov 07, 2021
by
MeowZheng
Committed by
Wenwei Zhang
Nov 08, 2021
Browse files
return2returns
parent
b0582217
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mmcv/ops/group_points.py
mmcv/ops/group_points.py
+2
-2
mmcv/ops/points_sampler.py
mmcv/ops/points_sampler.py
+1
-1
No files found.
mmcv/ops/group_points.py
View file @
792473c9
...
...
@@ -71,7 +71,7 @@ class QueryAndGroup(nn.Module):
center_xyz (Tensor): (B, npoint, 3) coordinates of the centriods.
features (Tensor): (B, C, N) Descriptors of the features.
Return:
Return
s
:
Tensor: (B, 3 + C, npoint, sample_num) Grouped feature.
"""
# if self.max_radius is None, we will perform kNN instead of ball query
...
...
@@ -152,7 +152,7 @@ class GroupAll(nn.Module):
new_xyz (Tensor): new xyz coordinates of the features.
features (Tensor): (B, C, N) features to group.
Return:
Return
s
:
Tensor: (B, C + 3, 1, N) Grouped feature.
"""
grouped_xyz
=
xyz
.
transpose
(
1
,
2
).
unsqueeze
(
2
)
...
...
mmcv/ops/points_sampler.py
View file @
792473c9
...
...
@@ -95,7 +95,7 @@ class PointsSampler(nn.Module):
points_xyz (Tensor): (B, N, 3) xyz coordinates of the features.
features (Tensor): (B, C, N) Descriptors of the features.
Return:
Return
s
:
Tensor: (B, npoint, sample_num) Indices of sampled points.
"""
indices
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment