Datasets:
Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536# InterWeave-HOSIInterWeave-HOSI is a scene-augmented human--object--scene interaction datasetbuilt from InterAct-processed OMOMO motions and indoor scenes from LINGO andTRUMANS.## Statistics- 13,910 enhanced sequences from 3,518 source interactions- 2,590,526 frames (24.0 hours at 30 FPS)- 54 indoor scenes and 13 object categories- Metric Y-up coordinates## Contents```textInterWeave-HOSI-v1/|-- README.md|-- LICENSE|-- schema.json|-- manifest.jsonl|-- sequences/omomo_occ/sub*/*.npz|-- hand_pose/{index.json,omomo/*.npy}|-- scenes/{index.json,scene_*.npy}`-- objects/{index.json,*.npz}````manifest.jsonl` provides the public sequence ID, source-group ID, scene ID,object category, caption, frame count, placement transform, and relative datapath for every sequence. Tensor names and shapes are defined in `schema.json`.Articulated hand poses are stored once per source interaction as `[T,90]`arrays: 45 local axis-angle dimensions for each hand.The package contains parametric motion values but does not contain SMPL-X,SMPL-H, MANO, source scene meshes or textures, model weights, or trainingcaches. Body models must be obtained separately from their official sources.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221---license: otherlicense_name: interweave-hosi-licenselicense_link: https://huggingface.co/datasets/gaoyukang33/InterWeave/blob/main/LICENSEtask_categories:- otherlanguage:- entags:- human-object-interaction- human-scene-interaction- motion-generation- 3d-scenespretty_name: InterWeavesize_categories:- 10K<n<100K---<p align="center"><img src="https://gaoyukang33.github.io/InterWeave.web/static/images/teaser-figure.webp" alt="InterWeave teaser figure" width="100%"></p><h1 align="center">InterWeave: Bring Human–Object Interactions into 3D Scenes via Hierarchical Motion and Contact Generation</h1><p align="center"><b>InterWeave Dataset</b></p><p align="center"><a href="https://gaoyukang33.github.io/InterWeave.web/"><img src="https://img.shields.io/badge/Project_Page-InterWeave-2f6a86?style=for-the-badge&logo=googlechrome&logoColor=white" alt="Project page"></a><a href="https://huggingface.co/datasets/gaoyukang33/InterWeave"><img src="https://img.shields.io/badge/Dataset-InterWeave--HOSI-ffcc4d?style=for-the-badge&logo=huggingface&logoColor=black" alt="Dataset"></a><a href="https://gaoyukang33.github.io/InterWeave.web/#bibtex"><img src="https://img.shields.io/badge/BibTeX-Cite-6b5570?style=for-the-badge&logo=latex&logoColor=white" alt="BibTeX"></a></p>---## Highlights- **13,910** scene-augmented HOSI sequences derived from **3,518** source interactions.- **2,590,526** frames, i.e. **24.0 hours** of motion at **30 FPS**.- **54** indoor scenes and **13** object categories.- Full-body motion, articulated bimanual hands, object trajectories, and scene geometry in one release.- Parametric data that can be retargeted, rendered, or used as supervision for scene-aware motion generation.## Dataset at a glance| Property | Value || --- | --- || Release | `InterWeave-HOSI-v1` || Sequences | 13,910 || Source interactions | 3,518 || Frames | 2,590,526 || Duration | 24.0 h @ 30 FPS || Indoor scenes | 54 || Object categories | 13 || Human body | Parametric body motion (SMPL-X family) || Hands | 45 axis-angle parameters per hand || Coordinates | Metric, **Y-up** || Annotation language | English |## Release structure```textInterWeave-HOSI-v1/├── README.md├── LICENSE├── schema.json # tensor names, shapes, and dtypes├── manifest.jsonl # one JSON record per sequence├── sequences/│ └── omomo_occ/│ └── sub*/*.npz # parametric motion per sequence├── hand_pose/│ ├── index.json│ └── omomo/*.npy # [T, 90] hand parameters per source interaction├── scenes/│ ├── index.json│ └── scene_*.npy # scene tensors└── objects/├── index.json└── *.npz # object tensors```> Paths are relative to the dataset root. Read `schema.json` for the authoritative tensor layout; use `manifest.jsonl` to resolve each sequence's scene, object, and source interaction.## Data format### `manifest.jsonl`One JSON object per line. Each record includes:| Field | Description || --- | --- || Sequence ID | Public sequence identifier || Source group | Source interaction this sequence was augmented from || Scene ID | Indoor scene identifier || Object category | Object category label || Caption | English description of the interaction || Frame count | Number of frames at 30 FPS || Placement | Placement transform used for scene augmentation || Relative path | Path to the sequence `.npz` |> The exact key names are defined by the release; inspect the first record before writing a loader.### `schema.json`Defines the tensor names, shapes, and dtypes stored in `sequences/*.npz`, `scenes/*.npy`, and `objects/*.npz`. Always read this file first: it is the source of truth for body, hand, object, and scene tensors.### `sequences/omomo_occ/sub*/*.npz`Parametric motion for one sequence: body pose and translation, articulated hand parameters, object transforms, and the references needed to place the motion in its scene. Load with `numpy.load(..., allow_pickle=True)` and inspect `.files`.### `hand_pose/omomo/*.npy`Hand poses are stored **once per source interaction** as `[T, 90]` arrays: 45 local axis-angle dimensions for the left hand and 45 for the right hand.### `scenes/` and `objects/`Scene and object tensors are stored once and referenced by the per-sequence records; `index.json` maps identifiers to files.> The release does **not** contain SMPL-X, SMPL-H, or MANO model files, source scene meshes or textures, model weights, or training caches. Obtain the body models separately from their official sources and follow their licenses.## Getting started### Download```pythonfrom huggingface_hub import snapshot_downloadroot = snapshot_download(repo_id="gaoyukang33/InterWeave",repo_type="dataset",)print(root)```If the files are nested under `InterWeave-HOSI-v1/`, prepend that directory to the paths below.### Read the manifest and schema```pythonimport jsonfrom pathlib import Pathroot = Path(root)manifest = [json.loads(line) for line in (root / "manifest.jsonl").read_text().splitlines()]schema = json.loads((root / "schema.json").read_text())print(manifest[0]) # inspect the exact field namesprint(schema.keys())```### Load one sequence```pythonimport numpy as nprecord = manifest[0]print(record.keys())path_key = "path" # replace with the key printed abovesequence = np.load(root / record[path_key], allow_pickle=True)print(sequence.files) # tensor names defined in schema.jsonprint(sequence[sequence.files[0]].shape)```### Load hand poses```pythonhand_index = json.loads((root / "hand_pose" / "index.json").read_text())print(list(hand_index.items())[:3])# Each entry points to a [T, 90] .npy array.```> This dataset does not use the standard Hugging Face `datasets` loader. Download the files and read them with NumPy; `schema.json` describes the arrays.## Coordinate system and units- **Metric units**, **Y-up**.- Each sequence is expressed in its own scene frame; use the placement transform in the manifest to place it in the augmented scene.- Any additional camera or sensor conventions are defined in `schema.json`.## Hand poses- 45 axis-angle values per hand (`45 × 2 = 90` per frame).- Stored per **source interaction**, not per augmented sequence, to avoid duplicating identical hand motion.- Frame-aligned with the source interaction's temporal range.## AcknowledgementsThis release builds on the open-source research community, especially:- **OMOMO** for the source human–object interaction motions,- **InterAct** for motion processing,- **LINGO** and **TRUMANS** for indoor scenes,- **SMPL-X**, **SMPL-H**, and **MANO** for the parametric body and hand models.## CitationIf you find InterWeave useful, please cite:```bibtex@misc{gao2027interweave,title = {InterWeave: Bring Human--Object Interactions into 3D Scenes via Hierarchical Motion and Contact Generation},author = {Gao, Yukang and Chen, Xingyu and Gu, Yi and Cao, Hanyang and Zhou, Yangchen and Zhang, Fanghai and Xu, Renjing and Han, Lei},year = {2027},note = {Project page: https://gaoyukang33.github.io/InterWeave.web/}}```---<p align="center"><sub>Maintained by the InterWeave authors. For questions about the dataset, please open a discussion on the dataset page.</sub></p>
README.md+211-26