Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update description of Args: voxel_features #1614

Merged
merged 1 commit into from
Jul 19, 2022
Merged
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 mmdet3d/models/middle_encoders/pillar_scatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def forward_single(self, voxel_features, coors):
"""Scatter features of single sample.

Args:
voxel_features (torch.Tensor): Voxel features in shape (N, M, C).
voxel_features (torch.Tensor): Voxel features in shape (N, C).
coors (torch.Tensor): Coordinates of each voxel.
The first column indicates the sample ID.
"""
Expand All @@ -63,7 +63,7 @@ def forward_batch(self, voxel_features, coors, batch_size):
"""Scatter features of single sample.

Args:
voxel_features (torch.Tensor): Voxel features in shape (N, M, C).
voxel_features (torch.Tensor): Voxel features in shape (N, C).
coors (torch.Tensor): Coordinates of each voxel in shape (N, 4).
The first column indicates the sample ID.
batch_size (int): Number of samples in the current batch.
Expand Down