Amir El-Ghoussani, Julia Hornauer, Gustavo Carneiro, Vasileios Belagiannis
This is the official codebase for the paper Consistency Regularisation for Unsupervised Domain Adaptation in Monocular Depth Estimation.
In monocular depth estimation, unsupervised domain adaptation has recently been explored to relax the dependence on large annotated image-based depth datasets. However, this comes at the cost of training multiple models or requiring complex training protocols. We formulate unsupervised domain adaptation for monocular depth estimation as a consistency-based semi-supervised learning problem by assuming access only to the source domain ground truth labels. To this end, we introduce a pairwise loss function that regularises predictions on the source domain while enforcing perturbation consistency across multiple augmented views of the unlabelled target samples. Importantly, our approach is simple and effective, requiring only training of a single model in contrast to the prior work. In our experiments, we rely on the standard depth estimation benchmarks KITTI and NYUv2 to demonstrate state-of-the-art results compared to related approaches. Furthermore, we analyse the simplicity and effectiveness of our approach in a series of ablation studies.
- clone the repo.
- install
requiremetns.txt
- download the pretrained models:
pretrained_vKITTI.pth
'https://faubox.rrze.uni-erlangen.de/getlink/fiRocZxYkVUdcueEYpFWWd/pretrained_vKITTI.pth'finetuned_KITTI.pth
'https://faubox.rrze.uni-erlangen.de/getlink/fiQirkjS1AraYBgLq9fCGx/finetuned_KITTI.pth'
- download the required data (KITTI) and put it in
/data/
, you can use the scriptraw_data_downloader.sh
for that, you can also modify thatKITTI_ROOT
path inparams.py
.
After downloading the data and the models you can test the model on the KITTI eigen split using python test.py
.
@misc{elghoussani2024consistencyregularisationunsuperviseddomain,
title={Consistency Regularisation for Unsupervised Domain Adaptation in Monocular Depth Estimation},
author={Amir El-Ghoussani and Julia Hornauer and Gustavo Carneiro and Vasileios Belagiannis},
year={2024},
eprint={2405.17704},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2405.17704},
}