Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
15
149
depth/000150/CAMERA_01/15616458249936530.png
depth/000150/CAMERA_01/15616458250936520.png
depth/000150/CAMERA_01/15616458251936472.png
depth/000150/CAMERA_01/15616458252936480.png
depth/000150/CAMERA_01/15616458253936482.png
depth/000150/CAMERA_01/15616458254936480.png
depth/000150/CAMERA_01/15616458255936482.png
depth/000150/CAMERA_01/15616458256936478.png
depth/000150/CAMERA_01/15616458257936482.png
depth/000150/CAMERA_01/15616458258936492.png
depth/000150/CAMERA_01/15616458259936490.png
depth/000150/CAMERA_01/15616458260936490.png
depth/000150/CAMERA_01/15616458261936490.png
depth/000150/CAMERA_01/15616458262936490.png
depth/000150/CAMERA_01/15616458263936500.png
depth/000150/CAMERA_01/15616458264936500.png
depth/000150/CAMERA_01/15616458265936502.png
depth/000150/CAMERA_01/15616458266936490.png
depth/000150/CAMERA_01/15616458267936490.png
depth/000150/CAMERA_01/15616458268936492.png
depth/000150/CAMERA_01/15616458269936490.png
depth/000150/CAMERA_01/15616458270936502.png
depth/000150/CAMERA_01/15616458271936500.png
depth/000150/CAMERA_01/15616458272936500.png
depth/000150/CAMERA_01/15616458273936500.png
depth/000150/CAMERA_01/15616458274936500.png
depth/000150/CAMERA_01/15616458275936510.png
depth/000150/CAMERA_01/15616458276936510.png
depth/000150/CAMERA_01/15616458277936512.png
depth/000150/CAMERA_01/15616458278936510.png
depth/000150/CAMERA_01/15616458279936522.png
depth/000150/CAMERA_01/15616458280936520.png
depth/000150/CAMERA_01/15616458281936522.png
depth/000150/CAMERA_01/15616458282936480.png
depth/000150/CAMERA_01/15616458283936482.png
depth/000150/CAMERA_01/15616458284936470.png
depth/000150/CAMERA_01/15616458285936472.png
depth/000150/CAMERA_01/15616458286936472.png
depth/000150/CAMERA_01/15616458287936472.png
depth/000150/CAMERA_01/15616458288936462.png
depth/000150/CAMERA_01/15616458289936462.png
depth/000150/CAMERA_01/15616458290936462.png
depth/000150/CAMERA_01/15616458291936462.png
depth/000150/CAMERA_01/15616458292936452.png
depth/000150/CAMERA_01/15616458293936450.png
depth/000150/CAMERA_01/15616458294936590.png
depth/000150/CAMERA_01/15616458295936590.png
depth/000150/CAMERA_01/15616458296936490.png
depth/000150/CAMERA_01/15616458297936490.png
depth/000150/CAMERA_01/15616458298936492.png
depth/000150/CAMERA_01/15616458299936482.png
depth/000150/CAMERA_01/15616458300936480.png
depth/000150/CAMERA_01/15616458301936484.png
depth/000150/CAMERA_01/15616458302936480.png
depth/000150/CAMERA_01/15616458303936482.png
depth/000150/CAMERA_01/15616458304936470.png
depth/000150/CAMERA_01/15616458305936472.png
depth/000150/CAMERA_01/15616458306936472.png
depth/000150/CAMERA_01/15616458307936472.png
depth/000150/CAMERA_01/15616458308936472.png
depth/000150/CAMERA_01/15616458309936462.png
depth/000150/CAMERA_01/15616458310936462.png
depth/000150/CAMERA_01/15616458311936522.png
depth/000150/CAMERA_01/15616458312936552.png
depth/000150/CAMERA_01/15616458313936450.png
depth/000150/CAMERA_01/15616458314936490.png
depth/000150/CAMERA_01/15616458315936520.png
depth/000150/CAMERA_01/15616458316936562.png
depth/000150/CAMERA_01/15616458317936460.png
depth/000150/CAMERA_01/15616458318936492.png
depth/000150/CAMERA_01/15616458319936522.png
depth/000150/CAMERA_01/15616458320936560.png
depth/000150/CAMERA_01/15616458321936462.png
depth/000150/CAMERA_01/15616458322936490.png
depth/000150/CAMERA_01/15616458323936532.png
depth/000150/CAMERA_01/15616458324936572.png
depth/000150/CAMERA_01/15616458325936462.png
depth/000150/CAMERA_01/15616458326936532.png
depth/000150/CAMERA_01/15616458327936530.png
depth/000150/CAMERA_01/15616458328936542.png
depth/000150/CAMERA_01/15616458329936540.png
depth/000150/CAMERA_01/15616458330936552.png
depth/000150/CAMERA_01/15616458331936552.png
depth/000150/CAMERA_01/15616458332936552.png
depth/000150/CAMERA_01/15616458333936562.png
depth/000150/CAMERA_01/15616458334936562.png
depth/000150/CAMERA_01/15616458335936572.png
depth/000150/CAMERA_01/15616458336936572.png
depth/000150/CAMERA_01/15616458337936574.png
depth/000150/CAMERA_01/15616458338936582.png
depth/000150/CAMERA_01/15616458339936584.png
depth/000150/CAMERA_01/15616458340936590.png
depth/000150/CAMERA_01/15616458341936590.png
depth/000150/CAMERA_01/15616458342936520.png
depth/000150/CAMERA_01/15616458343936520.png
depth/000150/CAMERA_01/15616458344936522.png
depth/000150/CAMERA_01/15616458345936520.png
depth/000150/CAMERA_01/15616458346936522.png
depth/000150/CAMERA_01/15616458347936520.png
depth/000150/CAMERA_01/15616458348936520.png
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

