Private function to move the 3D bounding box annotation from `ann_info` field to the root of `results`. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. Returns: dict: The dict containing loaded 3D bounding box annotations.
(self, results: dict)
| 135 | self.dataset_type = dataset_type |
| 136 | |
| 137 | def _load_bboxes_3d(self, results: dict) -> dict: |
| 138 | """Private function to move the 3D bounding box annotation from |
| 139 | `ann_info` field to the root of `results`. |
| 140 | |
| 141 | Args: |
| 142 | results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. |
| 143 | |
| 144 | Returns: |
| 145 | dict: The dict containing loaded 3D bounding box annotations. |
| 146 | """ |
| 147 | |
| 148 | results['gt_bboxes_3d'] = results['ann_info']['gt_bboxes_3d'] |
| 149 | return results |
| 150 | |
| 151 | def _load_bboxes_depth(self, results: dict) -> dict: |
| 152 | """Private function to load 2.5D bounding box annotations. |