MCPcopy Create free account
hub / github.com/InternRobotics/P3Former / _load_labels_3d

Method _load_labels_3d

datasets/transforms/loading.py:165–176  ·  view source on GitHub ↗

Private function to load label annotations. Args: results (dict): Result dict from :obj:`mmdet3d.CustomDataset`. Returns: dict: The dict containing loaded label annotations.

(self, results: dict)

Source from the content-addressed store, hash-verified

163 return results
164
165 def _load_labels_3d(self, results: dict) -> dict:
166 """Private function to load label annotations.
167
168 Args:
169 results (dict): Result dict from :obj:`mmdet3d.CustomDataset`.
170
171 Returns:
172 dict: The dict containing loaded label annotations.
173 """
174
175 results['gt_labels_3d'] = results['ann_info']['gt_labels_3d']
176 return results
177
178 def _load_attr_labels(self, results: dict) -> dict:
179 """Private function to load label annotations.

Callers 1

transformMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected