Image-to-Image
Diffusers
Safetensors
sar-to-eo
remote-sensing
synthetic-aperture-radar
flow-matching
lora
Instructions to use JeonghyeokDo/GeoSET with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use JeonghyeokDo/GeoSET with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-4B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("JeonghyeokDo/GeoSET") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
|
Download baselines/sar2eo/c-diffset/README.md from JeonghyeokDo/GeoSET: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/JeonghyeokDo/GeoSET/resolve/main/baselines/sar2eo/c-diffset/README.md
- Command line
-
hf download hf://JeonghyeokDo/GeoSET/baselines/sar2eo/c-diffset/README.md
-
curl -L -o README.md https://huggingface.co/JeonghyeokDo/GeoSET/resolve/main/baselines/sar2eo/c-diffset/README.md
2.77 kB
| # C-DiffSET · SAR2EO | |
| C-DiffSET (TCSVT'26) retrained by the GeoSET authors on the SAR2EO split. These are the weights behind | |
| the C-DiffSET row for SAR2EO in Table 3 of the GeoSET paper | |
| ([arXiv:2609.37496](https://arxiv.org/abs/2609.37496)). | |
| - Method: Do, Lee, Lee and Kim, "C-DiffSET: Leveraging latent diffusion for SAR-to-EO image translation with confidence-guided reliable object generation", IEEE Transactions on Circuits and Systems for Video Technology, 2026. | |
| - Implementation: [KAIST-VICLab/C-DiffSET](https://github.com/KAIST-VICLab/C-DiffSET) at commit `6fc380215ae97c9d134e8f1434061b652339b45c`, on Stable Diffusion 2.1-base (`Manojb/stable-diffusion-2-1-base`, revision `0094d483a120f3f33dafbd187ea4aa60d10de75c`). | |
| - Training and inference code: [`baselines/c-diffset`](https://github.com/KAIST-VICLab/GeoSET/tree/main/baselines/c-diffset) in the GeoSET repository. | |
| ## Files | |
| | File | Bytes | SHA-256 | Role | | |
| |---|---:|---|---| | |
| | `diffusion_pytorch_model.safetensors` | 3,463,784,116 | `72148c1b9fe2bd354d6521d1317a01bbd931d73685355b653dd070df55f813c5` | UNet weights (diffusers `UNet2DConditionModel`, fp32); input = SAR latent and noisy EO latent (8 channels), output = noise (channels 0-3) and a spatial variance whose inverse is the confidence (channel 4) | | |
| | `config.json` | 911 | `a387cad525c0765440e96bad8b2ece4c9a63712c4df04ed95a95b57ddbd9927c` | UNet configuration | | |
| ## Results (GeoSET paper, Table 3) | |
| SAR2EO, first 4,000 pairs of the 21,260-pair test split, 256 × 256. | |
| | FID↓ | DISTS↓ | KID↓ | DINO↑ | LPIPS↓ | SSIM↑ | PSNR↑ | | |
| |---:|---:|---:|---:|---:|---:|---:| | |
| | 64.0 | 0.252 | 0.0257 | 0.527 | 0.462 | 0.512 | 17.09 | | |
| ## Inference | |
| ```bash | |
| git clone https://github.com/KAIST-VICLab/GeoSET && cd GeoSET | |
| export BASELINES_ROOT=/path/to/upstream_code DATA_ROOT=/path/to/data WORK_DIR=/path/to/work CKPT_ROOT=/path/to/checkpoints | |
| bash baselines/c-diffset/fetch.sh | |
| python baselines/data/ldm_prepare.py sar2eo | |
| hf download JeonghyeokDo/GeoSET "baselines/sar2eo/c-diffset/diffusion_pytorch_model.safetensors" "baselines/sar2eo/c-diffset/config.json" --local-dir hf | |
| mkdir -p $CKPT_ROOT/c-diffset/sar2eo && cp hf/baselines/sar2eo/c-diffset/* $CKPT_ROOT/c-diffset/sar2eo/ | |
| bash baselines/c-diffset/test.sh sar2eo # writes $WORK_DIR/results/c-diffset/sar2eo/<stem>.png | |
| python scripts/evaluate.py --dataset sar2eo --pred-dir $WORK_DIR/results/c-diffset/sar2eo | |
| ``` | |
| ## Licence | |
| These weights are a derivative of Stable Diffusion 2.1-base and are released under the CreativeML Open RAIL++-M licence ([text](https://huggingface.co/stabilityai/stable-diffusion-2/blob/main/LICENSE-MODEL)); the use-based restrictions of its Attachment A apply to any use and redistribution. The C-DiffSET code is MIT (Copyright (c) 2026 KAIST VICLab). | |