- Create a new subfolder under the root named pretrained_models
- Download the pretrained DeepLabv2 model and save it in the folder
- Change the comet_ml work_space and user in the config files (shared/config.yml)
- Copy the model that you want to test to the root
- The model should be named like model_{30000}.pth. 30000 can be replaced to any int
- Go to shared/config.yml find TEST-Model-test_iter and change the number to the number in the name of your .pth file
$ pip install .
$ python train_CCAI.py # by default setting
$ python train_CCAI.py --cfg ./shared/advent.yml # by updated settings in advent.yml
$ python test_CCAI.py
$ pip uninstall ADVENT
ADVENT: Adversarial Entropy Minimization for Domain Adaptation in Semantic Segmentation [https://github.com/valeoai/ADVENT]