Skip to content

Commit

Permalink
fix semantic for bounding box pedestrian
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhenghao committed Mar 28, 2024
1 parent 9f1afbc commit a54f7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadrive/component/sensors/semantic_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _setup_effect(self):
)
else:

if label == Semantics.PEDESTRIAN.label:
if label == Semantics.PEDESTRIAN.label and not self.engine.global_config.get("use_bounding_box", False):
# PZH: This is a workaround fix to make pedestrians animated.
cam.setTagState(
label,
Expand Down

0 comments on commit a54f7fd

Please sign in to comment.