Skip to content

Commit

Permalink
fix height offset
Browse files Browse the repository at this point in the history
  • Loading branch information
JingweiZhang12 committed May 31, 2023
1 parent 3678fb4 commit e127201
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions projects/BEVFusion/bevfusion/transfusion_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,6 @@ def predict_by_feat(self,
ret = dict(bboxes=boxes3d, scores=scores, labels=labels)

temp_instances = InstanceData()
ret['bboxes'][:, 2] = ret[
'bboxes'][:, 2] - ret['bboxes'][:, 5] * 0.5 # noqa: E501
temp_instances.bboxes_3d = metas[0]['box_type_3d'](
ret['bboxes'], box_dim=ret['bboxes'].shape[-1])
temp_instances.scores_3d = ret['scores']
Expand Down

0 comments on commit e127201

Please sign in to comment.