diff --git a/projects/mmdet3d_plugin/datasets/nuscenes_e2e_dataset.py b/projects/mmdet3d_plugin/datasets/nuscenes_e2e_dataset.py index c1b9392..57e4339 100644 --- a/projects/mmdet3d_plugin/datasets/nuscenes_e2e_dataset.py +++ b/projects/mmdet3d_plugin/datasets/nuscenes_e2e_dataset.py @@ -554,7 +554,7 @@ def get_data_info(self, index): translation = input_dict['ego2global_translation'] can_bus = input_dict['can_bus'] can_bus[:3] = translation - can_bus[3:7] = rotation + can_bus[3:7] = rotation.q patch_angle = quaternion_yaw(rotation) / np.pi * 180 if patch_angle < 0: patch_angle += 360