GAN-based colorization of SAR (radar) satellite imagery into optical-style RGB, using an Attention U-Net generator and multi-scale PatchGAN discriminator
Jupyter Notebook
12
5 commits
updated Sep 13, 2026
Translating grayscale Synthetic Aperture Radar (SAR) imagery into realistic optical (RGB) imagery using a conditional GAN with attention.

SAR sensors image the ground regardless of cloud cover or daylight, but the resulting grayscale imagery is hard to interpret visually. This project trains a conditional GAN to translate SAR imagery into optical-style RGB imagery, so the output is easier to read while keeping the availability advantages of radar.
Architecture
Training details
Paired SAR-Optical Dataset (16K Images) on Kaggle. Each image is a single PNG with the SAR tile on the left half and the paired optical tile on the right half.
notebooks/sar_colorization_attention_gan.ipynb on a GPU environment (developed for Kaggle P100/T4; a local CUDA GPU works too).CFG["DATA_DIR"] at it.checkpoints/ and samples/; re-running the notebook resumes automatically from the last checkpoint.test_results/.python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
jupyter notebook notebooks/sar_colorization_attention_gan.ipynb
| Metric | Value |
|---|---|
| PSNR | 17.669 ± 2.929 dB |
| SSIM | 0.3393 ± 0.1155 |
| Test set size | 319 images |
MIT — see LICENSE.
5 commits
Jupyter Notebook
99.8%
GAN-based colorization of SAR (radar) satellite imagery into optical-style RGB, using an Attention U-Net generator and multi-scale PatchGAN discriminator
Jupyter Notebook
12
5 commits
updated Sep 13, 2026
Translating grayscale Synthetic Aperture Radar (SAR) imagery into realistic optical (RGB) imagery using a conditional GAN with attention.

SAR sensors image the ground regardless of cloud cover or daylight, but the resulting grayscale imagery is hard to interpret visually. This project trains a conditional GAN to translate SAR imagery into optical-style RGB imagery, so the output is easier to read while keeping the availability advantages of radar.
Architecture
Training details
Paired SAR-Optical Dataset (16K Images) on Kaggle. Each image is a single PNG with the SAR tile on the left half and the paired optical tile on the right half.
notebooks/sar_colorization_attention_gan.ipynb on a GPU environment (developed for Kaggle P100/T4; a local CUDA GPU works too).CFG["DATA_DIR"] at it.checkpoints/ and samples/; re-running the notebook resumes automatically from the last checkpoint.test_results/.python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
jupyter notebook notebooks/sar_colorization_attention_gan.ipynb
| Metric | Value |
|---|---|
| PSNR | 17.669 ± 2.929 dB |
| SSIM | 0.3393 ± 0.1155 |
| Test set size | 319 images |
MIT — see LICENSE.
5 commits
Jupyter Notebook
99.8%