The official repository of the paper: "TryOffAnyone: Tiled Cloth Generation from a Dressed Person".
Clone the repository, install the required packages:
git clone https://github.com/ixarchakos/try-off-anyone.git
cd try-off-anyone
python3 -m pip install -r requirements.txt
Download the model from:
in "try-off-anyone/ckpt/"
The provided model only works for upper clothes similar to the ones in VITON-HD
Execute TryOffAnyone on any image url
python3 main.py --inference --url="https://cdn11.bigcommerce.com/s-405b0/images/stencil/590x590/products/97/20409/8000-gildan-tee-t-shirt.ca-model__66081.1724276210.jpg"
the output is saved in "try-off-anyone/data/"
- Download the original VITON-HD dataset
and extract it to "try-off-anyone/data/"
- Download the cloth image masks from: https://huggingface.co/ixarchakos/tryOffAnyone/blob/main/masks.zip
and save them in "try-off-anyone/data/zalando-hd-resized/test/"
Evaluate TryOffAnyone on VITON-HD:
python3 main.py --test
If you find this repository useful in your research, please consider giving a star ⭐ and a citation:
@misc{xarchakos2024tryoffanyonetiledclothgeneration,
title={TryOffAnyone: Tiled Cloth Generation from a Dressed Person},
author={Ioannis Xarchakos and Theodoros Koukopoulos},
year={2024},
eprint={2412.08573},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2412.08573},
}