Table of Contents

February 12, 2025 ยท View on GitHub

Paper - BoMuDANet: Unsupervised Adaptation for Visual Scene Understanding in Unstructured Driving Environments (ICCV Workshops 2021)

Project Page - https://gamma.umd.edu/researchdirections/autonomousdriving/bomuda/

Watch the video here

Please cite our paper if you find it useful.

@article{kothandaraman2020bomuda,
  title={BoMuDA: Boundless Multi-Source Domain Adaptive Segmentation in Unconstrained Environments},
  author={Kothandaraman, Divya and Chandra, Rohan and Manocha, Dinesh},
  journal={arXiv preprint arXiv:2010.03523},
  year={2020}
}

Table of Contents

Repo Details and Contents

Python version: 3.7

Code structure

Dataloaders

DatasetDataloaderList of images
CityScapesdataset/cityscapes.pydataset/cityscapes_list
India Driving Datasetdataset/idd_dataset.py,idd_openset.pydataset/idd_list
GTAdataset/gta_dataset.pydataset/gta_list
SynScapesdataset/synscapes.pydataset/synscapes_list
Berkeley Deep Drivedataset/bdd/bdd_source.pydataset/bdd_list

Our network

Training your own model

Stage 1: Train networks for single source domain adaptation on various source-target pairs.

python train_singlesourceDA.py

Stage 2: Use the trained single-source networks, and the corresponding domain discriminators for multi-source domain adaptation.

python train_bddbase_multi3source_furtheriterations.py

Evaluation (closed-set DA):

python eval_idd_BoMuDA.py

Evaluation (open-set DA):

python eval_idd_openset.py

Make sure to set appropriate paths to the folders containing the datasets, and the models in the training and evaluation files.

Datasets

Dependencies

PyTorch
NumPy
SciPy
Matplotlib

Acknowledgements

This code is heavily borrowed from AdaptSegNet.