Automated Scenario Characterization Toolkit.
Project description
ScenarioCharacterization
Note: This project is a work in progress.
A generalizable, automated scenario characterization framework for trajectory datasets.
Currently, this is a re-implementation of the scenario characterization approach introduced in SafeShift, as part of an internship project at StackAV.
Repository: github.com/navarrs/ScenarioCharacterization
This repository currently uses:
- uv as the package manager.
- Hydra for hierarchical configuration management.
- Pydantic for input/output data validation.
Installation
Install the package
uv pip install scenario-characterization
Install the package in editable mode
Clone the repository and install the package in editable mode:
git clone git@github.com:navarrs/ScenarioCharacterization.git
cd ScenarioCharacterization
uv run pip install -e .
To install with Waymo dependencies (required for running the example), use:
uv run pip install -e ".[waymo]"
If installing with dev, run
uv run pip install -e. ".[dev]"
uv run pre-commit install
Documentation
- Organization: Overview of the Hydra configuration structure.
- Schemas: Guidelines for creating dataset adapters and processors that comply with the required input/output schemas.
- Characterization: Details on supported scenario characterization and visualization tools, and how to use them.
- Example: Step-by-step usage example using the Waymo Open Motion Dataset.
Citing
@INPROCEEDINGS{stoler2024safeshift,
author={Stoler, Benjamin and Navarro, Ingrid and Jana, Meghdeep and Hwang, Soonmin and Francis, Jonathan and Oh, Jean},
booktitle={2024 IEEE Intelligent Vehicles Symposium (IV)},
title={SafeShift: Safety-Informed Distribution Shifts for Robust Trajectory Prediction in Autonomous Driving},
year={2024},
volume={},
number={},
pages={1179-1186},
keywords={Meters;Collaboration;Predictive models;Robustness;Iron;Trajectory;Safety},
doi={10.1109/IV55156.2024.10588828}}
Development
Run uv sync --frozen --all-groups to set up environment.
Run pre-commit run --all-files to run all hooks on all files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scenario_characterization-0.3.1.tar.gz.
File metadata
- Download URL: scenario_characterization-0.3.1.tar.gz
- Upload date:
- Size: 84.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f166370420a417190e2d7fa561496d94ac46387e67b47bfa962bfe40fd7b8ed
|
|
| MD5 |
abe4c4fded1ad55a035b3a167882c1f8
|
|
| BLAKE2b-256 |
e864a33da3e1b76facf8a1cdf40febfbc2bc6801059ae71987fd6cc5192bb226
|
Provenance
The following attestation bundles were made for scenario_characterization-0.3.1.tar.gz:
Publisher:
package.yml on navarrs/ScenarioCharacterization
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scenario_characterization-0.3.1.tar.gz -
Subject digest:
3f166370420a417190e2d7fa561496d94ac46387e67b47bfa962bfe40fd7b8ed - Sigstore transparency entry: 767995799
- Sigstore integration time:
-
Permalink:
navarrs/ScenarioCharacterization@efc864698e0d35d1d1f6557f0ee847276d8315fa -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/navarrs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@efc864698e0d35d1d1f6557f0ee847276d8315fa -
Trigger Event:
release
-
Statement type:
File details
Details for the file scenario_characterization-0.3.1-py3-none-any.whl.
File metadata
- Download URL: scenario_characterization-0.3.1-py3-none-any.whl
- Upload date:
- Size: 115.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e671dfe64f20e676b2af98aaa7e6a63a93f1bc7c810eb6af70502687deea513c
|
|
| MD5 |
9c842ec0ca27d908e61bb464b69c6117
|
|
| BLAKE2b-256 |
5bf01de7b40daa0ab7963bc2dd9db379994019477e34c327cdd4619534301d6f
|
Provenance
The following attestation bundles were made for scenario_characterization-0.3.1-py3-none-any.whl:
Publisher:
package.yml on navarrs/ScenarioCharacterization
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scenario_characterization-0.3.1-py3-none-any.whl -
Subject digest:
e671dfe64f20e676b2af98aaa7e6a63a93f1bc7c810eb6af70502687deea513c - Sigstore transparency entry: 767995801
- Sigstore integration time:
-
Permalink:
navarrs/ScenarioCharacterization@efc864698e0d35d1d1f6557f0ee847276d8315fa -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/navarrs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@efc864698e0d35d1d1f6557f0ee847276d8315fa -
Trigger Event:
release
-
Statement type: