Views
No views yet
2024/08/10: Our 🤗 HuggingFace Space is available now! Thanks for the grant from ZeroGPU!2024/08/09: Evaluation code is provided to calculate metrics 📚.2024/07/27: We provide code and workflow for deploying CatVTON on ComfyUI 💥.2024/07/24: Our Paper on ArXiv is available 🥳!2024/07/22: Our App Code is released, deploy and enjoy CatVTON on your mechine 🎉!2024/07/21: Our Inference Code and Weights 🤗 are released.2024/07/11: Our Online Demo is released 😁.custom_nodes of ComfyUI and our workflow JSON files.ComfyUI-CatVTON.zip and unzip it in the custom_nodes folder under your ComfyUI project (clone from ComfyUI).catvton_workflow.json and drag it into you ComfyUI webpage and enjoy 😆!Problems under Windows OS, please refer to issue#8.
1CUDA_VISIBLE_DEVICES=0 python app.py \
2--output_dir="resource/demo/output" \
3--mixed_precision="bf16" \
4--allow_tf32 bf16 precision, generating results with a resolution of 1024x768 only requires about 8G VRAM.├── VITON-HD
| ├── test_pairs_unpaired.txt
│ ├── test
| | ├── image
│ │ │ ├── [000006_00.jpg | 000008_00.jpg | ...]
│ │ ├── cloth
│ │ │ ├── [000006_00.jpg | 000008_00.jpg | ...]
│ │ ├── agnostic-mask
│ │ │ ├── [000006_00_mask.png | 000008_00.png | ...]
...agnostic_masks folders under each category.├── DressCode
| ├── test_pairs_paired.txt
| ├── test_pairs_unpaired.txt
│ ├── [dresses | lower_body | upper_body]
| | ├── test_pairs_paired.txt
| | ├── test_pairs_unpaired.txt
│ │ ├── images
│ │ │ ├── [013563_0.jpg | 013563_1.jpg | 013564_0.jpg | 013564_1.jpg | ...]
│ │ ├── agnostic_masks
│ │ │ ├── [013563_0.png| 013564_0.png | ...]
...1CUDA_VISIBLE_DEVICES=0 python inference.py \
2--dataset [dresscode | vitonhd] \
3--data_root_path <path> \
4--output_dir <path>
5--dataloader_num_workers 8 \
6--batch_size 8 \
7--seed 555 \
8--mixed_precision [no | fp16 | bf16] \
9--allow_tf32 \
10--repaint \
11--eval_pair 1CUDA_VISIBLE_DEVICES=0 python eval.py \
2--gt_folder <your_path_to_gt_image_folder> \
3--pred_folder <your_path_to_predicted_image_folder> \
4--paired \
5--batch_size=16 \
6--num_workers=16 --gt_folder and --pred_folder should be folders that contain only images.--paired; for an unpaired setting, simply omit it.--batch_size and --num_workers should be adjusted based on your machine.1@misc{chong2024catvtonconcatenationneedvirtual,
2 title={CatVTON: Concatenation Is All You Need for Virtual Try-On with Diffusion Models},
3 author={Zheng Chong and Xiao Dong and Haoxiang Li and Shiyue Zhang and Wenqing Zhang and Xujie Zhang and Hanqing Zhao and Xiaodan Liang},
4 year={2024},
5 eprint={2407.15886},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV},
8 url={https://arxiv.org/abs/2407.15886},
9}