OOTDiffusion: Outfitting Fusion based Latent Diffusion for Controllable Virtual Try-on
Paper • 2403.01779 • Published • 30
How to use abdokamal/WearCast with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("abdokamal/WearCast", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This repository is the official implementation of WearCast
🤗 Try out WearCast
WearCast: High-Fidelity Men's Half-Body Virtual Try-On Based on Latent Diffusion
A highly optimized pipeline tailored specifically for Men's half-body clothing outfitting.
Our model checkpoints trained on VITON-HD (half-body) have been released
git clone https://github.com/Abdokamal1532/WearCast_AI
conda create -n wearcast python==3.10
conda activate wearcast
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
pip install -r requirements.txt
To launch the interactive Men's Virtual Try-On interface locally:
cd run
python gradio_wearcast.py
Open http://localhost:7865 in your browser!
cd run
python run_wearcast.py --model_path <model-image-path> --cloth_path <cloth-image-path> --scale 2.0 --sample 4
@article{xu2024wearcast,
title={WearCast: 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}
}