Skip to content

feat(examples): reading-data stage + numbered examples taxonomy (phase 1) - #28

Open
everettVT wants to merge 2 commits into
mainfrom
everettVT/phase-01-reading-data
Open

feat(examples): reading-data stage + numbered examples taxonomy (phase 1)#28
everettVT wants to merge 2 commits into
mainfrom
everettVT/phase-01-reading-data

Conversation

@everettVT

Copy link
Copy Markdown
Collaborator

What this is

Phase 1 of splitting #13 into small, atomic PRs. Pure examples - zero new package surface.

  • examples/README.md: the numbered 01-08 taxonomy (the researcher workflow: read, episode data, transforms, episode ops, inference, write, training handoff, policy evals). Unlanded stages are marked planned with target scripts named - the tree is the roadmap.
  • 01 reading data: droid_episode_index.py (native daft.datasets.droid; fixed for 0.7.18's *_cam_video columns), lerobot_episode_index.py (read_episodes/read_tasks/read, no video decoded), and the existing egodex_raw_hdf5_video.py relocated into the stage.
  • 02 episode data: merge_lerobot_datasets.py - merge two recording sessions by re-indexing episode_index + the global frame index, then concat.
  • The generated hand-tracking demo moves to 04_episode_operations/hand_tracking/ - pure renames (R100), regen-script default and README links updated. Don't review the generated demo.* contents.

Validation

All landed scripts run on a clean env against daft 0.7.18; pytest (53 passed) and pre-commit (ruff + ty) green.

The stack

Next phases, each building on the last: (2) the episode contract, (3) LIBERO demonstrations through it, (4) pose, (5) evals + benchmark data. #13 stays open as the integration preview; it will be closed when the stack lands.

🤖 Generated with Claude Code

…nomy

Phase 1 of splitting #13 into reviewable pieces: pure examples, zero new
package surface.

- examples/README.md indexes the researcher workflow as numbered stages
  (01 reading data ... 08 policy evals); unlanded stages are marked planned
  with their target scripts named
- 01_reading_data: droid_episode_index.py (daft.datasets.droid; column
  names updated for the 0.7.18 *_cam_video schema), lerobot_episode_index.py
  (read_episodes/read_tasks/read without decoding video), and the existing
  egodex_raw_hdf5_video.py relocated into the stage
- 02_episode_data: merge_lerobot_datasets.py - two recording sessions into
  one table by re-indexing episode_index and the global frame index
- the generated hand-tracking demo moves to
  04_episode_operations/hand_tracking/ (renames; regen default + README
  links updated)

Every landed script runs on a clean env against daft 0.7.18; suite and
pre-commit (ruff + ty) green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 085ca7b749

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +27 to +28
daft-physical-ai # interactive
daft-physical-ai --method wilor --runtime modal --mano-path MANO_RIGHT.pkl --no-input

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the hands subcommand in CLI examples

When a reader follows these commands to generate a custom demo, they won't run the generator: the top-level parser creates subparsers and returns after printing help if no command is provided (daft_physical_ai/cli/__init__.py:21-31), while --method/--runtime are registered only on the hands subcommand (daft_physical_ai/cli/hands.py:36-42). Please keep daft-physical-ai hands ... here so both the interactive and noninteractive examples actually scaffold the demo.

Useful? React with 👍 / 👎.

0.7.19 adds native MCAP reading (queued as a stage-01 example), HuggingFace
path-handling fixes, and single_file parquet writes. All stage-01/02
examples and the suite revalidated against it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant