Command Palette
Search for a command to run...
Repurposing Diffusion-Based Image Generators for Monocular Depth Estimation
Bingxin Ke Anton Obukhov Shengyu Huang Nando Metzger Rodrigo Caye Daudt Konrad Schindler

Abstract
Monocular depth estimation is a fundamental computer vision task. Recovering 3D depth from a single image is geometrically ill-posed and requires scene understanding, so it is not surprising that the rise of deep learning has led to a breakthrough. The impressive progress of monocular depth estimators has mirrored the growth in model capacity, from relatively modest CNNs to large Transformer architectures. Still, monocular depth estimators tend to struggle when presented with images with unfamiliar content and layout, since their knowledge of the visual world is restricted by the data seen during training, and challenged by zero-shot generalization to new domains. This motivates us to explore whether the extensive priors captured in recent generative diffusion models can enable better, more generalizable depth estimation. We introduce Marigold, a method for affine-invariant monocular depth estimation that is derived from Stable Diffusion and retains its rich prior knowledge. The estimator can be fine-tuned in a couple of days on a single GPU using only synthetic training data. It delivers state-of-the-art performance across a wide range of datasets, including over 20% performance gains in specific cases. Project page: https://marigoldmonodepth.github.io.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| monocular-depth-estimation-on-eth3d | Marigold | Delta u003c 1.25: 0.0960 absolute relative error: 0.065 |
| monocular-depth-estimation-on-kitti-eigen | Marigold | Delta u003c 1.25: 0.916 Delta u003c 1.25^2: 0.987 Delta u003c 1.25^3: 0.996 RMSE: 3.304 RMSE log: 0.138 absolute relative error: 0.099 |
| monocular-depth-estimation-on-nyu-depth-v2 | Marigold | Delta u003c 1.25: 0.964 Delta u003c 1.25^2: 0.991 Delta u003c 1.25^3: 0.998 RMSE: 0.224 absolute relative error: 0.055 log 10: 0.024 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.