Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
The dataset viewer is not available for this split.
Server error while post-processing the rows. Please report the issue.
Error code:   RowsPostProcessingError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Kubric (converted to VLBM format)

This dataset contains 11,000 sequences from the Kubric (TAPVid3D) dataset converted to the VLBM-compatible format using preprocess_kubric.py. The sequences have been compressed into .tar.gz archives in chunks of 50 sequences per archive.

Scale

Metric Value
Total sequences 11,000
Frames per sequence 24
Image resolution 512 x 512 px
Depth type Dense (ground truth)

Dataset Structure

Each sequence directory follows this layout:

<seq_id>/
β”œβ”€β”€ rgbs/
β”‚   β”œβ”€β”€ rgb_00000.jpg
β”‚   β”œβ”€β”€ rgb_00001.jpg
β”‚   └── ...
β”œβ”€β”€ depths/
β”‚   β”œβ”€β”€ depth_00000.npz
β”‚   β”œβ”€β”€ depth_00001.npz
β”‚   └── ...
β”œβ”€β”€ intrinsics.npy
β”œβ”€β”€ extrinsics.npy
β”œβ”€β”€ trajs_2d.npy
β”œβ”€β”€ trajs_3d.npy
β”œβ”€β”€ visibilities.npy
└── scene_info.json

File Descriptions

  • rgbs/: RGB frames saved as JPEG (rgb_XXXXX.jpg). Resolution is 512x512 pixels (converted from source PNG).
  • depths/: Dense depth maps saved as compressed NumPy archives (depth_XXXXX.npz). Each archive stores a float16 array under the key depth of shape (H, W) in meters. Converted from kubric 16-bit depth PNGs using linear mapping from depth_range (near, far).
  • intrinsics.npy: Camera intrinsic matrices for each frame (T, 3, 3) float16. Converted from kubric NDC intrinsics to pixel-space.
  • extrinsics.npy: World-to-camera extrinsic matrices (W2C, OpenCV convention) for each frame (T, 4, 4) float16. Converted from kubric OpenGL camera-to-world matrices.
  • trajs_2d.npy: 2D trajectories (T, N, 2) float16 -- pixel coordinates (x, y).
  • trajs_3d.npy: 3D trajectories (T, N, 3) float16 -- world-space coordinates (x, y, z).
  • visibilities.npy: Visibility flags (T, N) float16 (1.0 visible, 0.0 not visible). Inverted from kubric's occluded flag.
  • scene_info.json: JSON file with per-sequence metadata including num_frames, image_size, num_trajectories, source, and depth_range.

Conversion Details

Key conversions from the original kubric_tapip3d format:

  1. Coordinate system: OpenGL β†’ OpenCV (Y and Z axes flipped)
  2. Intrinsics: NDC β†’ pixel-space (focal length scaled by image dimensions, principal point at image center)
  3. Extrinsics: Camera-to-world (OpenGL) β†’ World-to-camera (OpenCV) via inversion + GL2CV transform
  4. Depth: uint16 PNG β†’ float16 meters using depth_m = uint16 / 65535 * (far - near) + near
  5. Visibility: occluded (True=occluded) β†’ visibility (1.0=visible)
  6. Array layout: (N, T, *) β†’ (T, N, *)

Data Specifications

  • Image format: JPEG (RGB), 512x512 px
  • Depth format: NPZ (float16), dense (ground truth from Kubric)
  • Annotation format: Individual .npy files (float16)
  • Coordinate system: x=right, y=down, z=forward (OpenCV camera space)
  • Extrinsics: World-to-camera (W2C) 4x4 matrices (OpenCV convention)

Usage Example (Python)

import numpy as np
from PIL import Image
from pathlib import Path
import json

seq_dir = Path("data/kubric_vlbm/000035")

# Load annotations
trajs_2d    = np.load(seq_dir / "trajs_2d.npy")     # (T, N, 2)
trajs_3d    = np.load(seq_dir / "trajs_3d.npy")     # (T, N, 3)
vis         = np.load(seq_dir / "visibilities.npy")  # (T, N)
intrinsics  = np.load(seq_dir / "intrinsics.npy")    # (T, 3, 3)
extrinsics  = np.load(seq_dir / "extrinsics.npy")    # (T, 4, 4)

# Load an image and depth map
frame_idx = 0
rgb = Image.open(seq_dir / "rgbs" / f"rgb_{frame_idx:05d}.jpg")
depth_npz = np.load(seq_dir / "depths" / f"depth_{frame_idx:05d}.npz")
depth = depth_npz['depth']  # float16 array (H, W)

# Load scene info
with open(seq_dir / "scene_info.json", 'r') as f:
    scene_info = json.load(f)

print(scene_info)

Citation

Please cite the original Kubric dataset when using the converted data:

@inproceedings{greff2022kubric,
  title={Kubric: A scalable dataset generator},
  author={Greff, Klaus and Belletti, Francois and Beber, Lucas and Curth, Carlos and Franber, Tom and Goel, Shreshth and Goodman, Xavier and Jimenez, Victor and Kabelka, Matthieu and Tagliasacchi, Andrea and others},
  booktitle={CVPR},
  year={2022}
}
Downloads last month
1,540