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

Paper Preprint | Project Page

pmaa

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:

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:

Results

res

Quantitative Results

exp

Qualitative Results

vis

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},
}