Skip to content

[ICLR 2025] Official lmplementation of SPM-Diff: Incorporating Visual Correspondence into Diffusion Model for Virtual Try-On

Notifications You must be signed in to change notification settings

HiDream-ai/SPM-Diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ICLR25: Incorporating Visual Correspondence into Diffusion Model for Virtual Try-On

Siqi Wan1, Jingwen Chen2, Yingwei Pan2, Ting Yao2, Tao Mei2
1University of Science and Technology of China; 2HiDream.ai Inc

This is the official repository for the Paper "Incorporating Visual Correspondence into Diffusion Model for Visual Try-On"

Overview

We novelly propose to explicitly capitalize on visual correspondence as the prior to tame diffusion process instead of simply feeding the whole garment into UNet as the appearance reference.

Installation

Create a conda environment & Install requirments

conda create -n SPM-Diff python==3.9.0
conda activate SPM-Diff
cd SPM-Diff-main 
pip install -r requirements.txt

Semantic Point Matching

In SPM, a set of semantic points on the garment are first sampled and matched to the corresponding points on the target person via local flow warping. Then, these 2D cues are augmented into 3D-aware cues with depth/normal map, which act as semantic point matching to supervise diffusion model.

You can directly download the Semantic Point Feature or follow the instructions in preprocessing.md to extract the Semantic Point Feature yourself.

Dataset

You can download the VITON-HD dataset from here)
For inference, the following dataset structure is required:

test
|-- image
|-- masked_vton_img 
|-- warp-cloth
|-- cloth
|-- cloth_mask
|-- point

Inference

Please download the pre-trained model from Link.

sh inference.sh

Acknowledgement

Thanks the contribution of LaDI-VTON and GP-VTON.

Citation

@inproceedings{
 wan2025incorporating,
 title={Incorporating Visual Correspondence into Diffusion Model for Virtual Try-On},
 author={Siqi Wan and Jingwen Chen and Yingwei Pan and Ting Yao and Tao Mei},
 booktitle={ICLR},
 year={2025},
}

About

[ICLR 2025] Official lmplementation of SPM-Diff: Incorporating Visual Correspondence into Diffusion Model for Virtual Try-On

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages