├── LICENSE ├── README.md ├── hcl ├── domain_adaptation │ ├── config.py │ └── train_UDA.py └── scripts │ ├── configs │ ├── hcl_source.yml │ └── hcl_source_pretrained.yml │ ├── test.py │ ├── train.py │ └── train_source.sh ├── hcl_target.yml ├── hcl_target ├── compute_iou.py ├── compute_iou_best.py ├── dataset │ ├── autoaugment.py │ ├── cityscapes_dataset.py │ ├── cityscapes_list │ │ ├── info.json │ │ ├── label.txt │ │ ├── train.txt │ │ └── val.txt │ ├── cityscapes_pseudo_dataset.py │ ├── cityscapes_train_dataset.py │ ├── gta5_dataset.py │ └── gta5_list │ │ └── train.txt ├── evaluate_cityscapes.py ├── evaluate_cityscapes_advent.py ├── evaluate_cityscapes_advent_best.py ├── generate_plabel_cityscapes.py ├── generate_plabel_cityscapes_advent.py ├── model │ ├── deeplab.py │ ├── deeplab_advent.py │ ├── deeplab_advent_no_p.py │ ├── deeplab_advent_test.py │ ├── deeplab_multi.py │ ├── deeplab_vgg.py │ ├── discriminator.py │ └── ms_discriminator.py ├── test.sh ├── train_ft_advent_hcl.py ├── train_ft_base.py ├── train_hcl.sh ├── trainer_base.py ├── trainer_hcl.py └── utils │ ├── autoaugment.py │ ├── clear_model.py │ ├── loss.py │ └── tool.py ├── pretrained_models ├── HCL_source_only_426 │ ├── opts.yaml │ └── pretrained_source.txt └── HCL_target_482 │ └── opts.yaml ├── setup.py └── teaser.png /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/README.md -------------------------------------------------------------------------------- /hcl/domain_adaptation/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl/domain_adaptation/config.py -------------------------------------------------------------------------------- /hcl/domain_adaptation/train_UDA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl/domain_adaptation/train_UDA.py -------------------------------------------------------------------------------- /hcl/scripts/configs/hcl_source.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl/scripts/configs/hcl_source.yml -------------------------------------------------------------------------------- /hcl/scripts/configs/hcl_source_pretrained.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl/scripts/configs/hcl_source_pretrained.yml -------------------------------------------------------------------------------- /hcl/scripts/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl/scripts/test.py -------------------------------------------------------------------------------- /hcl/scripts/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl/scripts/train.py -------------------------------------------------------------------------------- /hcl/scripts/train_source.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl/scripts/train_source.sh -------------------------------------------------------------------------------- /hcl_target.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target.yml -------------------------------------------------------------------------------- /hcl_target/compute_iou.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/compute_iou.py -------------------------------------------------------------------------------- /hcl_target/compute_iou_best.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/compute_iou_best.py -------------------------------------------------------------------------------- /hcl_target/dataset/autoaugment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/autoaugment.py -------------------------------------------------------------------------------- /hcl_target/dataset/cityscapes_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/cityscapes_dataset.py -------------------------------------------------------------------------------- /hcl_target/dataset/cityscapes_list/info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/cityscapes_list/info.json -------------------------------------------------------------------------------- /hcl_target/dataset/cityscapes_list/label.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/cityscapes_list/label.txt -------------------------------------------------------------------------------- /hcl_target/dataset/cityscapes_list/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/cityscapes_list/train.txt -------------------------------------------------------------------------------- /hcl_target/dataset/cityscapes_list/val.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/cityscapes_list/val.txt -------------------------------------------------------------------------------- /hcl_target/dataset/cityscapes_pseudo_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/cityscapes_pseudo_dataset.py -------------------------------------------------------------------------------- /hcl_target/dataset/cityscapes_train_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/cityscapes_train_dataset.py -------------------------------------------------------------------------------- /hcl_target/dataset/gta5_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/gta5_dataset.py -------------------------------------------------------------------------------- /hcl_target/dataset/gta5_list/train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/dataset/gta5_list/train.txt -------------------------------------------------------------------------------- /hcl_target/evaluate_cityscapes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/evaluate_cityscapes.py -------------------------------------------------------------------------------- /hcl_target/evaluate_cityscapes_advent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/evaluate_cityscapes_advent.py -------------------------------------------------------------------------------- /hcl_target/evaluate_cityscapes_advent_best.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/evaluate_cityscapes_advent_best.py -------------------------------------------------------------------------------- /hcl_target/generate_plabel_cityscapes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/generate_plabel_cityscapes.py -------------------------------------------------------------------------------- /hcl_target/generate_plabel_cityscapes_advent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/generate_plabel_cityscapes_advent.py -------------------------------------------------------------------------------- /hcl_target/model/deeplab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/model/deeplab.py -------------------------------------------------------------------------------- /hcl_target/model/deeplab_advent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/model/deeplab_advent.py -------------------------------------------------------------------------------- /hcl_target/model/deeplab_advent_no_p.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/model/deeplab_advent_no_p.py -------------------------------------------------------------------------------- /hcl_target/model/deeplab_advent_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/model/deeplab_advent_test.py -------------------------------------------------------------------------------- /hcl_target/model/deeplab_multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/model/deeplab_multi.py -------------------------------------------------------------------------------- /hcl_target/model/deeplab_vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/model/deeplab_vgg.py -------------------------------------------------------------------------------- /hcl_target/model/discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/model/discriminator.py -------------------------------------------------------------------------------- /hcl_target/model/ms_discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/model/ms_discriminator.py -------------------------------------------------------------------------------- /hcl_target/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/test.sh -------------------------------------------------------------------------------- /hcl_target/train_ft_advent_hcl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/train_ft_advent_hcl.py -------------------------------------------------------------------------------- /hcl_target/train_ft_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/train_ft_base.py -------------------------------------------------------------------------------- /hcl_target/train_hcl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/train_hcl.sh -------------------------------------------------------------------------------- /hcl_target/trainer_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/trainer_base.py -------------------------------------------------------------------------------- /hcl_target/trainer_hcl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/trainer_hcl.py -------------------------------------------------------------------------------- /hcl_target/utils/autoaugment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/utils/autoaugment.py -------------------------------------------------------------------------------- /hcl_target/utils/clear_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/utils/clear_model.py -------------------------------------------------------------------------------- /hcl_target/utils/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/utils/loss.py -------------------------------------------------------------------------------- /hcl_target/utils/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/hcl_target/utils/tool.py -------------------------------------------------------------------------------- /pretrained_models/HCL_source_only_426/opts.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/pretrained_models/HCL_source_only_426/opts.yaml -------------------------------------------------------------------------------- /pretrained_models/HCL_source_only_426/pretrained_source.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /pretrained_models/HCL_target_482/opts.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/pretrained_models/HCL_target_482/opts.yaml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/setup.py -------------------------------------------------------------------------------- /teaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jxhuang0508/HCL/HEAD/teaser.png --------------------------------------------------------------------------------