Datasets:

Languages:
English
ArXiv:
License:
spatialdex / README.md
quantumcookie's picture
Depth is metric scale
bd40805 verified
|
Raw History Blame Contribute Delete
10.8 kB
metadata
license: cc-by-nc-4.0
pretty_name: SpatialDex Dataset
language:
  - en
size_categories:
  - 1M<n<10M
task_categories:
  - robotics
  - depth-estimation
tags:
  - unienv
  - egocentric
  - human-hand
  - depth
  - camera-pose
  - mano
  - vla
  - spatialdex
  - ego4d
  - epic-kitchens
  - something-something-v2
extra_gated_prompt: >-
  This dataset contains depth maps and camera estimates produced with VGGT-Ω,
  which is released under the FAIR Noncommercial Research License (included as
  LICENSE_VGGT_OMEGA.txt), together with VITRA-1M annotations. It is derived
  from Ego4D, EPIC-KITCHENS and Something-Something v2 videos, which have their
  own license terms. The dataset is released under CC BY-NC 4.0 and may only be
  used for non-commercial research.
extra_gated_fields:
  I will use this dataset only for non-commercial research purposes: checkbox
  I have agreed to the licenses of Ego4D, EPIC-KITCHENS and Something-Something v2: checkbox
  I agree to the FAIR Noncommercial Research License terms for VGGT-Ω outputs: checkbox
extra_gated_button_content: Agree and access

SpatialDex Dataset

Human-video pre-training data for SpatialDex: per-frame depth and camera estimates from VGGT-Ω, merged with the VITRA-1M episode annotations (MANO hand poses, language instructions, VITRA cameras), for 1,155,175 human-hand episodes (31.7M frames) from Ego4D, EPIC-KITCHENS and Something-Something v2, stored as UniEnv replay buffers.

Paper: Reconstruction-Augmented Visuomotor Pre-Training of 3D-Grounded Bimanual Dexterity from RGB-Only Human Videos (arXiv:2610.29716 [cs.RO])

Project page: spatial-dex.github.io

Reconstructed human-video clips with scene point cloud, camera, and MANO hands next to the input video and per-hand instructions

Dataset summary

Episodes 1,155,175 hand-centric clips (median 24 frames, up to 158)
Frames 31,740,090, each with depth, cameras and MANO hands
Video time ≈ 276 h of source video at native frame rates
Source videos 43,004 from Ego4D, EPIC-KITCHENS and Something-Something v2
Language 1,562,044 per-hand instruction segments (486,971 unique), each with 5 rephrasings
Hands left and right MANO per frame (pose, shape, wrist, 21 3D joints) in world and camera frames, with per-frame validity
Depth metric VGGT-Ω z-depth at ~512² px (448×592 Ego4D, 384×688 EPIC), stored losslessly in 16-bit millimetres
Cameras VGGT-Ω camera-to-world poses and intrinsics, plus VITRA's metric cameras
RGB not included; decode it from the source videos with source/video_id + source/frame_index
Format UniEnv replay buffers in 266 tars (1.9 TB) + one index.parquet row per episode
License CC BY-NC 4.0; VGGT-Ω outputs under the FAIR Noncommercial Research License
source episodes frames ≈ hours¹ source videos median episode (frames) tars size
ego4d 948,561 23,392,849 217 2,444 23 194 1.42 TB
epic 153,896 7,222,228 33 580 43 60 427 GB
ssv2 52,718 1,125,013 26 39,980 20 12 53 GB
total 1,155,175 31,740,090 276 43,004 24 266 1.90 TB

¹ frames ÷ the sources' native frame rates (Ego4D 30 fps, EPIC-KITCHENS 60 fps, SSv2 12 fps).