ICLR Mono-Depth Zero-Shot Benchmark

Eight perspective (pinhole) depth test sets used for zero-shot evaluation of monocular depth models. Mirrored from code/iclr/zero-shot3 with the exact relative layout its eval/datasets.py expects, so that loader only needs its two roots repointed here.

These are perspective images, not equirectangular panoramas. For the 360Β° suite use the sibling Depth/datasets/benchmark/ instead.

  • Datasets: 10
  • Total samples: 21 087
  • Total size on disk: β‰ˆ 32 GB
  • Training-free: all splits are the official test sets; no training data

Datasets

Two layout families live side by side:

  • zero-shot3 layout (iBims-1 … vkitti, the first 8 rows): data under datasets/<name>/, Gemini caption JSONs under text/<name>/.
  • RSA layout (NYU, KITTI): an extra NYU / KITTI pair from the RSA repo, used as an official sanity check. These keep the split .txt at the dataset root and split RGB from ground truth into separate trees (rgb/ + gt/ for KITTI). Their captions are one .txt per image and the loader reads only its first line (RSA's eval runs with random_number=0).
key N scene RGB depth depth β†’ meters min / max (m) crop
iBims-1 100 indoor png png u16 v * 50 / 65535 0 / 10 eigen
SUN 5 050 indoor jpg png u16 v / 10000 (0.1 mm) 0.001 / 8 eigen
DDAD 3 950 outdoor png png u16 v / 256 0.001 / 80 garg
DIML 500 outdoor png png u16 v / 1000 (mm) 2 / 80 garg
DIODE_indoor 325 indoor png npy f32 already meters 0.001 / 10 eigen
DIODE_outdoor 446 outdoor png npy f32 already meters 0.001 / 80 garg
hypersim 7 690 indoor png png u16 v / 1000 (planar) 0.001 / 80 eigen
vkitti 1 720 synth jpg png u16 v / 100 (cm) 0.001 / 80 garg
NYU 654 indoor jpg png u16 v / 1000 (mm) 0.001 / 10 β€”
KITTI 652 outdoor png png u16 v / 256 0.001 / 80 β€”

Validity is derived per dataset (see the table in _loader.py); the DIODE sets ship an explicit *_depth_mask.npy and iBims-1 ships mask_invalid / mask_transp PNGs.

DDAD is sparse by construction. Its ground truth is upsampled LiDAR, so only ~1.1% of pixels carry a return β€” expect a low valid fraction on this set (the other outdoor sets, being dense stereo, sit near 80–100%). The encoding itself is fine: raw / 256 lands in 5–177 m, which matches DDAD's sensor geometry.

crop is the standard evaluation crop applied to the metric region: eigen = [45:471, 41:601] in a 480Γ—640 frame; garg = the full frame at 352Γ—1216. Pass apply_crop=True to MonoDepthDataset to get the cropped tensor, or leave it off and crop at metric time (the zero-shot3 eval scripts do the latter).

Native resolutions

iBims-1 480Γ—640 Β· SUN ~530Γ—730 Β· DDAD 1216Γ—1936 Β· DIML 1080Γ—1920 Β· DIODE 768Γ—1024 Β· hypersim 768Γ—1024 Β· vkitti 375Γ—1242 Β· NYU 480Γ—640 Β· KITTI 375Γ—1242 (KB-cropped to 352Γ—1216 at load time, image and GT alike).

Eval-time resize (matching zero-shot3): SUN/hypersim β†’ 480Γ—640, DDAD β†’ 352Γ—1216, DIODE short side β†’ 480. Images only β€” GT depth keeps its native resolution and the prediction is resized back for scoring.

_loader.py reproduces the reference preprocessing bit-exactly: verified against zero-shot3/eval/datasets.py with the roots repointed here, all 10 datasets agree on image (0 diff), on depth over the common-valid region (0 diff), on the validity mask (100 % of pixels), and β€” for NYU/KITTI β€” on the caption string. The resize op matters β€” PIL bilinear, F.interpolate(align_corners=True) and T.Resize(antialias=True) disagree by up to 0.3 on a [0,1] scale, so the loader dispatches to whichever one each dataset's reference loader uses, with a PIL fallback when torch/torchvision are unavailable.


Directory layout

iclr_benchmark/
β”œβ”€β”€ datasets/
β”‚   β”œβ”€β”€ iBims-1/{imagelist.txt, rgb/, depth/, mask_invalid/, mask_transp/}
β”‚   β”œβ”€β”€ SUN/{test_images.txt, test_depths.txt, image/, depth/}
β”‚   β”œβ”€β”€ DDAD/{test_images.txt, test_depths.txt, rgb/, depth/}
β”‚   β”œβ”€β”€ DIML/HR/{outleft/, depthmap/}
β”‚   β”œβ”€β”€ DIODE_indoors/<scene>/<scan>/{*.png, *_depth.npy, *_depth_mask.npy}
β”‚   β”œβ”€β”€ DIODE_outdoor/...             # note: data dir is plural, text dir singular
β”‚   β”œβ”€β”€ hypersim/<scene>/{rgb_cam_*.png, depth_plane_cam_*.png}
β”‚   └── vkitti/{test_images.txt, test_depths.txt, rgb/, depth/}
β”‚   β”œβ”€β”€ NYU/{nyudepthv2_test_files_with_gt.txt, rgb/}      # RSA layout
β”‚   └── KITTI/{eigen_test_files_with_gt.txt, rgb/, gt/}    # RSA layout
β”œβ”€β”€ text/                            # Gemini JSONs (8 sets) + RSA .txt captions
β”‚   β”œβ”€β”€ iBims-1/, SUN/image/, DDAD/, DIML/HR/outleft/, hypersim/,
β”‚   β”œβ”€β”€ DIODE_indoor/, DIODE_outdoor/, vkitti/
β”‚   └── NYU/, KITTI/                 # one .txt per image, first line used
β”œβ”€β”€ _loader.py                       # MonoDepthDataset
β”œβ”€β”€ benchmark.py                     # HuggingFace datasets BuilderConfig
β”œβ”€β”€ _collect.py                      # (dev) regenerate from zero-shot3
└── README.md

Text JSONs carry the Gemini captions (Global.objects + Global.description) that the text-conditioned models in this benchmark consume.


Loading

import sys
sys.path.insert(0, "/path/to/iclr_benchmark")
from _loader import MonoDepthDataset

ds = MonoDepthDataset(root="/path/to/iclr_benchmark", name="iBims-1")
s = ds[0]
# s["image"]    float32 [3, H, W] in [0, 1]   (no ImageNet normalisation)
# s["depth"]    float32 [1, H, W] meters, invalid = 0
# s["valid"]    bool    [1, H, W]
# s["text"]     str     Gemini Global description
# s["rgb_path"] str     path relative to the dataset root

HuggingFace:

from datasets import load_dataset
ds = load_dataset("/path/to/iclr_benchmark", "iBims-1", split="test")

Repointing the zero-shot3 evaluator

The original scripts hardcode:

data_root = "/group/40006/jinggcao/code/iclr/zero-shot3/datasets"
text_root = "/group/40006/jinggcao/code/iclr/zero-shot3/datasets/text"

Point them at this folder instead:

data_root = "/group/40006/jinggcao/code/Depth/datasets/iclr_benchmark/datasets"
text_root = "/group/40006/jinggcao/code/Depth/datasets/iclr_benchmark/text"

Nothing else changes β€” build_dataset() resolves the same relative paths.


Source attribution

  • iBims-1 β€” Koch et al., Evaluation of CNN-based Single-Image Depth Estimation, ECCV 2018.
  • SUN RGB-D β€” Song et al., CVPR 2015 (ZoeDepth test split, 0.1 mm encoding).
  • DDAD β€” Guizilini et al., DDAD15M / 3D Packing for Self-Supervised Monocular Depth Estimation, CVPR 2020.
  • DIML β€” Kim et al., DIML/CVL RGB-D dataset, 2018.
  • DIODE β€” Vasiljevic et al., CVPR 2019 (indoor / outdoor splits).
  • Hypersim β€” Roberts et al., ICCV 2021 (planar depth renders).
  • Virtual KITTI 2 β€” Cabon et al., 2020.
  • NYU Depth v2 β€” Nathan Silberman et al., ECCV 2012 (Eigen test split).
  • KITTI β€” Geiger et al., 2013 (Eigen test split, KB-cropped).

Evaluation protocol follows ZoeDepth (Bhat et al., 2023) and TR2M; please cite those along with whichever datasets you use.


Regenerating

python _collect.py --dry-run        # list what would be copied
python _collect.py                  # all 8
python _collect.py SUN DDAD         # a subset

_collect.py is idempotent (skips files whose size already matches).

Downloads last month
1,831