Skip to content

Commit b4dd915

Browse files
David Josef Emmerichsdemmerichs
David Josef Emmerichs
authored andcommitted
fix roi_boxes noise translation
1 parent 8a76f59 commit b4dd915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcdet/datasets/augmentor/data_augmentor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def random_world_translation(self, data_dict=None, config=None):
152152
gt_boxes[:, :3] += noise_translate
153153

154154
if 'roi_boxes' in data_dict.keys():
155-
data_dict['roi_boxes'][:, :3] += noise_translate
155+
data_dict['roi_boxes'][:, :, :3] += noise_translate
156156

157157
data_dict['gt_boxes'] = gt_boxes
158158
data_dict['points'] = points

0 commit comments

Comments
 (0)