To Adapt or Not to Adapt? Real-Time Adaptation for Semantic Segmentation

Marc Botet Colomer, Pier Luigi Dovesi, Theodoros Panagiotakopoulos, J. Carvalho, Linus Harenstam-Nielsen +4 more
2/14/2026

No official code found. Best implementation: MarcBotet/hamlet (49 stars, GPL-2.0, last commit 2024-06-20).

Abstract

The goal of Online Domain Adaptation for semantic segmentation is to handle unforeseeable domain changes that occur during deployment, like sudden weather events. However, the high computational costs associated with brute-force adaptation make this paradigm unfeasible for real-world applications. In this paper we propose HAMLET, a Hardware-Aware Modular Least Expensive Training framework for real-time domain adaptation. Our approach includes a hardware-aware back-propagation orchestration agent (HAMT) and a dedicated domain-shift detector that enables active control over when and how the model is adapted (LT). Thanks to these advancements, our approach is capable of performing semantic segmentation while simultaneously adapting at more than 29FPS on a single consumer-grade GPU. Our framework’s encouraging accuracy and speed trade-off is demonstrated on OnDA and SHIFT benchmarks through experimental results.

View on arXivView PDF

Code Implementations(1)

MarcBotet/hamletCommunity100%
GPL-2.0

Source code for "To Adapt or Not to Adapt? Real-Time Adaptation for Semantic Segmentation", ICCV 2023

498Shell, PythonJul 26, 20232 years agoGPL-2.0

Similar Papers

Cite this paper

@article{colomer2026adapt,
  title  = {To Adapt or Not to Adapt? Real-Time Adaptation for Semantic Segmentation},
  author = {Marc Botet Colomer and Pier Luigi Dovesi and Theodoros Panagiotakopoulos and J. Carvalho and Linus Harenstam-Nielsen and Hossein Azizpour and Hedvig Kjellstrom and D. Cremers and Matteo Poggi},
  year   = {2026},
  eprint = {2307.15063},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2307.15063},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.15063.svg)](https://codeofpaper.com/paper/2307.15063)

Discussion