Views
No views yet
cond_scale=5.0).| Stage | Params | Resolution | Conditioning |
|---|---|---|---|
| LR base UNet | 27.18 M | 128×128 | T5-base, p_uncond=0.1 |
| SR UNet | 92.66 M | 128 → 256 | T5-base + LR image, p_uncond=0.1 |
| File | Size | What it is |
|---|---|---|
ckpt_sr_ep650_step89050.pt | ~1.9 GB | Merged cascade weights (LR base + SR) |
samples/ | ~2 MB | 16 demo PNGs at 256² + 4×4 grid |
captions.txt | 72 KB | 1093 RSICD-test captions matching the demo and FID PNGs |
fid_result.json | — | Headline FID (Inception feature=2048) |
fid_result_f768.json | — | Cross-comparison FID (feature=768) |
clip_result.json | — | OpenAI CLIP ViT-B/32 score + shuffled-baseline null |
1git clone https://github.com/asebaq/rsdiff
2cd rsdiff
3uv venv && source .venv/bin/activate
4uv pip install -e ".[dev,eval]"
5
6# pull the checkpoint
7hf download asebaq/rsdiff-sr-cascade-ep650 ckpt_sr_ep650_step89050.pt -o legacy/DDPM/ckpts/
8
9# sample 16 captions from the RSICD test split
10python legacy/DDPM/sample_grid.py \
11 --log_dir legacy/DDPM/logs/full_sr_gdm \
12 --data_root data/RSICD_optimal \
13 --ckpt legacy/DDPM/ckpts/ckpt_sr_ep650_step89050.pt \
14 --n 16 --cols 4 --batch 2 --cond_scale 5.0 \
15 --img_sz 128 --sr_sz 256 --ts 1000 \
16 --sr --split test --seed 17diffusers-native sampling path is on the project roadmap; for now the
bundled cascade runner (legacy/) loads this checkpoint directly.sent1) is used as the conditioning text.LICENSE.1@article{sebaq2024rsdiff,
2 title = {RSDiff: remote sensing image generation from text using diffusion model},
3 author = {Sebaq, Ahmad and ElHelw, Mohamed},
4 journal = {Neural Computing and Applications},
5 volume = {36},
6 number = {36},
7 pages = {23103--23111},
8 year = {2024},
9 doi = {10.1007/s00521-024-10363-3}
10}