SceneNet-RGBD / README.md
dronefreak's picture
Card: add train split (5.06M frames) and counts
d8cd5dd verified
|
Raw History Blame
7.38 kB
metadata
language:
  - en
license: gpl
pretty_name: SceneNet RGB-D
task_categories:
  - depth-estimation
  - image-segmentation
tags:
  - rgb-d
  - synthetic
  - indoor
  - scene-understanding
  - instance-segmentation
  - camera-pose
  - webdataset
  - computer-vision
size_categories:
  - 1M<n<10M
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train/*.tar
      - split: validation
        path: data/validation/*.tar

SceneNet RGB-D: Synthetic Indoor RGB-D Trajectories with Ground Truth

Task Dataset Format Splits License

Unofficial redistribution of SceneNet RGB-D, repacked into viewer-ready WebDataset shards (one sample per frame: RGB + depth + instance mask + camera pose + instance classes).

Dataset Description

Disclaimer

This repository is not an official release of SceneNet RGB-D.

SceneNet RGB-D was created by John McCormac, Ankur Handa, Stefan Leutenegger and Andrew J. Davison at the Dyson Robotics Lab, Imperial College London, who retain all copyright and intellectual property rights. This repository does not claim ownership of any images, annotations, or metadata.

This repository exists because the original download links (doc.ic.ac.uk/~bjm113/scenenet_data/) no longer work (HTTP 404, checked November 2026), and to make the data browsable in the Hugging Face Dataset Viewer.

Two-hop provenance. The files were not downloaded from the original server. They come from the unmodified raw mirror haotongl/SceneNetRGBD (original tarballs and protobufs), which is credited here. The original release published no checksums, so byte-level identity with the original server cannot be verified.


Dataset Overview

SceneNet RGB-D contains 5M photorealistic, rendered RGB-D images from over 15K camera trajectories through synthetic indoor layouts (bathrooms, bedrooms, kitchens, living rooms, offices), with random but physically simulated object placement, random lighting and textures. It provides pixel-perfect ground truth for depth, instance segmentation (and through it semantic segmentation), and camera pose. Frames are 320x240, sampled every 25 rendered frames (300 frames per trajectory).


Changes from the Official Release

  • Repacked the original .tar.gz archives into WebDataset .tar shards (~1 GB) with one sample per frame, so the Dataset Viewer and datasets show RGB, depth and instance mask side by side.
  • Image bytes are copied unchanged: no re-encoding, resizing or filtering.
  • Per-frame camera poses and instance-to-class maps are taken from the official protobufs and stored as JSON next to each frame. The full protobuf content (lights, object poses, ShapeNet hashes) is kept in metadata/*-trajectories.jsonl.
  • Every frame listed in the protobuf was checked to have all three images; the repack stops on any mismatch.
  • No frames, labels or splits were added, removed or changed.

Dataset Structure

dataset/
├── README.md
├── data/
│   ├── train/                      train-NN-NNNNN.tar
│   └── validation/                 validation-NNNNN.tar
└── metadata/
    ├── <shard prefix>-trajectories.jsonl   full protobuf per trajectory
    └── <shard prefix>-stats.json           repack counts and checks

Each sample (key <a>_<b>_<frame>, e.g. 0_223_0025 = trajectory 0/223, frame 25):

File Content
rgb.jpg RGB photo, 320x240
depth.png 16-bit depth in millimetres
instance.png 16-bit instance ids
json trajectory, frame_num, layout (room type, model), shutter_open / shutter_close (camera, lookat, timestamp), instances (list of id, wordnet_id, class, type; id = pixel value in instance.png)

Splits: train 16,865 trajectories / 5,059,500 frames (338 shards, from the 17 original train_N tarballs) · validation 1,000 trajectories / 300,000 frames (19 shards).

Shard names keep the source tarball: train-NN-XXXXX.tar comes from train_NN.tar.gz. Repack counts and checks per tarball are in metadata/<prefix>-stats.json. The problems entries in train-13 to train-16 are render log files (info_new.log) that the original tarballs contain inside some trajectory folders. They were skipped; every frame listed in the protobufs is present.

Usage

from datasets import load_dataset

ds = load_dataset("dronefreak/SceneNet-RGBD", split="train", streaming=True)  # 5M frames: stream it
s = next(iter(ds))
rgb, depth, inst = s["rgb.jpg"], s["depth.png"], s["instance.png"]
classes = {i["id"]: i["class"] for i in s["json"]["instances"]}

Dataset Sources

Original Paper

SceneNet RGB-D: Can 5M Synthetic Images Beat Generic ImageNet Pre-training on Indoor Segmentation?

John McCormac, Ankur Handa, Stefan Leutenegger, Andrew J. Davison

IEEE International Conference on Computer Vision (ICCV), 2017.

Citation

@inproceedings{McCormac:etal:ICCV2017,
  author    = {John McCormac and Ankur Handa and Stefan Leutenegger and Andrew J. Davison},
  title     = {SceneNet RGB-D: Can 5M Synthetic Images Beat Generic ImageNet Pre-training on Indoor Segmentation?},
  booktitle = {ICCV},
  year      = {2017}
}

@article{McCormac:etal:arXiv2016,
  author  = {John McCormac and Ankur Handa and Stefan Leutenegger and Andrew J. Davison},
  title   = {SceneNet RGB-D: 5M Photorealistic Images of Synthetic Indoor Trajectories with Ground Truth},
  journal = {arXiv},
  year    = {2016}
}

License

The original project page states the license as "GPL.", without a version and without saying whether it covers the data, the code, or both. This redistribution follows that statement unchanged. The authors' official parsing code (pySceneNetRGBD) is GPL-3.0. Scenes are rendered from third-party 3D assets whose own terms the original page does not mention; if you need certainty for your use case, contact the original authors.