Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

OOTDiffusion

> 编程语言
Open source

[AAAI 2025] Official implementation of "OOTDiffusion: Outfitting Fusion based Latent Diffusion for Controllable Virtual Try-on"

6.6K stars0 likes2 views
WebsiteGitHub

About

[AAAI 2025] Official implementation of "OOTDiffusion: Outfitting Fusion based Latent Diffusion for Controllable Virtual Try-on"

OOTDiffusion

This repository is the official implementation of OOTDiffusion

Try out OOTDiffusion

(Thanks to ZeroGPU for providing A100 GPUs)

OOTDiffusion: Outfitting Fusion based Latent Diffusion for Controllable Virtual Try-on [arXiv paper]
Yuhao Xu, Tao Gu, Weifeng Chen, Chengcai Chen
Xiao-i Research

Our model checkpoints trained on VITON-HD (half-body) and Dress Code (full-body) have been released

  • Hugging Face link for checkpoints (ootd, humanparsing, and openpose)
  • We support ONNX for humanparsing now. Most environmental issues should have been addressed : )
  • Please also download clip-vit-large-patch14 into checkpoints folder
  • We've only tested our code and models on Linux (Ubuntu 22.04)

   

Installation

  1. Clone the repository
bash
git clone https://github.com/levihsu/OOTDiffusion
  1. Create a conda environment and install the required packages
bash
conda create -n ootd python==3.10
conda activate ootd
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
pip install -r requirements.txt

Inference

  1. Half-body model
bash
cd OOTDiffusion/run
python run_ootd.py --model_path <model-image-path> --cloth_path <cloth-image-path> --scale 2.0 --sample 4
  1. Full-body model

Garment category must be paired: 0 = upperbody; 1 = lowerbody; 2 = dress

bash
cd OOTDiffusion/run
python run_ootd.py --model_path <model-image-path> --cloth_path <cloth-image-path> --model_type dc --category 2 --scale 2.0 --sample 4

Citation

@article{xu2024ootdiffusion,
  title={OOTDiffusion: Outfitting Fusion based Latent Diffusion for Controllable Virtual Try-on},
  author={Xu, Yuhao and Gu, Tao and Chen, Weifeng and Chen, Chengcai},
  journal={arXiv preprint arXiv:2403.01779},
  year={2024}
}

Star History

TODO List

  • Paper
  • Gradio demo
  • Inference code
  • Model weights
  • Training code

Issues· 88 open

View all issuesOpen on GitHub
  • #198

    If I use the code to train the model with my own dataset, Can i use it for commercial or not?

    Updated Jul 26, 2026
  • #228

    Request for License Clarification

    Updated Jul 26, 2026
  • #74

    Any plans to for commercial use license?

    Updated Jul 26, 2026
  • #133

    License, can this software be used on a clothing site?

    Updated Jul 26, 2026
  • #243

    Commercial License Inquiry for OOTDiffusion

    Updated Jul 26, 2026
  • #237

    Bad inference result

    Updated Dec 22, 2025
  • #240

    遇到了文件缺失的问题,请大佬解决。

    Updated Dec 22, 2025
  • #230

    ImportError: cannot import name 'cached_download' from 'huggingface_hub' (C:\APP\anaconda3\envs\ootd\lib\site-packages\huggingface_hub\__init__.py)

    Updated Aug 22, 2025
  • #241

    inference一直卡住。。。

    Updated Jul 6, 2025
  • #239

    Ai 换装效果一般,是需要调整遮罩嘛?

    Updated Jun 19, 2025

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言