OpenPCDet icon indicating copy to clipboard operation
OpenPCDet copied to clipboard

Issue modifying feature_map_stride in ANCHOR_GENERATOR_CONFIG

Open GBagley opened this issue 3 years ago • 1 comments

I'm trying to better understand how to appropriately modify the feature_map_stride configuration within ANCHOR_GENERATOR_CONFIG.

For example in Voxel-RCNN, this is set to 8: https://github.com/open-mmlab/OpenPCDet/blob/master/tools/cfgs/kitti_models/voxel_rcnn_car.yaml#L70

I'd like to reduce this value, but any other value I try ends up giving an error such as: RuntimeError: shape '[2, 5600000, -1]' is invalid for input of size 5600000

Within anchor head template, generate_predicted_boxes. I think that something in the backbone needs to change accordingly, but I'm not understanding how the feature map stride interacts with the backbone parameters.

GBagley avatar Aug 29 '22 17:08 GBagley

The feature is still downsampled to 1/8 due to the design of BACKBONE_3D. So if you would like to change the feature_map_stride, you also need to modify the downsampling schema in backbone.

jihanyang avatar Aug 30 '22 01:08 jihanyang

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 29 '22 02:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Oct 13 '22 02:10 github-actions[bot]