The code runs on Python 2/3 The following packages are required.
pip install scipy tqdm matplotlib numpy opencv-python
Download ImageNet pretrained Resnet-101(Link) and place it ./pretrained_models/
python2 train_multi_split_entropy_landsat8_adapt_zy3_layer34.py
python evaluate_multi_split_zy3_layer34.py
Parts of the code have been adapted from: DeepLab-Resnet-Pytorch, AdvSemiSeg, PyTorch-Encoding
@ARTICLE{9387459, author={Guo, Jianhua and Yang, Jingyu and Yue, Huanjing and Li, Kun},
journal={IEEE Transactions on Geoscience and Remote Sensing},
title={Unsupervised Domain Adaptation for Cloud Detection Based on Grouped Features Alignment and Entropy Minimization},
year={2021},
volume={},
number={},
pages={1-13},
doi={10.1109/TGRS.2021.3067513}}