autonomousvision / carla_garage

[ICCV'23] Hidden Biases of End-to-End Driving Models
MIT License
203 stars 16 forks source link

Is bb_detected_in_front_of_vehicle in sensor_agent.py be used? #30

Closed buaazeus closed 5 months ago

buaazeus commented 5 months ago

Hello, I wondering if bb_detected_in_front_of_vehicle is used in sensor_agent.py. If not, the agent is totally controled by the model output, not considering the red light and vehicle bbox detected by ther model, is it so? I found some red light infraction and vehicle collison of my reproduced model. Thank you.

Kait0 commented 5 months ago

The function bb_detected_in_front_of_vehicle is not used. It's a leftover from the transfuser repository where it was used for the latentTF model to replace the LiDAR safety check.

Yes the red light and vehicle bounding box detections are not used during inference. The stop sign bounding boxes are optionally used, see here.