README.md
April 11, 2026 ยท View on GitHub
PMAA: A Progressive Multi-scale Attention Autoencoder Model for High-Performance Cloud Removal from Multi-temporal Satellite Imagery
This repository is the official PyTorch implementation of the accepted paper PMAA of ECAI 2023 Oral.
Xuechao Zou1,*, Kai Li2,*, Junliang Xing2, Pin Tao1,2,โ , Yachao Cui1
Qinghai University1 โข Tsinghua University2

News
- [2026/04/11] We open-sourced visualization results (including DiffCR and PMAA) from the paper for direct comparison in your own research papers.
- [2023/07/30] Code release.
- [2023/07/16] PMAA got accepted by ECAI 2023 Oral.
- [2023/03/29] PMAA is on arXiv now.
Visualization
The visualization results of 12 methods (including DiffCR) on the test sets of Sen2_MTC_Old and Sen2_MTC_New datasets, along with evaluation code for direct comparison by researchers, are available at: ๐ค HuggingFace Visualization
โโโ paper-report.png โ reference metrics table from the paper
โ
โโโ data/
โ โโโ Sen2_MTC_New/
โ โ โโโ GT/ โ 687 cloud-free ground-truth images ({id}.png)
โ โ โโโ inputs/ โ 687 ร 3 cloudy input images
โ โ ({id}_A1.png {id}_A2.png {id}_A3.png)
โ โโโ Sen2_MTC_Old/
โ โโโ GT/ โ 313 ground-truth images
โ โโโ inputs/ โ 313 ร 3 cloudy inputs
โ
โโโ results/
โ โโโ Sen2_MTC_New/
โ โ โโโ ae/ โ prediction images for each method ({id}.png)
โ โ โโโ crtsnet/
โ โ โโโ ctgan/
โ โ โโโ ddpmcr/
โ โ โโโ diffcr/ โ DiffCR [Ours]
โ โ โโโ dsen2cr/
โ โ โโโ mcgan/
โ โ โโโ pix2pix/
โ โ โโโ pmaa/
โ โ โโโ stgan/
โ โ โโโ stnet/
โ โ โโโ uncrtaints/
โ โโโ Sen2_MTC_Old/
โ โโโ (same 12 methods)
โ
โโโ eval/
โโโ metrics.py โ PSNR / SSIM / FID / LPIPS evaluation
โโโ plot.py โ comparison figure generation
โโโ requirements.txt โ Python dependencies
Requirements
To install dependencies:
pip install -r requirements.txt
To download datasets:
-
Sen2_MTC_Old: multipleImage.tar.gz
-
Sen2_MTC_New: CTGAN.zip
Training
To train the models in the paper, run these commands:
python train_old.py
python train_new.py
Evaluation
To evaluate my models on two datasets, run:
python test_old.py
python test_new.py
Pre-trained Models
You can download pretrained models here:
- Our awesome model trained on Sen2_MTC_old: pmaa_old.pth
- Our awesome model trained on Sen2_MTC_new: pmaa_new.pth
Results

Quantitative Results

Qualitative Results

Citation
If you use our code or models in your research, please cite with:
@article{zou2023pmaa,
title={PMAA: A Progressive Multi-scale Attention Autoencoder Model for High-Performance Cloud Removal from Multi-temporal Satellite Imagery},
author={Zou, Xuechao and Li, Kai and Xing, Junliang and Tao, Pin and Cui, Yachao},
journal={European Conference on Artificial Intelligence (ECAI)},
year={2023},
pages={3165-3172},
}