data-and-replay-buffers
Inspect Diffusion Policy dataset interfaces, ReplayBuffer stores, SequenceSampler horizons and padding, and normalizer contracts.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- data-and-replay-buffers
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Inspect Diffusion Policy dataset interfaces, ReplayBuffer stores, SequenceSampler horizons and padding, and normalizer contracts.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/api-reference.md7.4 KB
- 参考文档references/data-and-replay-buffers.md8.3 KB
- 参考文档references/troubleshooting.md6.1 KB
03 SKILL.md 正文
data-and-replay-buffers
Use this sub-skill when you need to understand or validate Diffusion Policy data stores, dataset adapters, sequence sampling, and normalization without touching training loops or policy internals.
Use for
- zarr or zip ReplayBuffer inspection
- episode counts,
episode_ends, shapes, dtypes, chunking, and length mismatches - low-dimensional versus image dataset samples and
shape_metarouting SequenceSamplerhorizon, padding,episode_mask, andkey_first_kbehavior- normalizer selection, key lookup, and dataset conversion routes
Route elsewhere
- training, evaluation, Ray multiruns, and metrics aggregation ->
training-and-evaluation - policy inference, checkpoint logic, model families, and losses ->
policies-and-models - live robot capture, RealSense, UR5, SpaceMouse, and safety-gated execution ->
real-robot-operations
Fast validation
- Run
python scripts/inspect_replay_buffer.py --path <replay-buffer> --max-keys 12from this sub-skill directory to inspect a zarr directory or zip store without modifying it. - Add
--jsonwhen another tool should consume the summary. - Use the checklist in
references/troubleshooting.mdwhen episode lengths, keys, or shapes are inconsistent.
What to read next
references/data-and-replay-buffers.mdreferences/api-reference.mdreferences/troubleshooting.md
Bundled helper
scripts/inspect_replay_buffer.py— read-only inspector for ReplayBuffer zarr directories and zip stores.
First checks when data looks wrong
- Compare
meta/episode_ends[-1]to everydata/*leading dimension. - Confirm the sample shape matches the dataset family: flat low-dim tensor versus dict of image and state keys.
- Confirm the normalizer keys match the returned sample keys exactly.
- Treat repeated boundary frames as expected padding, not corruption.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.