Skip to content
Open
Show file tree
Hide file tree
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 .circleci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
command: |
pip install git+ssh://[email protected]/open-mmlab/mmengine.git@main
pip install -U openmim
mim install 'mmcv >= 2.0.0rc4'
mim install 'mmcv>=2.0.0rc4,<2.2.0'
pip install git+ssh://[email protected]/open-mmlab/[email protected]
pip install -r requirements/tests.txt
- run:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
command: |
docker exec mmdet3d pip install -e /mmengine
docker exec mmdet3d pip install -U openmim
docker exec mmdet3d mim install 'mmcv >= 2.0.0rc4'
docker exec mmdet3d mim install 'mmcv>=2.0.0rc4,<2.2.0'
docker exec mmdet3d pip install -e /mmdetection
docker exec mmdet3d pip install -r requirements/tests.txt
- run:
Expand Down
4 changes: 2 additions & 2 deletions mmdet3d/models/middle_encoders/voxel_set_abstraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ def interpolate_from_bev_features(self, keypoints: torch.Tensor,

Args:
keypoints (torch.Tensor): Sampled key points with shape
(N1 + N2 + ..., NDim).
(B, N, NDim).
bev_features (torch.Tensor): Bev feature map from the first
stage with shape (B, C, H, W).
batch_size (int): Input batch size.
bev_scale_factor (int): Bev feature map scale factor.

Returns:
torch.Tensor: Key points features gather from bev feature
map with shape (N1 + N2 + ..., C)
map with shape (B, N, C)
"""
x_idxs = (keypoints[..., 0] -
self.point_cloud_range[0]) / self.voxel_size[0]
Expand Down