feat: data quality check via episode boundary frame export (#13)

* feat: add episode boundary frame export script

* feat: add boundary frame export hints after recording and in dataset report

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat: print scp hint when running in SSH session

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: address review findings — deduplicate utils, fix CHW handling, fix --json output

- Replace duplicated resolve_dataset_root/load_info/HF_LEROBOT_HOME with imports from existing modules
- Replace custom tensor_to_pil_image with torchvision.transforms.functional.to_pil_image
- Fix select_camera_key to use names field for CHW/HWC shape disambiguation
- Move dataset report tip inside text-only branch to preserve --json output
- Move prepare_output_dir after dataset construction to avoid premature deletion
- Fix resolve_repo_id to always derive from resolved dataset_root
- Remove unnecessary scripts/__init__.py
- Fix episode spec display in README.txt for non-contiguous selections
- Use episodes.column_names for column containment check

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: shuyuan <shuyuan@shuyuandeMac-mini.local>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
这个提交包含在:
Shuyuan
2026-04-01 19:12:21 +08:00
提交者 GitHub
父节点 7e4e6701d7
当前提交 80fa8bf47a
共有 5 个文件被更改,包括 406 次插入 和 0 次删除

查看文件

@ -216,6 +216,7 @@ lerobot-human-inloop-record="lerobot.scripts.lerobot_human_inloop_record:main"
lerobot-value-train="lerobot.scripts.lerobot_value_train:main"
lerobot-value-infer="lerobot.scripts.lerobot_value_infer:main"
lerobot-dataset-report="lerobot.scripts.lerobot_dataset_report:main"
lerobot-export-boundary-frames="lerobot.scripts.lerobot_export_boundary_frames:main"
# ---------------- Tool Configurations ----------------
[tool.setuptools.packages.find]