diff --git a/mmdet3d/datasets/transforms/transforms_3d.py b/mmdet3d/datasets/transforms/transforms_3d.py index 89759c2ee..94275d42d 100644 --- a/mmdet3d/datasets/transforms/transforms_3d.py +++ b/mmdet3d/datasets/transforms/transforms_3d.py @@ -2604,6 +2604,7 @@ def laser_mix_transform(self, input_dict: dict, mix_results: dict) -> dict: points = input_dict['points'] pts_semantic_mask = input_dict['pts_semantic_mask'] + # convert angle to radian pitch_angle_down = self.pitch_angles[0] / 180 * np.pi pitch_angle_up = self.pitch_angles[1] / 180 * np.pi @@ -2624,7 +2625,6 @@ def laser_mix_transform(self, input_dict: dict, mix_results: dict) -> dict: out_points = [] out_pts_semantic_mask = [] for i in range(num_areas): - # convert angle to radian start_angle = angle_list[i + 1] end_angle = angle_list[i] if i % 2 == 0: # pick from original point cloud