Skip to content

Commit

Permalink
fix roi_boxes noise translation
Browse files Browse the repository at this point in the history
  • Loading branch information
David Josef Emmerichs authored and demmerichs committed Jul 31, 2023
1 parent 8a76f59 commit b4dd915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcdet/datasets/augmentor/data_augmentor.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def random_world_translation(self, data_dict=None, config=None):
gt_boxes[:, :3] += noise_translate

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

data_dict['gt_boxes'] = gt_boxes
data_dict['points'] = points
Expand Down

0 comments on commit b4dd915

Please sign in to comment.