This repository is the official implementation of 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)
- Clone the repository
git clone https://github.com/Abdokamal1532/WearCast_AI- 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.txtTo launch the interactive Men's Virtual Try-On interface locally:
cd run
python gradio_wearcast.pyOpen http://localhost:7865 in your browser!
- 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- Paper
- Gradio demo
- Inference code
- Model weights
- Training code

