Update README.md
Browse files
README.md
CHANGED
|
@@ -3,20 +3,53 @@ license: cc-by-nc-sa-4.0
|
|
| 3 |
---
|
| 4 |
|
| 5 |
|
| 6 |
-
# 🐈 CatVTON: Concatenation Is All You Need for Virtual Try-On with Diffusion Models
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
**CatVTON** is a simple and efficient virtual try-on diffusion model with ***1) Lightweight Network (899.06M parameters totally)***, ***2) Parameter-Efficient Training (49.57M parameters trainable)*** and ***3) Simplified Inference (< 8G VRAM for 1024X768 resolution)***.
|
| 14 |
|
| 15 |
|
| 16 |
## Updates
|
| 17 |
-
- **`2024/7/
|
| 18 |
-
- **`2024/7/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Inference
|
| 22 |
### Data Preparation
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
|
| 6 |
+
# <center> 🐈 CatVTON: Concatenation Is All You Need for Virtual Try-On with Diffusion Models
|
| 7 |
|
| 8 |
+
<!-- <p align="center"> -->
|
| 9 |
+
<div style="display: flex; justify-content: center; align-items: center;">
|
| 10 |
+
<a href="https://github.com/Zheng-Chong/CatVTON" style="margin: 0 5px;">
|
| 11 |
+
<img src='https://img.shields.io/badge/arXiv-Paper(soon)-red?style=flat&logo=arXiv&logoColor=red' alt='arxiv'>
|
| 12 |
+
</a>
|
| 13 |
+
<a href="http://120.76.142.206:8888" style="margin: 0 5px;">
|
| 14 |
+
<img src='https://img.shields.io/badge/Demo-Gradio-orange?style=flat&logo=Gradio&logoColor=red' alt='Demo'>
|
| 15 |
+
</a>
|
| 16 |
+
<a href='https://huggingface.co/zhengchong/CatVTON' style="margin: 0 5px;">
|
| 17 |
+
<img src='https://img.shields.io/badge/Hugging Face-ckpts-orange?style=flat&logo=HuggingFace&logoColor=orange' alt='huggingface'>
|
| 18 |
+
</a>
|
| 19 |
+
<a href="https://github.com/Zheng-Chong/CatVTON" style="margin: 0 5px;">
|
| 20 |
+
<img src='https://img.shields.io/badge/GitHub-Repo-blue?style=flat&logo=GitHub' alt='GitHub'>
|
| 21 |
+
</a>
|
| 22 |
+
<a href="https://github.com/Zheng-Chong/CatVTON/LICENCE" style="margin: 0 5px;">
|
| 23 |
+
<img src='https://img.shields.io/badge/License-CC BY--NC--SA--4.0-lightgreen?style=flat&logo=Lisence' alt='License'>
|
| 24 |
+
</a>
|
| 25 |
+
<!-- </p> -->
|
| 26 |
+
</div>
|
| 27 |
|
| 28 |
+
<div align="center">
|
| 29 |
+
<img src="resource/img/teaser.jpg" width="100%" height="100%"/>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
<!-- This repository is the official implementation of ***CatVTON: Concatenation Is All You Need for Virtual Try-On with Diffsuion Models***. -->
|
| 33 |
|
| 34 |
**CatVTON** is a simple and efficient virtual try-on diffusion model with ***1) Lightweight Network (899.06M parameters totally)***, ***2) Parameter-Efficient Training (49.57M parameters trainable)*** and ***3) Simplified Inference (< 8G VRAM for 1024X768 resolution)***.
|
| 35 |
|
| 36 |
|
| 37 |
## Updates
|
| 38 |
+
- **`2024/7/22`**: Our [**App Code**](https://github.com/Zheng-Chong/CatVTON/blob/main/app.py) is released, deploy and enjoy CatVTON on your own mechine 🎉!
|
| 39 |
+
- **`2024/7/21`**: Our [**Inference Code**](https://github.com/Zheng-Chong/CatVTON/blob/main/inference.py) and [**Weights** 🤗](https://huggingface.co/zhengchong/CatVTON) are released.
|
| 40 |
+
- **`2024/7/11`**: Our [**Online Demo**](http://120.76.142.206:8888) is released 😁.
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
## Deployment (Gradio App)
|
| 44 |
+
To deploy the Gradio App for CatVTON on your own mechine, just run the following command, and checkpoints will be automaticly download from HuggingFace.
|
| 45 |
|
| 46 |
+
```PowerShell
|
| 47 |
+
CUDA_VISIBLE_DEVICES=0 python app.py \
|
| 48 |
+
--output_dir="resource/demo/output" \
|
| 49 |
+
--mixed_precision="bf16" \
|
| 50 |
+
--allow_tf32
|
| 51 |
+
```
|
| 52 |
+
When using `bf16` precision, generating results with a resolution of `1024x768` only requires about `8G` VRAM.
|
| 53 |
|
| 54 |
## Inference
|
| 55 |
### Data Preparation
|