Skip to content

dataforge: shared modules for the exoego datasets; drop projectaria-tools - #328

Merged
pablo-rerun merged 1 commit into
mainfrom
exoego/v2/1-foundation
Oct 5, 2026
Merged

pablo-rerun merged 1 commit into
mainfrom
exoego/v2/1-foundation

Conversation

@pablo-rerun

Copy link
Copy Markdown
Collaborator

Stack: PR 2 of 8 (v2/1-foundation, base v2/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/):

  • 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.

Replaces #314 together with the previous PR (v2/0-simplecv).

Look at first

  1. dataforge/datasets/base.py: pending_layers and write_layers, the conversion orchestration every new dataset uses; tests/test_dataset_base.py exercises them through a toy dataset.
  2. dataforge/vrs.py, vrs_hevc.py, jpeg.py, aria.py: the projectaria-tools replacement. tests/test_aria_calibration.py and conftest.assert_readers_match_projectaria hold them to stored SDK output.
  3. dataforge/writing.py, hands.py, meshes.py, objects.py, actions.py, transports.py: the shared writers and the download toolkit.
  4. pixi.toml: projectaria-tools and its pillow / rerun-sdk overrides are gone; PyTurboJPEG, libjpeg-turbo and smplx are added. pixi.lock changes only here.
  5. ci/tests/test_dataforge_imports.py: no dataset imports another dataset, and no shared module imports a dataset.
  6. Skip 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, so deadcode passes with no extra ignore.

Verification

Gates at d0e7ab0ccbcf81fba6f52ff14668be18ce5491c9 on pablo-dl-server (integration tests with DATAFORGE_RAW_ROOT=/home/pablo/exoego-parity/raw):

Gate: dataforge-dev gate on pablo-dl-server @ d0e7ab0

@pablo-rerun
pablo-rerun added this pull request to stack #347 October 2, 2026 16:46
@pablo-rerun
pablo-rerun removed this pull request from stack #347 October 5, 2026 09:52
@pablo-rerun
pablo-rerun added this pull request to stack #361 October 5, 2026 09:52
Base automatically changed from exoego/v2/0-simplecv to main October 5, 2026 17:42
…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
pablo-rerun force-pushed the exoego/v2/1-foundation branch from d0e7ab0 to 8bf0c1f Compare October 5, 2026 17:42
@pablo-rerun
pablo-rerun merged commit 210d0a9 into main Oct 5, 2026
2 checks passed
@pablo-rerun
pablo-rerun deleted the exoego/v2/1-foundation branch October 5, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants