Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Fix create data problem : missing sample_index and camera_intrinsics … #16

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

xczhanjun
Copy link

Fix create data problem

fix issue #11

the issue is :
File "bevfusion/tools/data_converter/create_gt_database.py", line 275, in create_groundtruth_database
image_idx = example["sample_idx"]
KeyError: 'sample_idx'

fix camera_intrinsics key problem

camera_intrinsics[:3, :3] = camera_info["cam_intrinsic"] ===> camera_intrinsics[:3, :3] = camera_info["camera_intrinsics"]

Copy link
Contributor

@kentang-mit kentang-mit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Jun,

Thank you for the contribution. I've reviewed this PR and merged it into our codebase.

Best,
Haotian

@kentang-mit kentang-mit merged commit 93d9969 into mit-han-lab:main Jun 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants