Add README
Browse files
README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
pretty_name: preprocessed-hrdb-depth
|
| 4 |
+
tags: [robotics, dexterous-manipulation, depth, point-tracking, stereo]
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# preprocessed-hrdb-depth
|
| 8 |
+
|
| 9 |
+
Per-frame stereo depth and dense 3D scene tracks for the robot episodes of a dexterous hand–object manipulation
|
| 10 |
+
dataset, kept at the cameras' native capture rate. These are intermediate outputs of a processing pipeline, archived
|
| 11 |
+
as plain tar shards.
|
| 12 |
+
|
| 13 |
+
**Upload in progress.** Shards are added in batches. Each shard's remote size and SHA256 are checked against the local
|
| 14 |
+
file before the local copy is removed. `manifest.jsonl` lists the verified shards.
|
| 15 |
+
|
| 16 |
+
## Source and license
|
| 17 |
+
|
| 18 |
+
The inputs are the robot episodes of **HRDexDB** (Seoul National University and RLWRLD;
|
| 19 |
+
https://github.com/snuvclab/HRDexDB, `HRDexDB/HRDexDB` on Hugging Face), released under **CC BY-NC 4.0**. This
|
| 20 |
+
repository keeps that license: non-commercial research use only, with attribution to HRDexDB. Depth was estimated with
|
| 21 |
+
NVIDIA FoundationStereo and scene tracks with TrackEverything; check those projects' own terms before using the
|
| 22 |
+
derived outputs.
|
| 23 |
+
|
| 24 |
+
## Contents
|
| 25 |
+
|
| 26 |
+
| Path | Shards | What one shard holds |
|
| 27 |
+
|---|---:|---|
|
| 28 |
+
| `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>` |
|
| 29 |
+
| `side_depth/<pp>.tar` | 256 | Side-camera stereo packets `hr_side_v1/state/depth_v3/depth/<id>` whose id starts with `<pp>` |
|
| 30 |
+
| `meta/hr_clip_v1_meta.tar` | 1 | Code, job scripts, reports, plans and every other file of `hr_clip_v1` |
|
| 31 |
+
| `meta/hr_side_v1_meta.tar` | 1 | Code, reports and every other file of `hr_side_v1` |
|
| 32 |
+
|
| 33 |
+
`<episode>` is the SHA256 id of an episode record. The mapping from id to the source episode (hand / object /
|
| 34 |
+
sequence) is in the plan files inside `meta/hr_clip_v1_meta.tar` (`hr_clip_v1/state/plan_native_v2/`), and each
|
| 35 |
+
export's `clip.json` names its episode.
|
| 36 |
+
|
| 37 |
+
Episodes: 1,132 with a resolved capture clock (allegro_v5 431, inspire_dftp 608, inspire_f1 93), about 33.33 Hz.
|
| 38 |
+
|
| 39 |
+
### Arrays (per file, NumPy `.npz`)
|
| 40 |
+
|
| 41 |
+
- `depth/<episode>/<camera>/<chunk>/attempt_*/depth.npz`: `rgb` uint8 [1, F, 360, 640, 3], `depth` float32 metres
|
| 42 |
+
[1, F, 360, 640], `depth_valid`, `K` [1, F, 3, 3], `T` [1, F, 4, 4], `frame_ids`, `capture_ids`, `timestamps`.
|
| 43 |
+
- `scene/<episode>/<camera>/attempt_*/tracks.npz`: dense tracks `xyz` float32 [T, N, 3] with `visibility*`,
|
| 44 |
+
`confidence*`, `dynamic*`, `static`.
|
| 45 |
+
- `flags/<episode>/<camera>/attempt_*/flags.npz`: per-track gates (`fk_surface_distance_m`, `hand_band`,
|
| 46 |
+
`hand_excluded`, `gate_supported`, `workspace_inside`, `production_reason_bits`, `depth_lift_xyz`, ...).
|
| 47 |
+
- `streams/<episode>/attempt_*/{raw,robot,...}.npz`: robot surface points (`xyz` [T, 512, 3], `normals`, `link_index`,
|
| 48 |
+
...) and raw streams.
|
| 49 |
+
- `exports/.../front/<episode>/`: `clip.json`, `cameras.npz`, `object_targets.npz`, `robot_targets.npz`,
|
| 50 |
+
`tracks_<camera>.npz`.
|
| 51 |
+
- `side_depth`: `depth.npz` with left `rgb`, `right_rgb` [1, F, 360, 640, 3], `K`, `T`, `baseline_m`,
|
| 52 |
+
`rectification_maps`, `acquisition_valid`, `frame_ids`, `timestamps`.
|
| 53 |
+
|
| 54 |
+
Every stage folder carries a `receipt.json` with the stage's inputs, checksums and settings. Receipts record absolute
|
| 55 |
+
paths of the machine that produced them; they are provenance only.
|
| 56 |
+
|
| 57 |
+
## Reading a shard
|
| 58 |
+
|
| 59 |
+
```python
|
| 60 |
+
from huggingface_hub import hf_hub_download
|
| 61 |
+
import tarfile
|
| 62 |
+
p = hf_hub_download('mskweon/preprocessed-hrdb-depth', 'clip/<episode>.tar', repo_type='dataset')
|
| 63 |
+
tarfile.open(p).extractall('out/')
|
| 64 |
+
```
|