Repository navigation
dataforge: shared modules for the exoego datasets; drop projectaria-tools - #328
Merged
Merged
Conversation
…ools Everything the six exoego dataset PRs above share, and nothing dataset-specific. No new dataset is registered here. Shared modules (dataforge/): - vrs.py, vrs_hevc.py, jpeg.py, aria.py: one VRS header scan with JPEG, H.265 and IMU record readers, and the Aria device calibration read from the calib_json tag. This replaces projectaria-tools; the fixtures under tests/fixtures/aria/ hold what the SDK produced, so the readers are checked against it. - records.py (the one decode door), clocks.py, actions.py, hands.py, umetrack_hands.py, meshes.py, objects.py, timing.py, plus changes to transports (one download toolkit), writing (layer targets, raw-tree guard, camera-source writer, projections writer), logging_toolkit, blueprints, paths, schema, video_encoding, datasets/base.py and apis/* (one convert orchestration, compare_layers, timing records). - Pre-existing datasets adapted: show3d, lamaria (its formats move to datasets/lamaria_source.py), selfcap, wildcap; msd and robocap tests move to the shared fake Hub and timing records. Tests: a fake Hub (tests/hub_fake.py), the raw-asset skip and raw-root guard helpers in conftest, a dataset contract suite over the whole registry (test_dataset_contract.py), unit tests for every new shared module, and ci/tests/test_dataforge_imports.py (no dataset imports another dataset; no shared module imports a dataset), which holds at every level of this stack. Environment: pixi.toml drops projectaria-tools (and the pillow and rerun-sdk overrides it forced) and adds PyTurboJPEG + libjpeg-turbo and smplx (EPFL body mesh); pixi.lock is re-locked once, here only. Docs: README conventions for exoego ports and docs/dataset-doc-template.md.
pablo-rerun
force-pushed
the
exoego/v2/1-foundation
branch
from
October 5, 2026 17:42
d0e7ab0 to
8bf0c1f
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.
Stack: PR 2 of 8 (
v2/1-foundation, basev2/0-simplecv). 85 files changed, 6204 insertions(+), 1228 deletions(-).What and why
Everything the six exoego dataset PRs above share, and nothing dataset-specific.
No new dataset is registered here.
Shared modules (dataforge/):
and IMU record readers, and the Aria device calibration read from the
calib_json tag. This replaces projectaria-tools; the fixtures under
tests/fixtures/aria/ hold what the SDK produced, so the readers are checked
against it.
umetrack_hands.py, meshes.py, objects.py, timing.py, plus changes to
transports (one download toolkit), writing (layer targets, raw-tree guard,
camera-source writer, projections writer), logging_toolkit, blueprints,
paths, schema, video_encoding, datasets/base.py and apis/*
(one convert orchestration, compare_layers, timing records).
datasets/lamaria_source.py), selfcap, wildcap; msd and robocap tests
move to the shared fake Hub and timing records.
Tests: a fake Hub (tests/hub_fake.py), the raw-asset skip and raw-root guard
helpers in conftest, a dataset contract suite over the whole registry
(test_dataset_contract.py), unit tests for every new shared module, and
ci/tests/test_dataforge_imports.py (no dataset imports another dataset; no
shared module imports a dataset), which holds at every level of this stack.
Environment: pixi.toml drops projectaria-tools (and the pillow and rerun-sdk
overrides it forced) and adds PyTurboJPEG + libjpeg-turbo and smplx (EPFL body
mesh); pixi.lock is re-locked once, here only.
Docs: README conventions for exoego ports and docs/dataset-doc-template.md.
Replaces #314 together with the previous PR (
v2/0-simplecv).Look at first
dataforge/datasets/base.py:pending_layersandwrite_layers, the conversion orchestration every new dataset uses;tests/test_dataset_base.pyexercises them through a toy dataset.dataforge/vrs.py,vrs_hevc.py,jpeg.py,aria.py: the projectaria-tools replacement.tests/test_aria_calibration.pyandconftest.assert_readers_match_projectariahold them to stored SDK output.dataforge/writing.py,hands.py,meshes.py,objects.py,actions.py,transports.py: the shared writers and the download toolkit.pixi.toml: projectaria-tools and its pillow / rerun-sdk overrides are gone; PyTurboJPEG, libjpeg-turbo and smplx are added.pixi.lockchanges only here.ci/tests/test_dataforge_imports.py: no dataset imports another dataset, and no shared module imports a dataset.tests/fixtures/aria/*.json(stored SDK output).Some shared helpers have their only production callers in the dataset PRs above (for example
hf_fetch_verified,log_actions,headset_eye_controls,project_to_calibration). Each one has its own unit test here, sodeadcodepasses with no extra ignore.Verification
Gates at
d0e7ab0ccbcf81fba6f52ff14668be18ce5491c9on pablo-dl-server (integration tests withDATAFORGE_RAW_ROOT=/home/pablo/exoego-parity/raw):pixi run --frozen -e dataforge-dev lint: passpixi run --frozen -e dataforge-dev typecheck: pass, INFO 0 errors (26 suppressed, 71 warnings not shown)pixi run --frozen -e dataforge-dev deadcode: passpixi run --frozen -e dataforge-dev tests: pass, 356 passed, 4 skipped, 195 deselected, 5 warnings in 9.65spixi run --frozen -e dataforge-dev tests-integration: pass, 112 passed, 18 skipped, 425 deselected, 88 warnings in 87.11s (0:01:27)pixi run --frozen -e ci ci: pass, 355 passed in 0.24sStatus page: https://pablos-4800gt.ilish-ruler.ts.net:8768/exoego-migration/fullrun-status.html
Consolidation plan: https://pablos-4800gt.ilish-ruler.ts.net:8768/exoego-migration/consolidation-plan.html
Gate: dataforge-dev gate on pablo-dl-server @ d0e7ab0