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
cd_head/{variant}/| Variant | Dataset | Timesteps | Path |
|---|---|---|---|
| cdd-50-100 | CDD | [50, 100] | cd_head/cdd-50-100/ |
| cdd-50-100-400 | CDD | [50, 100, 400] | cd_head/cdd-50-100-400/ |
| cdd-50-100-400-650 | CDD | [50, 100, 400, 650] | cd_head/cdd-50-100-400-650/ |
| dsifn-50-100 | DSIFN | [50, 100] | cd_head/dsifn-50-100/ |
| dsifn-50-100-400 | DSIFN | [50, 100, 400] | cd_head/dsifn-50-100-400/ |
| dsifn-50-100-400-650 | DSIFN | [50, 100, 400, 650] | cd_head/dsifn-50-100-400-650/ |
| levir-50-100 | LEVIR | [50, 100] | cd_head/levir-50-100/ |
| levir-50-100-400 | LEVIR | [50, 100, 400] | cd_head/levir-50-100-400/ |
| levir-50-100-400-650 | LEVIR | [50, 100, 400, 650] | cd_head/levir-50-100-400-650/ |
| whu-50-100 | WHU | [50, 100] | cd_head/whu-50-100/ |
| whu-50-100-400 | WHU | [50, 100, 400] | cd_head/whu-50-100-400/ |
| whu-50-100-400-650 | WHU | [50, 100, 400, 650] | cd_head/whu-50-100-400-650/ |
custom_pipeline (pipeline.py is in the repo, use relative path) and cd_head_subfolder:1from diffusers import DiffusionPipeline
2
3pipe = DiffusionPipeline.from_pretrained(
4 "BiliSakura/ddpm-cd",
5 custom_pipeline="pipeline",
6 trust_remote_code=True,
7 cd_head_subfolder="levir-50-100",
8).to("cuda")
9
10# Images in [-1, 1], shape (B, 3, H, W)
11change_map = pipe(image_A, image_B, timesteps=[50, 100])
12pred = change_map.argmax(1) # (B, H, W), 0=no-change, 1=changetimesteps used during training for each variant (see table above).1pipe = DiffusionPipeline.from_pretrained(
2 "BiliSakura/ddpm-cd",
3 custom_pipeline="pipeline",
4 trust_remote_code=True,
5 cd_head_subfolder="levir-50-100",
6).to("cuda")
7# Load different cd_head
8pipe.load_cd_head(subfolder="whu-50-100-400")
9change_map = pipe(image_A, image_B, timesteps=[50, 100, 400])1@inproceedings{bandaraDDPMCDDenoisingDiffusion2025,
2 title = {{{DDPM-CD}}: {{Denoising Diffusion Probabilistic Models}} as {{Feature Extractors}} for {{Remote Sensing Change Detection}}},
3 shorttitle = {{{DDPM-CD}}},
4 booktitle = {Proceedings of the {{Winter Conference}} on {{Applications}} of {{Computer Vision}}},
5 author = {Bandara, Wele Gedara Chaminda and Nair, Nithin Gopalakrishnan and Patel, Vishal},
6 year = 2025,
7 pages = {5250--5262},
8 urldate = {2025-12-28}
9}