depth-anything-ac-eval
Depth Anything at Any Condition — Sun et al. (2025) (arXiv:2507.01634, 2025)
What this evaluates
Evaluates zero-shot monocular relative depth estimation robustness under complex environmental conditions such as low light, adverse weather (rain, fog, snow), and synthetic noise. It probes the model's ability to recover fine-grained spatial relationships and object boundaries from degraded inputs without fine-tuning.
Datasets
- DA-2K (multi-condition) — total ?; splits: test (-1)
- NuScenes-night — total ?; splits: test (-1)
- Robotcar-night — total ?; splits: test (-1)
- Driving-Stereo — total ?; splits: test (-1)
- KITTI-C — total ?; splits: test (-1)
- KITTI — total ?; splits: test (-1)
- NYU-D — total ?; splits: test (-1)
- Sintel — total ?; splits: test (-1)
- ETH3D — total ?; splits: test (-1)
- DIODE — total ?; splits: test (-1)
Metrics
AbsRel (primary) — range: [0, 1]
- Mean absolute relative error: (1/N) Σ |d_pred - d_gt| / d_gt. Lower is better.
δ1 (primary) — range: [0, 1]
- Percentage of pixels where max(d_pred/d_gt, d_gt/d_pred) < 1.25. Higher is better.
Acc — range: [0, 1]
- Accuracy of pairwise relative depth ordering on the DA-2K benchmark. Higher is better.
Input / output format
Input: Single RGB image (often subjected to synthetic perturbations like darkness, fog, snow, motion blur, or Gaussian noise for robustness evaluation).
Output: Predicted relative depth map (affine-invariant scale).
Scoring recipe
def compute_metrics(pred, gt):
# pred, gt: 2D arrays of predicted and ground-truth relative depth
# Ensure scale alignment if necessary (e.g., median ratio)
abs_rel = np.mean(np.abs(pred - gt) / gt)
ratio = np.maximum(pred / gt, gt / pred)
delta1 = np.mean(ratio < 1.25)
return {'AbsRel': abs_rel, 'δ1': delta1}
Common pitfalls
- Ground truth from LiDAR/depth cameras is often sparse and noisy, which limits fine-grained evaluation and can artificially cap metric scores.
- Models predict affine-invariant/relative depth, so absolute scale cannot be directly compared without proper alignment or scaling.
- DA-2K uses pairwise relative depth accuracy, which evaluates ordering rather than pixel-wise regression, making it incomparable to AbsRel/δ1.
Evidence (verbatim from paper)
For instance, compared to Depth Anything V2, our DepthAnything-AC achieves 0.037 improvements of δ1 metric on the Robotcar-night benchmark.
Citation
@misc{sun2025depthanythingac,
title={Depth Anything at Any Condition},
author={Sun et al. (2025)},
year={2025},
note={arXiv:2507.01634}
}
1---2name: depth-anything-ac-eval3description: Evaluates zero-shot monocular relative depth estimation robustness under complex environmental conditions such as low light, adverse weather (rain, fog, snow), and synthetic noise. It probes the model's ability to recover fine-grained spatial relationships and object boundaries from degraded inputs without fine-tuning. Use when the user wants to benchmark on DA-2K (multi-condition), NuScenes-night, Robotcar-night, Driving-Stereo, KITTI-C, KITTI, NYU-D, Sintel, ETH3D, DIODE, or asks about evaluating this task. Reports AbsRel, δ1.4---56# depth-anything-ac-eval78> Depth Anything at Any Condition — Sun et al. (2025) (arXiv:2507.01634, 2025)910## What this evaluates1112Evaluates zero-shot monocular relative depth estimation robustness under complex environmental conditions such as low light, adverse weather (rain, fog, snow), and synthetic noise. It probes the model's ability to recover fine-grained spatial relationships and object boundaries from degraded inputs without fine-tuning.1314## Datasets1516- **DA-2K (multi-condition)** — total ?; splits: test (-1)17- **NuScenes-night** — total ?; splits: test (-1)18- **Robotcar-night** — total ?; splits: test (-1)19- **Driving-Stereo** — total ?; splits: test (-1)20- **KITTI-C** — total ?; splits: test (-1)21- **KITTI** — total ?; splits: test (-1)22- **NYU-D** — total ?; splits: test (-1)23- **Sintel** — total ?; splits: test (-1)24- **ETH3D** — total ?; splits: test (-1)25- **DIODE** — total ?; splits: test (-1)2627## Metrics2829- `AbsRel` **(primary)** — range: [0, 1]30 - Mean absolute relative error: (1/N) Σ |d_pred - d_gt| / d_gt. Lower is better.31- `δ1` **(primary)** — range: [0, 1]32 - Percentage of pixels where max(d_pred/d_gt, d_gt/d_pred) < 1.25. Higher is better.33- `Acc` — range: [0, 1]34 - Accuracy of pairwise relative depth ordering on the DA-2K benchmark. Higher is better.3536## Input / output format3738**Input**: Single RGB image (often subjected to synthetic perturbations like darkness, fog, snow, motion blur, or Gaussian noise for robustness evaluation).3940**Output**: Predicted relative depth map (affine-invariant scale).4142## Scoring recipe4344```python45def compute_metrics(pred, gt):46 # pred, gt: 2D arrays of predicted and ground-truth relative depth47 # Ensure scale alignment if necessary (e.g., median ratio)48 abs_rel = np.mean(np.abs(pred - gt) / gt)49 ratio = np.maximum(pred / gt, gt / pred)50 delta1 = np.mean(ratio < 1.25)51 return {'AbsRel': abs_rel, 'δ1': delta1}52```5354## Common pitfalls5556- Ground truth from LiDAR/depth cameras is often sparse and noisy, which limits fine-grained evaluation and can artificially cap metric scores.57- Models predict affine-invariant/relative depth, so absolute scale cannot be directly compared without proper alignment or scaling.58- DA-2K uses pairwise relative depth accuracy, which evaluates ordering rather than pixel-wise regression, making it incomparable to AbsRel/δ1.5960## Evidence (verbatim from paper)6162> For instance, compared to Depth Anything V2, our DepthAnything-AC achieves 0.037 improvements of δ1 metric on the Robotcar-night benchmark.6364## Citation6566```bibtex67@misc{sun2025depthanythingac,68 title={Depth Anything at Any Condition},69 author={Sun et al. (2025)},70 year={2025},71 note={arXiv:2507.01634}72}73```7475- arXiv: 2507.01634