Upload README.md with huggingface_hub
Browse files
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 |
+
- egocentric
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# taco-annotations-v1
|
| 16 |
+
|
| 17 |
+
**Annotations only — no images, no video.**
|
| 18 |
+
|
| 19 |
+
VITRA-style hand episodes for **TACO**, with per-hand instructions and paraphrases.
|
| 20 |
+
|
| 21 |
+
| | |
|
| 22 |
+
|---|---|
|
| 23 |
+
| episodes | **26,454** |
|
| 24 |
+
| training samples (`index_frame_pair` rows) | **810,363** |
|
| 25 |
+
| annotation | MANO pose + world/camera joints + per-frame extrinsics |
|
| 26 |
+
| text | one instruction per episode + 1.96 paraphrases on average |
|
| 27 |
+
| **images / video** | **not included** — see *Getting the frames* below |
|
| 28 |
+
|
| 29 |
+
### What we did
|
| 30 |
+
|
| 31 |
+
**Episodes are ours.** The source release ships either raw video or differently-segmented
|
| 32 |
+
clips, so we re-cut it with VITRA's method — speed minima of the 3D wrist in world space:
|
| 33 |
+
|
| 34 |
+
gaussian smooth (sigma=1.0) -> local speed minima in a fixed window (win=15, i.e. 0.5 s
|
| 35 |
+
at 30 Hz) -> merge runs shorter than min_seg=16 -> pad 2 frames on each end
|
| 36 |
+
|
| 37 |
+
sigma and win are quantities in *time*, converted per source frame rate. Left and right hands
|
| 38 |
+
are cut independently, with the other hand's motion ignored.
|
| 39 |
+
|
| 40 |
+
**Instructions are ours.** Two rounds, both with `Qwen3.5-122B-A10B-FP8`:
|
| 41 |
+
round 1 captions 8 frames per episode with the palm's future trajectory drawn on them;
|
| 42 |
+
round 2 checks the sentence belongs to that hand, strips same-hand references
|
| 43 |
+
("Rinse the right hand." -> "Rinse the hand.", because training already prepends
|
| 44 |
+
`Left hand: ... Right hand: ...`), and writes 1-3 paraphrases.
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
### Files
|
| 48 |
+
|
| 49 |
+
```
|
| 50 |
+
taco.tar -> Annotation/taco/episodic_annotations/*.npy
|
| 51 |
+
episode_frame_index.npz index_frame_pair (N,2) uint32 + index_to_episode_id (E,)
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
`index_frame_pair` **row number is the sample id**: row r = (episode ordinal, frame within
|
| 55 |
+
that episode). `len(index_frame_pair)` is the size of the training set.
|
| 56 |
+
|
| 57 |
+
```python
|
| 58 |
+
import numpy as np, tarfile
|
| 59 |
+
# tar -xf taco.tar
|
| 60 |
+
z = np.load("episode_frame_index.npz", allow_pickle=True)
|
| 61 |
+
ep_slot, frame_id = z["index_frame_pair"][sample_id]
|
| 62 |
+
eid = str(z["index_to_episode_id"][ep_slot])
|
| 63 |
+
d = np.load(f"Annotation/taco/episodic_annotations/{eid}.npy", allow_pickle=True).item()
|
| 64 |
+
rgb_frame_id = int(d["video_decode_frame"][frame_id])
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
Each `.npy` is a dict with `video_name`, `video_decode_frame`, `intrinsics`,
|
| 68 |
+
per-frame `extrinsics` (world->camera), `anno_type` (which hand this episode is for),
|
| 69 |
+
`text`, `text_rephrase`, and a `left`/`right` dict holding `beta`, `hand_pose`,
|
| 70 |
+
`global_orient_worldspace`, `transl_worldspace`, `joints_worldspace`, `kept_frames`.
|
| 71 |
+
`text[hand] = [(sentence, (0, T))]` and `text_rephrase[hand] = [([paraphrases...], (0, T))]`.
|
| 72 |
+
|
| 73 |
+
### Getting the frames
|
| 74 |
+
|
| 75 |
+
`video_decode_frame` indexes the **source** video, which we do not redistribute.
|
| 76 |
+
Get it from TACO — https://taco2024.github.io/, then decode by index (we use `decord`; a self-maintained
|
| 77 |
+
sequential counter drifts silently if the decoder ever skips a frame).
|
| 78 |
+
|
| 79 |
+
### Known limitations
|
| 80 |
+
|
| 81 |
+
- Episodes whose round-1 caption came back `N/A` have an empty `text`; they are still in the
|
| 82 |
+
index. Filter on `text` if you only want captioned episodes.
|
| 83 |
+
- Paraphrase count averages 1.96, 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: every episode's stored frame count matches its index rows, and no index entry
|
| 86 |
+
points at a missing episode.
|