Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'ann_info' #13

Open
odd2022 opened this issue Oct 9, 2023 · 0 comments
Open

KeyError: 'ann_info' #13

odd2022 opened this issue Oct 9, 2023 · 0 comments

Comments

@odd2022
Copy link

odd2022 commented Oct 9, 2023

Hello, I am trying to prepare my dataset by typing the cmd:

python tools/create_data.py --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes

as suggested in the tutorial but i get this error:

[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 81/81, 7.8 task/s, elapsed: 10s, ETA: 0s Create GT Database of NuScenesDataset [ ] 0/323, elapsed: 0s, ETA:{'sample_idx': 'ca9a282c9e77460f8360f564131a8af5', 'pts_filename': './data/nuscenes/samples/LIDAR_TOP/n015-2018-07-24-11-22-45+0800__LIDAR_TOP__1532402927647951.pcd.bin', 'sweeps': [], 'timestamp': 1532402927.647951, 'img_fields': [], 'bbox3d_fields': [], 'pts_mask_fields': [], 'pts_seg_fields': [], 'bbox_fields': [], 'mask_fields': [], 'seg_fields': [], 'box_type_3d': <class 'mmdet3d.core.bbox.structures.lidar_box3d.LiDARInstance3DBoxes'>, 'box_mode_3d': <Box3DMode.LIDAR: 0>} Traceback (most recent call last): File "tools/create_data.py", line 267, in nuscenes_data_prep( File "tools/create_data.py", line 89, in nuscenes_data_prep create_groundtruth_database(dataset_name, root_path, info_prefix, File "HoP/tools/data_converter/create_gt_database.py", line 241, in create_groundtruth_database example = dataset.pipeline(input_dict) File "HoP/mmdet3d/datasets/pipelines/compose.py", line 49, in call data = t(data) File "HoP/mmdet3d/datasets/pipelines/loading.py", line 682, in call results = self._load_bboxes_3d(results) File "HoP/mmdet3d/datasets/pipelines/loading.py", line 577, in _load_bboxes_3d results['gt_bboxes_3d'] = results['ann_info']['gt_bboxes_3d'] KeyError: 'ann_info'

Has anyone faced this problem yet ? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant