Awesome
[ECCV22] Bi-directional Contrastive Learning for Domain Adaptive Semantic Segmentation
This is a PyTorch implementation of [Bi-directional Contrastive Learning for Domain adaptive Semantic Segmentation].
<figure> <img src="./overview.png" alt="DASS"> </figure>Requirements
To install requirements:
- Python 3.6
- Pytorch 1.4.0
Getting Started
- Download the dataset.
- Download the ImageNet-pretrained Model [Link].
Training
Train the source-only model:
python so_run.py
Train our model:
python run.py
Evaluation
To perform evaluation on single model:
python eval.py --frm model.pth --single