Views
No views yet
[!WARNING] we do not have a full checkpoint conversion validation, if you encounter pipeline loading failure and unsidered output, please contact me via bili_sakura@zju.edu.cn
| Model | Direction | Epoch |
|---|---|---|
opt2sar | Optical → SAR | 20 |
sar2opt | SAR → Optical | 15 |
seman2opt | Semantic → Optical | 25 |
seman2opt_pesudo | Semantic (pseudo) → Optical | 195 |
seman2sar | Semantic → SAR | 25 |
seman2sar_pesudo | Semantic (pseudo) → SAR | 200 |
openearthmap_sar community pipeline:1from PIL import Image
2
3from examples.community.openearthmap_sar import load_openearthmap_sar_pipeline
4
5pipeline = load_openearthmap_sar_pipeline(
6 checkpoint_dir="/path/to/CUT-OpenEarthMap-SAR",
7 model_name="sar2opt", # choose one: opt2sar, sar2opt, seman2opt, seman2opt_pesudo, seman2sar, seman2sar_pesudo
8 device="cuda",
9)
10
11source = Image.open("/path/to/sar.png").convert("RGB")
12output = pipeline(source_image=source, output_type="pil")
13output.images[0].save("cut_sar2opt.png")1python -m examples.community.openearthmap_sar \
2 --checkpoint-dir BiliSakura/CUT-OpenEarthMap-SAR \
3 --model sar2opt \
4 --input sar.png \
5 --output out.pngPasssource_imageasPIL.Image. The generator uses anti-aliased down/upsampling to match the original CUT training.
{model_name}/
generator/
config.json
diffusion_pytorch_model.safetensors| Parameter | Value |
|---|---|
in_channels | 3 |
out_channels | 3 |
base_filters | 64 |
n_blocks | 9 |
norm | InstanceNorm |
1@inproceedings{park2020cut,
2 title={Contrastive Learning for Unpaired Image-to-Image Translation},
3 author={Park, Taesung and Efros, Alexei A and Zhang, Richard and Zhu, Jun-Yan},
4 booktitle={ECCV},
5 year={2020}
6}1@ARTICLE{11303033,
2 author={Xia, Junshi and Chen, Hongruixuan and Broni-Bediako, Clifford and Wei, Yimin and Song, Jian and Yokoya, Naoto},
3 journal={IEEE Geoscience and Remote Sensing Magazine},
4 title={OpenEarthMap-SAR: A benchmark synthetic aperture radar dataset for global high-resolution land cover mapping [Software and Data Sets]},
5 year={2025},
6 volume={13},
7 number={4},
8 pages={476-487},
9 keywords={Translation;Semantic segmentation;Source coding;Urban planning;Land surface;Geoscience and remote sensing;Benchmark testing;Software;Sustainable development;Synthetic aperture radar},
10 doi={10.1109/MGRS.2025.3599512}
11}