Skip to content
项目

关于

[CVPR 2024 Highlight] Coarse-to-Fine Latent Diffusion for Pose-Guided Person Image Synthesis

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

CFLD arXiv

Coarse-to-Fine Latent Diffusion for Pose-Guided Person Image Synthesis
Yanzuo Lu, Manlin Zhang, Andy J Ma, Xiaohua Xie, Jian-Huang Lai
IEEE / CVF Computer Vision and Pattern Recognition Conference (CVPR), June 17-21, 2024, Seattle, USA

qualitative

TL;DR

If you want to cite and compare with out method, please download the generated images from Google Drive here. (Including 256x176, 512x352 on DeepFashion, and 128x64 on Market-1501)

pipeline

News🔥🔥🔥

  • 2024/02/27  Our paper titled "Coarse-to-Fine Latent Diffusion for Pose-Guided Person Image Synthesis" is accepted by CVPR 2024.
  • 2024/02/28  We release the code and upload the arXiv preprint.
  • 2024/03/09  The checkpoints on DeepFashion dataset is released on Google Drive.
  • 2024/03/09  We note that the file naming used by different open source codes can be extremely confusing. To facilitate future work, we have organized the generated images of several methods that we used for qualitative comparisons in the paper. They were uniformly resized to 256X176 or 512x352, stored as png files and used the same naming format. Enjoy!🤗
  • 2024/03/20  We upload the jupyter notebook for inference/reasoning. You could modify it as you want, e.g. replacing the conditional image with your customized one and randomly sampling a target pose from the test dataset.
  • 2024/04/05  Our paper is accepted as CVPR 2024 Highlight!!!
  • 2024/04/10  The camera-ready version is available on arXiv now. The supplementary material with more discussions and results was added.

Preparation

Install Environment

conda env create -f environment.yaml

Download DeepFashion Dataset

  • Download Img/img_highres.zip from the In-shop Clothes Retrieval Benchmark of DeepFashion, unzip it under ./fashion directory. (Password would be required, please contact the authors of DeepFashion (not us!!!) for permission.)
  • Download train/test pairs and keypoints from DPTN, put them under ./fashion directory.
  • Make sure the tree of ./fashion directory is as follows.
    fashion
    ├── fashion-resize-annotation-test.csv
    ├── fashion-resize-annotation-train.csv
    ├── fashion-resize-pairs-test.csv
    ├── fashion-resize-pairs-train.csv
    ├── MEN
    ├── test.lst
    ├── train.lst
    └── WOMEN
    
  • Run generate_fashion_datasets.py with python.

Download Pre-trained Models

Training

For multi-gpu, run the following command by default.

bash scripts/multi_gpu/pose_transfer_train.sh 0,1,2,3,4,5,6,7

For single-gpu, run the following command by default.

bash scripts/single_gpu/pose_transfer_train.sh 0

For ablation studies, run the following command by example to specify configs.

bash scripts/multi_gpu/pose_transfer_train.sh 0,1,2,3,4,5,6,7 --config_file configs/ablation_study/no_app.yaml

Inference

For multi-gpu, run the following command by example to specify checkpoints.

bash scripts/multi_gpu/pose_transfer_test.sh 0,1,2,3,4,5,6,7 MODEL.PRETRAINED_PATH checkpoints

For single-gpu, run the following command by example to specify checkpoints.

bash scripts/single_gpu/pose_transfer_test.sh 0 MODEL.PRETRAINED_PATH checkpoints

Citation

@inproceedings{lu2024coarse,
  title={Coarse-to-Fine Latent Diffusion for Pose-Guided Person Image Synthesis},
  author={Lu, Yanzuo and Zhang, Manlin and Ma, Andy J and Xie, Xiaohua and Lai, Jian-Huang},
  booktitle={CVPR},
  year={2024}
}

探索相关项目

加载中…