Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: diffusers
|
3 |
+
license: cc-by-nc-2.0
|
4 |
+
base_model:
|
5 |
+
- black-forest-labs/FLUX.1-Fill-dev
|
6 |
+
pipeline_tag: image-to-image
|
7 |
+
tags:
|
8 |
+
- tryon
|
9 |
+
- vto
|
10 |
+
---
|
11 |
+
# Model Card for CATVTON-Flux
|
12 |
+
|
13 |
+
CATVTON-Flux is an advanced virtual try-on solution that combines CATVTON (Contrastive Appearance and Topology Virtual Try-On) with Flux fill inpainting model for realistic and accurate clothing transfer.
|
14 |
+
## Model Details
|
15 |
+
|
16 |
+
### Model Description
|
17 |
+
|
18 |
+
<!-- Provide a longer summary of what this model is. -->
|
19 |
+
|
20 |
+
- **Developed by:** [X/Twitter:Black Magic An](https://x.com/MrsZaaa)
|
21 |
+
|
22 |
+
### Model Sources [optional]
|
23 |
+
|
24 |
+
<!-- Provide the basic links for the model. -->
|
25 |
+
|
26 |
+
- **Repository:** [github](https://github.com/nftblackmagic/catvton-flux)
|
27 |
+
|
28 |
+
## Uses
|
29 |
+
|
30 |
+
The model is designed for virtual try-on applications, allowing users to visualize how different garments would look on a person. It can be used directly through command-line interface with the following parameters:
|
31 |
+
|
32 |
+
Input person image
|
33 |
+
Person mask
|
34 |
+
Garment image
|
35 |
+
Random seed (optional)
|
36 |
+
|
37 |
+
## How to Get Started with the Model
|
38 |
+
|
39 |
+
```
|
40 |
+
transformer = FluxTransformer2DModel.from_pretrained(
|
41 |
+
"xiaozaa/catvton-flux-beta",
|
42 |
+
torch_dtype=torch.bfloat16
|
43 |
+
)
|
44 |
+
pipe = FluxFillPipeline.from_pretrained(
|
45 |
+
"black-forest-labs/FLUX.1-dev",
|
46 |
+
transformer=transformer,
|
47 |
+
torch_dtype=torch.bfloat16
|
48 |
+
).to("cuda")
|
49 |
+
```
|
50 |
+
|
51 |
+
## Training Details
|
52 |
+
|
53 |
+
### Training Data
|
54 |
+
|
55 |
+
dresscode dataset
|
56 |
+
|
57 |
+
### Training Procedure
|
58 |
+
|
59 |
+
Finetuning Flux1-dev-fill
|
60 |
+
|
61 |
+
|
62 |
+
## Evaluation
|
63 |
+
|
64 |
+
### Results
|
65 |
+
|
66 |
+
[More Information Needed]
|
67 |
+
|
68 |
+
#### Summary
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
**BibTeX:**
|
73 |
+
```
|
74 |
+
@misc{chong2024catvtonconcatenationneedvirtual,
|
75 |
+
title={CatVTON: Concatenation Is All You Need for Virtual Try-On with Diffusion Models},
|
76 |
+
author={Zheng Chong and Xiao Dong and Haoxiang Li and Shiyue Zhang and Wenqing Zhang and Xujie Zhang and Hanqing Zhao and Xiaodan Liang},
|
77 |
+
year={2024},
|
78 |
+
eprint={2407.15886},
|
79 |
+
archivePrefix={arXiv},
|
80 |
+
primaryClass={cs.CV},
|
81 |
+
url={https://arxiv.org/abs/2407.15886},
|
82 |
+
}
|
83 |
+
@article{lhhuang2024iclora,
|
84 |
+
title={In-Context LoRA for Diffusion Transformers},
|
85 |
+
author={Huang, Lianghua and Wang, Wei and Wu, Zhi-Fan and Shi, Yupeng and Dou, Huanzhang and Liang, Chen and Feng, Yutong and Liu, Yu and Zhou, Jingren},
|
86 |
+
journal={arXiv preprint arxiv:2410.23775},
|
87 |
+
year={2024}
|
88 |
+
}
|
89 |
+
```
|