Skip to content

Commit

Permalink
fix pointpillars flops calculation error (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZCMax authored Dec 1, 2021
1 parent 3fd5ea2 commit bff52f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet3d/models/voxel_encoders/pillar_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bff52f4

Please sign in to comment.