mskweon's picture
Add manifest, tar index lists, final README
c2b2faf verified
|
Raw History Blame Contribute Delete
3.71 kB
---
license: cc-by-nc-4.0
pretty_name: preprocessed-hrdb-depth
tags: [robotics, dexterous-manipulation, depth, point-tracking, stereo]
---
# preprocessed-hrdb-depth
Per-frame stereo depth and dense 3D scene tracks for the robot episodes of a dexterous hand–object manipulation
dataset, kept at the cameras' native capture rate. These are intermediate outputs of a processing pipeline, archived
as plain tar shards.
**Complete: 1,390 shards, 1.43 TB.** Each shard's remote size and SHA256 were checked against the local tar after
upload. `manifest.jsonl` lists every shard (path, size, SHA256, number of entries, commit). `tar_index_lists.tar.gz`
holds the member list of each shard (`lists/<shard>.txt`), so a file can be located without downloading shards. All
411,538 source files are covered exactly once.
## Source and license
The inputs are the robot episodes of **HRDexDB** (Seoul National University and RLWRLD;
https://github.com/snuvclab/HRDexDB, `HRDexDB/HRDexDB` on Hugging Face), released under **CC BY-NC 4.0**. This
repository keeps that license: non-commercial research use only, with attribution to HRDexDB. Depth was estimated with
NVIDIA FoundationStereo and scene tracks with TrackEverything; check those projects' own terms before using the
derived outputs.
## Contents
| Path | Shards | What one shard holds |
|---|---:|---|
| `clip/<episode>.tar` | 1,132 | One episode: `hr_clip_v1/state/native_v3/{depth,scene,flags,streams}/<episode>` and `hr_clip_v1/exports/native_v3/native/front/<episode>` |
| `side_depth/<pp>.tar` | 256 | Side-camera stereo packets `hr_side_v1/state/depth_v3/depth/<id>` whose id starts with `<pp>` |
| `meta/hr_clip_v1_meta.tar` | 1 | Code, job scripts, reports, plans and every other file of `hr_clip_v1` |
| `meta/hr_side_v1_meta.tar` | 1 | Code, reports and every other file of `hr_side_v1` |
`<episode>` is the SHA256 id of an episode record. The mapping from id to the source episode (hand / object /
sequence) is in the plan files inside `meta/hr_clip_v1_meta.tar` (`hr_clip_v1/state/plan_native_v2/`), and each
export's `clip.json` names its episode.
Episodes: 1,132 with a resolved capture clock (allegro_v5 431, inspire_dftp 608, inspire_f1 93), about 33.33 Hz.
### Arrays (per file, NumPy `.npz`)
- `depth/<episode>/<camera>/<chunk>/attempt_*/depth.npz`: `rgb` uint8 [1, F, 360, 640, 3], `depth` float32 metres
[1, F, 360, 640], `depth_valid`, `K` [1, F, 3, 3], `T` [1, F, 4, 4], `frame_ids`, `capture_ids`, `timestamps`.
- `scene/<episode>/<camera>/attempt_*/tracks.npz`: dense tracks `xyz` float32 [T, N, 3] with `visibility*`,
`confidence*`, `dynamic*`, `static`.
- `flags/<episode>/<camera>/attempt_*/flags.npz`: per-track gates (`fk_surface_distance_m`, `hand_band`,
`hand_excluded`, `gate_supported`, `workspace_inside`, `production_reason_bits`, `depth_lift_xyz`, ...).
- `streams/<episode>/attempt_*/{raw,robot,...}.npz`: robot surface points (`xyz` [T, 512, 3], `normals`, `link_index`,
...) and raw streams.
- `exports/.../front/<episode>/`: `clip.json`, `cameras.npz`, `object_targets.npz`, `robot_targets.npz`,
`tracks_<camera>.npz`.
- `side_depth`: `depth.npz` with left `rgb`, `right_rgb` [1, F, 360, 640, 3], `K`, `T`, `baseline_m`,
`rectification_maps`, `acquisition_valid`, `frame_ids`, `timestamps`.
Every stage folder carries a `receipt.json` with the stage's inputs, checksums and settings. Receipts record absolute
paths of the machine that produced them; they are provenance only.
## Reading a shard
```python
from huggingface_hub import hf_hub_download
import tarfile
p = hf_hub_download('mskweon/preprocessed-hrdb-depth', 'clip/<episode>.tar', repo_type='dataset')
tarfile.open(p).extractall('out/')
```