feat(alpasim-integration): add alpasim driver plugin for closed-loop operation - #175
Open
riita10069 wants to merge 12 commits into
Open
feat(alpasim-integration): add alpasim driver plugin for closed-loop operation#175riita10069 wants to merge 12 commits into
riita10069 wants to merge 12 commits into
Conversation
…n for issue #140 Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
…ack in test_alpasim_stream.py Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
…int inference, and attach camera params in stream parser Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
…ing requirements, and add closed-loop smoke test Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
…tion example Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
…tion Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
https://github.com/NVlabs/alpasim/blob/main/src/driver/src/alpasim_driver/models/base.py Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
Signed-off-by: Arseni10Lk <arseniy230606@gmail.com>
5 tasks
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
This PR implements the AlpaSim Driver Plugin (
Model/plugins/alpasim_driver/) and the real-time Observation Stream Parser (Model/data_parsing/alpasim_stream/) to resolve #140.It enables closed-loop evaluation and training rollouts of the AutoE2E policy within NVIDIA AlpaSim over the KitScenes 7-camera sensor topology at 10 Hz.
AutoE2EDriver(BaseTrajectoryModelsubclass) andAutoE2EAlpaSimConfig, registeringautoe2eunder Python entry point groupsalpasim.modelsandalpasim.configs.AlpasimStreamParserpreprocessor converting real-timePredictionInputpayloads to normalized model observation tensors.Model/data_parsing/kit_scenes/dataset.py.examples/run_closed_loop.py), local smoke test (smoke_test_alpasim.py), and parity unit tests (test_alpasim_stream.py).Architecture & Data Flow
Registered Entry Points (
pyproject.toml)Validation
alpasim_stream/parser.py(49/49 statements), 84% total coverage across the plugin suite.Acceptance Criteria
Model/data_parsing/alpasim_stream/parser.pyis implemented.Model/tests/verifying parser compliance against offline loader.smoke_test_alpasim.py).Model/plugins/alpasim_driver/examples/run_closed_loop.py).Closes #140
@riita10069 @m-zain-khawaja
P.S. I also added Pillow to our requirements since it is used in the visualization