Skip to content

Abdokamal1532/WearCast_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

304 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WearCast

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

  • 🤗 Hugging Face link for checkpoints (wearcast, 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)

demo  workflow 

Installation

  1. Clone the repository
git clone https://github.com/Abdokamal1532/WearCast_AI
  1. Create a conda environment and install the required packages
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

Quick Start (Gradio UI)

To launch the interactive Men's Virtual Try-On interface locally:

cd run
python gradio_wearcast.py

Open http://localhost:7865 in your browser!

Command Line Inference

  1. Men's Half-body model
cd run
python run_wearcast.py --model_path <model-image-path> --cloth_path <cloth-image-path> --scale 2.0 --sample 4

Star History

Star History Chart

TODO List

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors