feat(nuscenes): add nuScenes to NCore V4 converter#128
Open
janickm wants to merge 1 commit into
Open
Conversation
f05c1db to
f8deb39
Compare
2d148d4 to
988e4da
Compare
Implements a converter from nuScenes dataset format to NCore V4 component-based format, following the KITTI converter pattern. Features: - Supports all nuScenes versions (v1.0-mini, v1.0-trainval, v1.0-test) - 6 cameras with intrinsics, extrinsics, and frame data - LIDAR_TOP with unstructured point clouds (direction + distance) - Per-point timestamps estimated from azimuth (HDL-32E, ~50ms scan) - 3D cuboid annotations in world frame from keyframe sample_annotations - Scene selection via --scene-token or --scene-name - Outputs itar or directory store formats Sensor assumptions documented: - Cameras: global shutter, undistorted (zero distortion coeffs) - Lidar: Velodyne HDL-32E at 20Hz, unstructured (model_element=None) - Cuboids: world frame, keyframes only Tested with v1.0-mini (22 tests pass, both itar and directory formats). Closes: NVIDIA#123
988e4da to
9d2d19c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a nuScenes dataset converter to NCore V4 format, following the existing KITTI converter pattern.
Closes #123
Features
--scene-tokenor--scene-nameUsage
bazel run //tools/data_converter/nuscenes -- \ --root-dir /path/to/nuscenes \ --output-dir /path/to/output \ nuscenes \ --version v1.0-mini \ --scene-name scene-0061Design Decisions
model_element=None). Structured HDL-32E model deferred to follow-up.reference_frame_id="world"). The V4 reader'stransform()handles re-projection to sensor frames at runtime.ShutterType.GLOBAL-- nuScenes provides single capture timestamp with no RS metadata.Test Instructions
NUSCENES_DIR=/path/to/nuscenes NUSCENES_VERSION=v1.0-mini \ bazel test //tools/data_converter/nuscenes:pytest_converter_3_11 --test_output=all \ --test_env=NUSCENES_DIR=/path/to/nuscenes --test_env=NUSCENES_VERSION=v1.0-miniFiles
deps/pip/requirements_nuscenes.in-- new pip deps (nuscenes-devkit, pyquaternion)deps/pip/BUILD.bazel-- include new requirements in pip_compiledeps/pip/requirements_3_11.in/.txt-- updated lockfiletools/data_converter/nuscenes/-- converter, utils, CLI, BUILD, test, README, NOTICE