CaesarWang commited on
Commit
373beab
·
verified ·
1 Parent(s): c7731d8

Add phase-decomposition dataset (motion + text h5, norm stats)

Browse files
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ task_categories:
4
+ - other
5
+ tags:
6
+ - human-motion
7
+ - human-human-interaction
8
+ - motion-capture
9
+ - phase-decomposition
10
+ pretty_name: SocialStructureHHI Phase-Decomposition Dataset
11
+ ---
12
+
13
+ # SocialStructureHHI — Phase-Decomposition Dataset
14
+
15
+ Phase-decomposed two-person interaction data used to train **SocialStructureHHI**
16
+ (*Social Structure Matters in 3D Human–Human Interaction Generation*). Derived from
17
+ **Inter-X** (`ix`) and **InterHuman** (`ih`); each multi-person sequence is segmented into
18
+ ordered **phases**, and each phase carries per-actor motion and per-actor text.
19
+
20
+ ## Files
21
+
22
+ | file | content |
23
+ |------|---------|
24
+ | `socialstructure_hhi_motion_train.h5` | per phase-actor motion samples (train) |
25
+ | `socialstructure_hhi_motion_val.h5` | per phase-actor motion samples (val) |
26
+ | `socialstructure_hhi_motion_test.h5` | per phase-actor motion samples (test) |
27
+ | `socialstructure_hhi_text.h5` | per-sequence phase decomposition (text) |
28
+ | `motion_norm_stats.npz` | per-dim mean/std over the train split (201-dim) |
29
+
30
+ Outlier phases (>300 frames) are already excluded; only valid samples are packed.
31
+
32
+ ## Motion `.h5` layout
33
+
34
+ ```
35
+ /<phase_id>_<actor> e.g. "IH_1008_phase000_P1"
36
+ attrs: sequence_id, phase_id, actor_id, dataset {ix|ih}, phase_type,
37
+ interaction_category, phase_len_bucket, t_start, t_end,
38
+ phase_text, global_text
39
+ datasets:
40
+ target_motion_local [W, 201] the actor's motion for this phase
41
+ seq_mask [W] True = real frame, False = padding
42
+ contact_frame_mask [W] True = contact frame
43
+ prefix_mask [W] True = read-only overlap (inpaint) frame
44
+ self_history_local [10, 201] actor's 10-frame history prefix
45
+ partner_history_local [10, 201] partner's 10-frame history
46
+ partner_prev_local [W, 201] partner motion, previous phase (ego frame)
47
+ partner_curr_local [W, 201] partner motion, current phase (ego frame)
48
+ partner_prev_seq_mask [W]
49
+ partner_curr_seq_mask [W]
50
+ partner_prev_time_ids [W+10]
51
+ partner_curr_time_ids [W+10]
52
+ initial_frame [201] actor's first frame (ego frame)
53
+ partner_initial_frame [201] partner's first frame, in actor ego frame
54
+ ```
55
+
56
+ **Motion layout (201-dim/frame):** root translation (3) + root 6D rotation (6) +
57
+ 21 body-joint 6D rotations (126) + 22 forward-kinematics joint positions, root-relative (66).
58
+ `W` is the per-phase duration bucket ∈ `{30,60,90,120,150,180,240,300}` @ 30 fps. All motion
59
+ is in the actor's ego-centric frame.
60
+
61
+ ## Text `.h5` layout
62
+
63
+ ```
64
+ /<split>/<seq_id>
65
+ attrs: dataset {ix|ih}, global_text
66
+ /<phase_key> e.g. "phase000"
67
+ attrs: p1_action, p2_action, phase_type
68
+ dataset: frame_range [2] (start, end) in the source sequence
69
+ ```
70
+
71
+ ## Loading
72
+
73
+ ```python
74
+ import h5py, numpy as np
75
+ with h5py.File("socialstructure_hhi_motion_val.h5") as f:
76
+ g = f["IH_1008_phase000_P1"]
77
+ motion = g["target_motion_local"][:] # [W, 201]
78
+ text = g.attrs["phase_text"]
79
+ print(g.attrs["phase_type"], motion.shape, text)
80
+
81
+ stats = np.load("motion_norm_stats.npz") # mean[201], std[201]
82
+ ```
83
+
84
+ ## Links
85
+
86
+ - 📄 Paper: https://arxiv.org/abs/2606.24255
87
+ - 💻 Code: https://github.com/EngineeringAI-LAB/SocialStructureHHI
88
+ - 🌐 Project page: https://engineeringai-lab.github.io/SocialStructureHHI/
89
+ - 🤗 Model: https://huggingface.co/EngineeringAI-LAB/SocialStructure
90
+
91
+ ## Source datasets & citation
92
+
93
+ Built on [Inter-X](https://liangxuy.github.io/inter-x/) and
94
+ [InterHuman](https://tr3e.github.io/intergen-page/); please also cite the original datasets.
95
+
96
+ ```bibtex
97
+ @misc{wang2026socialstructure,
98
+ title = {Social Structure Matters in 3D Human--Human Interaction Generation},
99
+ author = {Zhongju Wang and Beier Wang and Yatao Bian and Pichao Wang and Zhi Wang
100
+ and Daoyi Dong and Hongdong Li and Huadong Mo and Zhenhong Sun},
101
+ year = {2026},
102
+ eprint = {2606.24255},
103
+ archivePrefix = {arXiv},
104
+ primaryClass = {cs.CV}
105
+ }
106
+ ```
motion_norm_stats.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:748f4908ec29788a844271c45e6cffed02d74ca6838bd973f6c71a053d7d0d00
3
+ size 1985
socialstructure_hhi_motion_test.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8762a7b6ee98426600f31f24571822419ed5fd4ab6a1c4aa6dd8d0250706417f
3
+ size 841266781
socialstructure_hhi_motion_train.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6669d58cd7d7f5b10679b1ea9cd2a019ecdddf425c13bf1e2d2e6973649d5823
3
+ size 5014513731
socialstructure_hhi_motion_val.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49ac3e1fbc9a5052f30a3dc5374859a0c0634f33091eac01891fdb38273cb602
3
+ size 307241245
socialstructure_hhi_text.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03be6faf108ed20807588320fc8b2d7ea8da95da0ebb31b14624d57044518317
3
+ size 77764744