diff --git a/mmdet3d/models/voxel_encoders/pillar_encoder.py b/mmdet3d/models/voxel_encoders/pillar_encoder.py index 109a208757..80d9498660 100644 --- a/mmdet3d/models/voxel_encoders/pillar_encoder.py +++ b/mmdet3d/models/voxel_encoders/pillar_encoder.py @@ -148,7 +148,7 @@ def forward(self, features, num_points, coors): for pfn in self.pfn_layers: features = pfn(features, num_points) - return features.squeeze() + return features.squeeze(1) @VOXEL_ENCODERS.register_module()