LeoJiangOR commited on
Commit
7b959cf
·
verified ·
1 Parent(s): 5019bfd

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +192 -0
README.md ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ task_categories:
4
+ - robotics
5
+ tags:
6
+ - hand-pose
7
+ - mano
8
+ - egocentric
9
+ - vitra
10
+ - gigahands
11
+ - quality-audit
12
+ size_categories:
13
+ - 1M<n<10M
14
+ pretty_name: GigaHands VITRA official-MANO strict-v1
15
+ ---
16
+
17
+ # GigaHands → VITRA official-MANO strict-v1
18
+
19
+ VITRA Stage-1 annotations derived from GigaHands' official MANO fit, regenerated with strict
20
+ video/annotation binding and accompanied by an exhaustive numerical audit plus an every-episode RGB
21
+ audit. This repository contains **annotations only**: it does not redistribute GigaHands videos or
22
+ the licensed MANO model.
23
+
24
+ | item | value |
25
+ |---|---:|
26
+ | source manifest entries | 13,249 |
27
+ | converted episodes | **12,783** |
28
+ | train / test episodes | 11,461 / 1,322 |
29
+ | converted frames | **3,227,699** |
30
+ | train / test frames | 2,963,261 / 264,438 |
31
+ | camera | `brics-odroid-001_cam0` |
32
+ | action interface | VITRA `keypoints` mode (`16 × 192` future action chunks at training time) |
33
+
34
+ Although the source is the official MANO fit, this is not a MANO-angle-only target dataset. Each
35
+ episode contains MANO-derived 3-D joints, wrist transforms, MANO shape, global orientation, and
36
+ finger rotation matrices. Current VITRA training uses the 3-D joint/keypoint action interface.
37
+
38
+ ## What changed from `yuzhench/gigahands-vitra-mano`
39
+
40
+ The older release retained 453 known video-length mismatch candidates. Strict-v1 applies the
41
+ following deterministic gates before writing an episode:
42
+
43
+ 1. bind `(scene, sequence, camera)` to the exact video in GigaHands'
44
+ `multiview_camera_video_map.csv`, never to a sorted file-list position;
45
+ 2. require exact temporal agreement among left/right MANO parameters and
46
+ `keypoints_3d_mano`;
47
+ 3. reject video/annotation length differences above 12 frames and trim only a short video tail
48
+ within that tolerance;
49
+ 4. require at least 0.9 raw-triangulation validity using `chosen_frames_{left,right}.json`, rather
50
+ than treating the always-finite MANO-filled output as 100% valid.
51
+
52
+ Conversion removed 464 entries: 381 for video/annotation length disagreement and 83 for missing
53
+ official video mapping. One entry lacked MANO keypoints and one was shorter than 32 frames. None of
54
+ the older release's 453 known length-misaligned episode IDs remains in strict-v1.
55
+
56
+ Reproduction code is in
57
+ [`kaichen-z/VLA-HAND@4458502`](https://github.com/kaichen-z/VLA-HAND/tree/4458502), including:
58
+
59
+ - `scripts/build_gigahands_official_mano_strict_v1.sh`
60
+ - `scripts/run_gigahands_full_quality_audit.sh`
61
+ - `data/preprocessing/convert_gigahands_to_vitra_stage1.py`
62
+ - `tools/audit_gigahands_full.py`
63
+
64
+ ## Contents
65
+
66
+ ```text
67
+ Annotation/
68
+ ├── gigahands_real_train/
69
+ │ ├── episodic_annotations.tar.zst # 11,461 .npy episodes
70
+ │ ├── episode_frame_index.npz # 2,963,261 frame/window-start entries
71
+ │ └── conversion_report.json
72
+ ├── gigahands_real_test/
73
+ │ ├── episodic_annotations.tar.zst # 1,322 .npy episodes
74
+ │ ├── episode_frame_index.npz # 264,438 entries
75
+ │ └── conversion_report.json
76
+ └── statistics/
77
+ ├── gigahands_real_train_keypoints_statistics.json
78
+ └── gigahands_real_test_keypoints_statistics.json
79
+ subset_manifest.json # original 13,249-entry source manifest
80
+ conversion_report.json
81
+ quality_rejections.json
82
+ quality_comparison.{json,md}
83
+ baseline_residual_misaligned_episodes.json
84
+ artifact_manifest.json # byte size and SHA-256 for every uploaded artifact
85
+ quality/full_quality_audit/
86
+ ├── full_audit_report.{json,md}
87
+ ├── recommended_exclude_episode_ids.json
88
+ ├── audit_categories.json
89
+ ├── labels_summary.json
90
+ ├── labels_per_episode.jsonl
91
+ ├── video_summary.json
92
+ ├── video_per_episode.jsonl
93
+ ├── video_samples.jsonl
94
+ ├── rgb_alignment_manual_review.json
95
+ └── *_review_*.jpg
96
+ ```
97
+
98
+ The `.tar.zst` files contain an `episodic_annotations/` directory. Extract them in place:
99
+
100
+ ```bash
101
+ huggingface-cli download \
102
+ --repo-type dataset \
103
+ LeoJiangOR/gigahands-vitra-mano-strict-v1 \
104
+ --local-dir datasets/vitra_gigahands_official_mano_strict_v1
105
+
106
+ for split in train test; do
107
+ tar --zstd -xf \
108
+ datasets/vitra_gigahands_official_mano_strict_v1/Annotation/gigahands_real_${split}/episodic_annotations.tar.zst \
109
+ -C datasets/vitra_gigahands_official_mano_strict_v1/Annotation/gigahands_real_${split}
110
+ done
111
+
112
+ mkdir -p datasets/vitra_gigahands_official_mano_strict_v1/Video
113
+ ln -s /path/to/GigaHands/multiview_rgb_vids \
114
+ datasets/vitra_gigahands_official_mano_strict_v1/Video/GigaHands_root
115
+ ```
116
+
117
+ ## Episode schema
118
+
119
+ Each `.npy` loads as a Python dictionary. `left` and `right` contain:
120
+
121
+ | field | shape | meaning |
122
+ |---|---:|---|
123
+ | `beta` | `(10,)` | official MANO shape |
124
+ | `global_orient_worldspace` | `(T,3,3)` | wrist/global orientation in the GigaHands world frame |
125
+ | `global_orient_camspace` | `(T,3,3)` | orientation in the selected camera frame |
126
+ | `hand_pose` | `(T,15,3,3)` | MANO finger rotations with the MANO mean pose restored |
127
+ | `transl_worldspace` | `(T,3)` | wrist position, equal to `joints_worldspace[:,0]` |
128
+ | `transl_camspace` | `(T,3)` | wrist position in camera coordinates |
129
+ | `joints_worldspace` | `(T,21,3)` | official-MANO joints with global translation restored |
130
+ | `joints_camspace` | `(T,21,3)` | joints in camera coordinates |
131
+ | `kept_frames` | `(T,)` | validity mask |
132
+
133
+ Episodes also contain `video_name`, `video_decode_frame`, language instruction, intrinsics,
134
+ extrinsics, and camera metadata. Sixteen-frame action windows are created by the VITRA loader; each
135
+ stored `.npy` is a complete episode rather than one training window.
136
+
137
+ ## Full quality audit
138
+
139
+ Coverage:
140
+
141
+ - 12,783 / 12,783 episodes;
142
+ - 3,227,699 / 3,227,699 label frames for schema, finite values, rotations, world/camera transforms,
143
+ temporal continuity, distortion-aware camera projection, and comparison with independent raw
144
+ triangulated keypoints;
145
+ - 63,915 / 63,915 RGB checks: five evenly spaced frames in every episode, using a hand-pose detector
146
+ and manual review of every automatic mismatch candidate.
147
+
148
+ Main results:
149
+
150
+ | category | episodes | rate |
151
+ |---|---:|---:|
152
+ | structural fatal error | 0 | 0.000% |
153
+ | likely left/right identity swap | 0 | 0.000% |
154
+ | neither hand visible in cam0 for more than half the episode | 1,353 | 10.584% |
155
+ | neither hand visible in cam0 for the entire episode | 399 | 3.121% |
156
+ | persistent MANO/triangulation disagreement above 5 cm median | 6 | 0.047% |
157
+ | converted-output wrist jump above 25 cm/frame | 2 | 0.016% |
158
+ | automatic RGB alignment suspects | 18 | 0.141% |
159
+ | manually confirmed RGB mismatch among those suspects | 0 | 0.000% |
160
+
161
+ The typical per-episode MANO-versus-independent-triangulation median MPJPE is approximately 7 mm.
162
+ Of 213 tail-disagreement candidates, 185 are more consistent with a discontinuous triangulation
163
+ reference; the remaining 28 are retained in the conservative exclusion/review category.
164
+
165
+ `quality/full_quality_audit/recommended_exclude_episode_ids.json` contains a conservative
166
+ episode-level training policy: 1,384 episodes (10.827%). Applying it leaves 11,399 episodes and
167
+ 2,863,827 frames (train: 10,296 episodes / 2,637,406 frames; test: 1,103 episodes / 226,421 frames).
168
+ Most exclusions are **not proven source corruption**: they are cam0 visibility failures. If another
169
+ official camera is available, selecting the camera with the best projected-hand visibility is better
170
+ than discarding the underlying multiview motion. If training must remain cam0-only, use this list or,
171
+ preferably, filter individual 16-frame windows by hand visibility.
172
+
173
+ The 18 automatic RGB suspects were all manually cleared. Typical detector failures were firing on a
174
+ monitor, an object, or a toy dog while the projected MANO joints still followed the real, partially
175
+ cropped hand. Review images and the decisions are included instead of silently converting detector
176
+ output into deletion labels.
177
+
178
+ ## Video mapping
179
+
180
+ Videos are not included. Obtain them under the original GigaHands terms and place or link
181
+ `multiview_rgb_vids` at `Video/GigaHands_root`. `video_name` in every episode and
182
+ `video_path`/`start_frame`/`end_frame` in `subset_manifest.json` give the exact source mapping.
183
+
184
+ Do not infer a sequence's video by list index: sequence IDs contain gaps. Strict-v1 verifies the
185
+ official CSV mapping during conversion.
186
+
187
+ ## Licence and citation
188
+
189
+ These are derived GigaHands annotations. The original images, videos, MANO fits, and their usage
190
+ terms remain with the GigaHands authors. Follow the original GigaHands licence and citation
191
+ requirements. The MANO model is not redistributed and must be obtained separately under its own
192
+ licence. The annotation format follows Microsoft VITRA Stage-1.