RGB is not included (the source videos' licenses do not allow redistribution). Every frame carries its source video id and frame index, so RGB can be decoded from the original videos; see Getting RGB.

Files

README.md
LICENSE_VGGT_OMEGA.txt          FAIR Noncommercial Research License (VGGT-Ω)
index.parquet                   one row per episode, for all parts (see below)
ego4d/ego4d_part_0001.tar ...   194 tars
epic/epic_part_0001.tar ...     60 tars
ssv2/ssv2_part_0001.tar ...     12 tars

Each tar (~1–13 GB, uncompressed tar of already-compressed files) extracts to <dataset>/<part>/:

<dataset>/<part>/
  <H>x<W>_<NNN>/        a UniEnv ReplayBuffer; one segment per episode, <= 1000 episodes
  episodes.parquet      the index rows for this part
  skipped.jsonl         episodes left out and why
  DONE

Episodes are grouped by depth resolution, because a buffer has a fixed per-frame shape. The resolution follows the source video's aspect ratio (~512² pixels, multiples of 16): EPIC 384×688, Ego4D mostly 448×592, SSv2 several. height/width in index.parquet give each episode's size.

Download and extract only what you need, e.g.:

hf download grillab/spatialdex --repo-type dataset \
    --include "index.parquet" "ssv2/*" --local-dir vitra_vggt
cd vitra_vggt && for t in ssv2/*.tar; do tar -xf "$t" && rm "$t"; done

Per-frame fields

key shape / type meaning
depth (H, W) float32, metres metric VGGT-Ω z-depth; stored losslessly as FFV1 16-bit video in millimetres (±0.5 mm); 0 = invalid
camera/pose_c2w (4, 4) VGGT-Ω camera-to-world, OpenCV axes (x right, y down, z forward); world ≈ first camera
camera/intrinsics (3, 3) VGGT-Ω intrinsics in depth-map pixels (cx = W/2, cy = H/2)
vitra_camera/extrinsics_w2c (4, 4) VITRA world-to-camera (VITRA's metric world frame, which differs from VGGT-Ω's)
vitra_camera/intrinsics (3, 3) VITRA intrinsics in raw-video pixels
hands/{left,right}/kept uint8 1 if the VITRA hand reconstruction is valid for this frame
hands/{left,right}/beta (10,) MANO shape (MANO_RIGHT model), constant over the episode
hands/{left,right}/global_orient_{worldspace,camspace} (3, 3) wrist rotation in the VITRA world / camera frame
hands/{left,right}/hand_pose (15, 3, 3) MANO local joint rotations
hands/{left,right}/transl_worldspace (3,) wrist translation, VITRA world, metres
hands/{left,right}/joints_{worldspace,camspace} (21, 3) 3D joints, metres
instruction/{left,right} text VITRA description active at this frame ("" if none)
source/video_id text raw video name (Ego4D uid, EPIC P01_05, SSv2 id)
source/frame_index int64 0-based frame index in the raw video (= VITRA video_decode_frame)
episode_id text <dataset>/<video>_ep_<n> (VITRA's episode naming without the dataset prefix)
step int32 index within the episode

VGGT-Ω depth and VITRA's hand and camera data are all in metric scale (metres).

index.parquet

episode_id, dataset, part, buffer, segment, start, length, height, width, video_id, frame_start, frame_end, vitra_file, anno_type, avg_speed, total_rotvec_degree, total_transl_dist, text, text_rephrase

text / text_rephrase are VITRA's JSON-encoded {hand: [(description(s), (start, end)), ...]} with end exclusive.

Reading

Requires unienv (pip install unienv, or from GitHub).

import pandas as pd
from unienv_data import ReplayBuffer
from unienv_interface.backends.numpy import NumpyComputeBackend

root = "vitra_vggt"
idx = pd.read_parquet(f"{root}/index.parquet")
ep = idx[idx.dataset == "ssv2"].iloc[0]
rb = ReplayBuffer.load_from(f"{root}/{ep.dataset}/{ep.part}/{ep.buffer}", backend=NumpyComputeBackend)
assert rb.get_segments()[ep.segment] == (ep.start, ep.start + ep.length)
frames = rb.get_at(slice(ep.start, ep.start + ep.length))   # nested dict of arrays, one row per frame
depth, pose = frames["depth"], frames["camera"]["pose_c2w"]

Getting RGB

Decode frames source/frame_index from the raw video source/video_id, then resize the whole frame (bicubic, no crop) to the depth map's W×H. That is VGGT-Ω's preprocessing (load_and_preprocess_images, mode="balanced", image_resolution=512), so pixels line up with depth and camera/intrinsics. Raw-video layouts follow the VITRA data guide:

dataset raw video notes
ego4d Ego4D_root/v2/full_scale/{video_id}.mp4 VITRA undistorts Ego4D frames first (intrinsics/ego4d/{video_id}.npy in VITRA-1M); it is not yet verified whether VGGT-Ω was run on undistorted frames
epic EPIC-KITCHENS_root/{video_id[:3]}/videos/{video_id}.MP4 use as downloaded
ssv2 20bn-something-something-v2/{video_id}.webm use as downloaded

How it was made

  1. VGGT-Ω (512 checkpoint) was run on every VITRA-1M episode clip of Ego4D, EPIC-KITCHENS and SSv2, giving per-frame depth, camera-to-world poses and intrinsics.
  2. Each episode was joined with its VITRA-1M annotation. VGGT-Ω's frame indices equal VITRA's video_decode_frame for every converted episode; 3 EPIC episodes whose VGGT-Ω output is shorter than the annotation were left out (listed in skipped.jsonl).
  3. Not included: EgoExo4D; ~280 episodes that only exist in an older per-frame VGGT-Ω output format.
  4. A round-trip check against the source data matched every field exactly except depth (≤ 0.5 mm, the millimetre quantization).

License and terms

  • This dataset: CC BY-NC 4.0, non-commercial research only.
  • Depth and cameras are outputs of VGGT-Ω, released under the FAIR Noncommercial Research License (LICENSE_VGGT_OMEGA.txt), which restricts outputs to non-commercial research and requires acknowledging VGGT-Ω in publications.
  • Hand poses, VITRA cameras and text come from VITRA-1M (MIT).
  • All data is derived from Ego4D, EPIC-KITCHENS (CC BY-NC 4.0) and Something-Something v2 videos; you must comply with their licenses, and you need them to obtain RGB.

Citation

If you use this dataset, please cite SpatialDex:

@misc{he2026spatialdex,
  title={Reconstruction-Augmented Visuomotor Pre-Training of 3D-Grounded Bimanual Dexterity from RGB-Only Human Videos},
  author={Xingyi He and Zhiwen Qiu and Adhitya Polavaram and Yunhao Cao and Cory Fan and Julius Samwer and Saleh Kalantari and Kuan Fang},
  year={2026},
  eprint={2610.29716},
  archivePrefix={arXiv},
  primaryClass={cs.RO},
  url={https://arxiv.org/abs/2610.29716},
}

Please also cite VGGT-Ω and VITRA for the depth, cameras and hand annotations, and Ego4D, EPIC-KITCHENS and Something-Something v2 for the underlying videos.