Add pipeline tag, paper link, and improve model card
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
library_name: none
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
- image-super-resolution
|
| 6 |
- remote-sensing
|
|
@@ -8,11 +9,15 @@ tags:
|
|
| 8 |
- cloud-microphysics
|
| 9 |
---
|
| 10 |
|
| 11 |
-
#
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
## Files
|
| 16 |
|
| 17 |
- `cloudsr_seviri_to_viirs_model_50000.pth`
|
| 18 |
Single-stage checkpoint for SEVIRI to VIIRS super-resolution.
|
|
@@ -24,11 +29,60 @@ Checkpoint files for the Cloud Microphysics Super-Resolution project.
|
|
| 24 |
|
| 25 |
These are custom PyTorch checkpoints intended to be used with the local inference code in the main project repository.
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
```bash
|
| 30 |
python inference_sr.py \
|
| 31 |
-
-i /path/to/
|
| 32 |
-
-o /path/to/
|
| 33 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: none
|
| 3 |
+
license: mit
|
| 4 |
+
pipeline_tag: image-to-image
|
| 5 |
tags:
|
| 6 |
- image-super-resolution
|
| 7 |
- remote-sensing
|
|
|
|
| 9 |
- cloud-microphysics
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Recovering Cloud Microstructures with Cascaded Diffusion Inversion
|
| 13 |
+
|
| 14 |
+
This repository contains the model checkpoints for **CloudSR**, a two-stage diffusion-based super-resolution framework to enhance the resolution of multi-spectral cloud microstructures by a factor of 4×.
|
| 15 |
|
| 16 |
+
- **Paper:** [Recovering Cloud Microstructures with Cascaded Diffusion Inversion](https://huggingface.co/papers/2607.05637)
|
| 17 |
+
- **Project Page:** [Project Website](https://hananshafi.github.io/superresolution-cloud-microphysics/)
|
| 18 |
+
- **Code:** [GitHub Repository](https://github.com/hananshafi/superresolution-cloud-microphysics)
|
| 19 |
|
| 20 |
+
## Checkpoint Files
|
| 21 |
|
| 22 |
- `cloudsr_seviri_to_viirs_model_50000.pth`
|
| 23 |
Single-stage checkpoint for SEVIRI to VIIRS super-resolution.
|
|
|
|
| 29 |
|
| 30 |
These are custom PyTorch checkpoints intended to be used with the local inference code in the main project repository.
|
| 31 |
|
| 32 |
+
### Setup
|
| 33 |
+
|
| 34 |
+
First, clone the repository and install the dependencies:
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
git clone https://github.com/hananshafi/superresolution-cloud-microphysics.git
|
| 38 |
+
cd superresolution-cloud-microphysics
|
| 39 |
+
conda env create -f environment.yaml
|
| 40 |
+
conda activate cloudsr
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
### Download Checkpoints
|
| 44 |
+
|
| 45 |
+
You can download the checkpoints directly using `huggingface_hub`:
|
| 46 |
+
|
| 47 |
+
```bash
|
| 48 |
+
pip install huggingface_hub
|
| 49 |
+
hf download hanangani/cloudsr-checkpoints cloudsr_seviri_to_viirs_model_50000.pth --repo-type model --local-dir ./checkpoints
|
| 50 |
+
hf download hanangani/cloudsr-checkpoints cloudsr_msg_to_mtg_model_50000.pth --repo-type model --local-dir ./checkpoints
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
### SEVIRI to VIIRS Inference
|
| 54 |
+
|
| 55 |
+
Run inference using the `inference_sr.py` script:
|
| 56 |
|
| 57 |
```bash
|
| 58 |
python inference_sr.py \
|
| 59 |
+
-i /path/to/seviri_input \
|
| 60 |
+
-o /path/to/output_dir \
|
| 61 |
+
--num_steps 1 \
|
| 62 |
+
--sd_path /path/to/sd-turbo \
|
| 63 |
+
--started_ckpt_path ./checkpoints/cloudsr_seviri_to_viirs_model_50000.pth
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
### MSG to MTG Inference
|
| 67 |
+
|
| 68 |
+
Run inference using the `inference_msg_to_mtg_sr.py` script:
|
| 69 |
+
|
| 70 |
+
```bash
|
| 71 |
+
python inference_msg_to_mtg_sr.py \
|
| 72 |
+
-i /path/to/msg_input \
|
| 73 |
+
-o /path/to/output_dir \
|
| 74 |
+
--num_steps 1 \
|
| 75 |
+
--sd_path /path/to/sd-turbo \
|
| 76 |
+
--started_ckpt_path ./checkpoints/cloudsr_msg_to_mtg_model_50000.pth
|
| 77 |
```
|
| 78 |
+
|
| 79 |
+
## Citation
|
| 80 |
+
|
| 81 |
+
```bibtex
|
| 82 |
+
@inproceedings{gani2026recovering,
|
| 83 |
+
title = {Recovering Cloud Microstructures with Cascaded Diffusion Inversion},
|
| 84 |
+
author = {Gani, Hanan and Pulik, Guy and Rosenfeld, Daniel and Watson-Parris, Duncan and Khan, Salman},
|
| 85 |
+
booktitle = {ICLR 2026 Workshop on Machine Learning for Remote Sensing (ML4RS)},
|
| 86 |
+
year = {2026}
|
| 87 |
+
}
|
| 88 |
+
```
|