yuzhench commited on
Commit
b5dadef
·
verified ·
1 Parent(s): 6ba711c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +86 -0
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - robotics
5
+ - image-to-3d
6
+ language:
7
+ - en
8
+ tags:
9
+ - vitra
10
+ - mano
11
+ - hand-object-interaction
12
+ ---
13
+
14
+ # h2o-annotations-v1
15
+
16
+ **Annotations only — no images, no video.**
17
+
18
+ VITRA-style hand episodes for **H2O (Two Hands Manipulating Objects)**, with per-hand instructions and paraphrases.
19
+
20
+ | | |
21
+ |---|---|
22
+ | episodes | **5,696** |
23
+ | training samples (`index_frame_pair` rows) | **196,941** |
24
+ | annotation | MANO pose + world/camera joints + per-frame extrinsics |
25
+ | text | one instruction per episode + 1.86 paraphrases on average |
26
+ | **images / video** | **not included** — see *Getting the frames* below |
27
+
28
+ ### What we did
29
+
30
+ **Episodes are ours.** The source release ships either raw video or differently-segmented
31
+ clips, so we re-cut it with VITRA's method — speed minima of the 3D wrist in world space:
32
+
33
+ gaussian smooth (sigma=1.0) -> local speed minima in a fixed window (win=15, i.e. 0.5 s
34
+ at 30 Hz) -> merge runs shorter than min_seg=16 -> pad 2 frames on each end
35
+
36
+ sigma and win are quantities in *time*, converted per source frame rate. Left and right hands
37
+ are cut independently, with the other hand's motion ignored.
38
+
39
+ **Instructions are ours.** Two rounds, both with `Qwen3.5-122B-A10B-FP8`:
40
+ round 1 captions 8 frames per episode with the palm's future trajectory drawn on them;
41
+ round 2 checks the sentence belongs to that hand, strips same-hand references
42
+ ("Rinse the right hand." -> "Rinse the hand.", because training already prepends
43
+ `Left hand: ... Right hand: ...`), and writes 1-3 paraphrases.
44
+
45
+ **Episodes with no instruction are not included.** Round 1 returns `N/A` when an episode
46
+ shows no object interaction. Those episodes are excluded from both the archive and the
47
+ index, so every episode here has a usable instruction.
48
+
49
+ ### Files
50
+
51
+ ```
52
+ h2o.tar -> Annotation/h2o/episodic_annotations/*.npy
53
+ episode_frame_index.npz index_frame_pair (N,2) uint32 + index_to_episode_id (E,)
54
+ ```
55
+
56
+ `index_frame_pair` **row number is the sample id**: row r = (episode ordinal, frame within
57
+ that episode). `len(index_frame_pair)` is the size of the training set.
58
+
59
+ ```python
60
+ import numpy as np
61
+ # tar -xf h2o.tar
62
+ z = np.load("episode_frame_index.npz", allow_pickle=True)
63
+ ep_slot, frame_id = z["index_frame_pair"][sample_id]
64
+ eid = str(z["index_to_episode_id"][ep_slot])
65
+ d = np.load(f"Annotation/h2o/episodic_annotations/{eid}.npy", allow_pickle=True).item()
66
+ rgb_frame_id = int(d["video_decode_frame"][frame_id])
67
+ ```
68
+
69
+ Each `.npy` is a dict with `video_name`, `video_decode_frame`, `intrinsics`,
70
+ per-frame `extrinsics` (world->camera), `anno_type` (which hand this episode is for),
71
+ `text`, `text_rephrase`, and a `left`/`right` dict holding `beta`, `hand_pose`,
72
+ `global_orient_worldspace`, `transl_worldspace`, `joints_worldspace`, `kept_frames`.
73
+ `text[hand] = [(sentence, (0, T))]` and `text_rephrase[hand] = [([paraphrases...], (0, T))]`.
74
+
75
+ ### Getting the frames
76
+
77
+ `video_decode_frame` indexes the **source** video, which we do not redistribute.
78
+ Get it from H2O (Two Hands Manipulating Objects) — https://taeinkwon.com/projects/h2o/, then decode by index (we use `decord`; a self-maintained
79
+ sequential counter drifts silently if the decoder ever skips a frame).
80
+
81
+ ### Known limitations
82
+
83
+ - Paraphrase count averages 1.86, not a fixed number. Past 3 the model starts inventing;
84
+ a sentence with no prepositional phrase honestly supports only one or two.
85
+ - Verified: the index lists exactly the episodes that have an instruction, every episode's
86
+ stored frame count matches its index rows, and no index entry points at a missing episode.