PointRCNN icon indicating copy to clipboard operation
PointRCNN copied to clipboard

Training with 360 deg annotations and 360 deg inference

Open bmankirLinker opened this issue 6 years ago • 6 comments

Since KITTI dataset 3d bbox labels are the ones only on cam_2, in some parts of code there are checks for valid gt by checking if it resides in the image (due to GT-AUG) such as https://github.com/sshaoshuai/PointRCNN/blob/master/lib/datasets/kitti_rcnn_dataset.py#L267 However, after commenting out that valid point selection, providing 360 labeled data, and extending the scope with negative z-coordinate in cam I still can't get 360 inference results. Only getting the front objects. Recently going through the Pointnet part, would be glad if anyone has any experience with such modification. Thanks

bmankirLinker avatar Sep 28 '19 09:09 bmankirLinker

For anyone interested, the distance_based_proposal method https://github.com/sshaoshuai/PointRCNN/blob/master/lib/rpn/proposal_layer.py#L58 has to be updated. Such that negative values should be added to nms_range_list since it checks z in the cam dimension. I was able to get behind (negative z)detections afterward.

bmankirLinker avatar Oct 03 '19 07:10 bmankirLinker

Hi, thanks for your comment, i'd wish i have seen your post earier, Great job! Could you make a PR to share your contributions? Although i think make another mask as codes suggested should work @bmankirLinker

DaHaiHuha avatar Oct 11 '19 15:10 DaHaiHuha

Update: just as @bmankirLinker said, add negative values to nms_range_list and it worked, thanks!

DaHaiHuha avatar Oct 12 '19 11:10 DaHaiHuha

Hey, what value are you using for nms_range_list? nms_range_list = [-40.0, 40.0, 80.0] should work, right?

pyaf avatar Nov 03 '19 11:11 pyaf

Hey, what value are you using for nms_range_list? nms_range_list = [-40.0, 40.0, 80.0] should work, right?

Depends on the z range you want to define, it indeed works, but you won't get the proposals further than -40 on the negative side.

bmankirLinker avatar Nov 03 '19 13:11 bmankirLinker

@bmankirLinker Hey, can i ask what 360 dataset you used?

hulsmeier avatar Mar 24 '20 20:03 hulsmeier