autonomousvision / transfuser

[PAMI'23] TransFuser: Imitation with Transformer-Based Sensor Fusion for Autonomous Driving; [CVPR'21] Multi-Modal Fusion Transformer for End-to-End Autonomous Driving
MIT License
1.04k stars 175 forks source link

Transformation of bounding boxes from 3D to 2D #211

Closed mANDm1412 closed 1 month ago

mANDm1412 commented 2 months ago

Hi, I have a question regarding the transformation of bounding boxes from 3D to 2D in branch 2021. When attempting to generate 2D traffic light/stop sign bounding boxes, I encountered an issue where the bounding box is incorrectly positioned. The only change I made was to the sensor size (from 400 x 300 to 900 x 256). It seems that something in _get_2d_bb_baseline or_baseline_to_box isn't functioning correctly. Here's a photo of this (see the red box):

0057

I would really appreciate any help you can give to solve this.

kashyap7x commented 1 month ago

Hi,

I'm not sure we can help with this. I would recommend debugging by reverting the sensor size, to see if the issue is actually coming from inaccurate 3D bounding boxes in CARLA or from the transformation function. These functions in our code are leftover from initial experiments and were not debugged or used for our final model.