docs/en/datasets/depth/imagenet-pseudo.md
The ImageNet (pseudo-labeled depth) dataset reuses the 1,281,167 ImageNet-1K training images, which have no ground-truth depth, and pairs each image with a pseudo depth map produced by a Depth Anything V3 teacher model (monocular and metric). It is used purely for knowledge distillation and for the scene and object diversity that ImageNet provides. As the single largest source in the roughly 2.19M-image YOLO26-Depth pretraining mix (about 58%), adding it was decisive for indoor cross-domain generalization.
The pseudo-labeled ImageNet source consists of the ImageNet-1K training images with one machine-generated depth map per image:
Because ImageNet ships without depth annotations, depth targets are produced offline rather than measured:
.npy float32 array in meters, following the Ultralytics depth dataset format, and paired with its source image by file stem.This pseudo-labeled source is a component of the internal mixed-training configuration used to pretrain the released YOLO26-Depth weights and is not distributed as a standalone download.
This source contributes the bulk of the YOLO26-Depth pretraining data and the widest diversity of scenes and objects. By distilling a strong Depth Anything V3 teacher across more than a million images, it transfers broad scene priors into the student. In practice, adding it was decisive for indoor cross-domain generalization, helping the model perform well on indoor scenes beyond the real ground-truth training distributions.
The pseudo-labeled ImageNet data is not trained on in isolation; it is consumed as one component of a combined depth mix, defined by an internal/experiment YAML rather than a public dataset download. Conceptually, training on such a mix looks like the following:
!!! example "Train Example"
=== "Python"
```python
from ultralytics import YOLO
# Load a pretrained depth model
model = YOLO("yolo26n-depth.pt")
# Train on a combined depth mix (your own multi-source dataset YAML)
results = model.train(data="depth-mix.yaml", epochs=100, imgsz=640)
```
=== "CLI"
```bash
# Train on a combined depth mix (your own multi-source dataset YAML)
yolo depth train data=depth-mix.yaml model=yolo26n-depth.pt epochs=100 imgsz=640
```
Pretrained YOLO26-Depth models auto-download from the Ultralytics v8.4.0 assets release when first referenced by name:
If you use the ImageNet dataset in your research or development work, please cite the following paper:
!!! quote ""
=== "BibTeX"
```bibtex
@inproceedings{deng2009imagenet,
title={ImageNet: A Large-Scale Hierarchical Image Database},
author={Deng, Jia and Dong, Wei and Socher, Richard and Li, Li-Jia and Li, Kai and Fei-Fei, Li},
booktitle={2009 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
year={2009},
organization={IEEE}
}
@inproceedings{yang2024depthanything,
title={Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data},
author={Yang, Lihe and Kang, Bingyi and Huang, Zilong and Xu, Xiaogang and Feng, Jiashi and Zhao, Hengshuang},
booktitle={IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
year={2024}
}
```
We would like to acknowledge the ImageNet team for creating and maintaining the dataset, and the authors of Depth Anything for the teacher model used to generate the pseudo depth labels.