Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    FileNotFoundError
Message:      [Errno 2] No such file or directory: '/src/services/worker/d2p_dataset/statues/babies_cerny/images/100040.png'
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2228, in __iter__
                  batch = formatter.format_batch(pa_table)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/formatting/formatting.py", line 472, in format_batch
                  batch = self.python_features_decoder.decode_batch(batch)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/formatting/formatting.py", line 234, in decode_batch
                  return self.features.decode_batch(batch, token_per_repo_id=self.token_per_repo_id) if self.features else batch
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 2254, in decode_batch
                  decode_nested_example(self[column_name], value, token_per_repo_id=token_per_repo_id)
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1508, in decode_nested_example
                  return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/image.py", line 175, in decode_example
                  image = PIL.Image.open(path)
                          ^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/PIL/Image.py", line 3431, in open
                  fp = builtins.open(filename, "rb")
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              FileNotFoundError: [Errno 2] No such file or directory: '/src/services/worker/d2p_dataset/statues/babies_cerny/images/100040.png'

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.

The D2P dataset

The D2P dataset is a dataset based on the Depth2Pose monocular depth estimation benchmark, a pose-based evaluation of MDEs without ground-truth depth. The dataset contains challenging scenes outside the distribution of common training data, together with a simple and extensible evaluation framework, presented on the github page. The scenes are divided into two categories: statues and vegetation. Undistorted images and reconstructions in standard colmap format is provided for each scene, together with a list of image pairs used for the evaluation.

paper (coming later) | github | webpage

Dataset Structure

d2p_dataset                           
β”œβ”€β”€ statues/                           
β”‚   β”œβ”€β”€ scene1/                          
β”‚   β”‚   β”œβ”€β”€ images/                       
β”‚   β”‚   β”‚   β”œβ”€β”€ img1.png
β”‚   β”‚   β”‚   β”œβ”€β”€ img2.png   
β”‚   β”‚   β”‚   └── ... 
β”‚   β”‚   β”œβ”€β”€ sparse/
β”‚   β”‚   β”‚   β”œβ”€β”€ cameras.txt
β”‚   β”‚   β”‚   β”œβ”€β”€ frames.txt
β”‚   β”‚   β”‚   β”œβ”€β”€ images.txt
β”‚   β”‚   β”‚   β”œβ”€β”€ points3D.txt
β”‚   β”‚   β”‚   └── rigs.txt
β”‚   β”‚   β”œβ”€β”€ scene1_image_list.txt
β”‚   β”‚   └── scene1_image_pairs.txt
β”‚   β”œβ”€β”€ scene2/ 
β”‚   β”‚   └── ... 
β”‚   └── ... 
└──  vegetation/

Dataset Fields

Each scene contains:

  • images/: RGB images
  • sparse/: COLMAP reconstruction files:
    • camera parameters
    • frames
    • image poses
    • 3D points
    • rigs
  • scene1_image_list.txt: List of all images used for the benchmark, found in the images/ folder
  • scene1_image_pairs.txt: List of all image pairs used for the benchmark, for which realtive pose is evaluated

Direct Use

Benchmarking monocular depth estimators. For the current leaderboard, see the Depth2Pose webpage

Load with πŸ€— Datasets

from datasets import load_dataset

ds = load_dataset("floodgab/d2p_dataset")
print(ds["validation"][0])

Loading Example

To download the Depth2Pose dataset

from huggingface_hub import snapshot_download

path = snapshot_download("floodgab/d2p_dataset")

Citation

If you use Depth2Pose in your research or find our work helpful, please cite

@misc{depth2pose,
  title={{Depth2Pose}: A Pose-Based Benchmark for Monocular Depth Estimation without Ground-Truth Depth},
  author={Kocur, Viktor and Aung, Sithu and Flood, Gabrielle and Ding, Yaqing and Bujnak, Lukas and Sattler, Torsten and Kukelova, Zuzana},
  year={2026},
} 
Downloads last month
-