https://github.com/chflame163/ComfyUI_CatVTON_Wrapper
CatVTON warpper for ComfyUI
https://github.com/chflame163/ComfyUI_CatVTON_Wrapper
Last synced: 6 months ago
JSON representation
CatVTON warpper for ComfyUI
- Host: GitHub
- URL: https://github.com/chflame163/ComfyUI_CatVTON_Wrapper
- Owner: chflame163
- Created: 2024-07-30T05:25:32.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-17T14:26:42.000Z (10 months ago)
- Last Synced: 2024-08-17T15:37:58.801Z (10 months ago)
- Language: Jupyter Notebook
- Size: 3.15 MB
- Stars: 96
- Watchers: 1
- Forks: 15
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI_CatVTON_Wrapper** - Chong/CatVTON) warpper for ComfyUI (All Workflows Sorted by GitHub Stars)
README
# ComfyUI_CatVTON_Wrapper
CatVTON warpper for ComfyUI. fixed the cropping issue of images with different proportions input.
Original repo: [https://github.com/Zheng-Chong/CatVTON](https://github.com/Zheng-Chong/CatVTON)
It is recommend use 6G or higher VRAM NVidia GPU device to run.

### Install Plugin
Open the cmd window in the plugin directory of ComfyUI, like ComfyUI\custom_nodes,type:
```
git clone https://github.com/chflame163/ComfyUI_CatVTON_Wrapper.git
```### Install Dependency Packages
Open the cmd window in the ComfyUI_CatVTON_Wrapper plugin directory like ComfyUI\custom_ Nodes\ComfyUI_CatVTON_Wrapper and enter the following command,For ComfyUI official portable package, type:
```
..\..\..\python_embeded\python.exe -s -m pip install -r requirements.txt
```
For Aki ComfyUI package, type:
```
..\..\python\python.exe -s -m pip install -r requirements.txt
```
### Download Models
Download all model files from [BaiduNetdisk](https://pan.baidu.com/s/1xbL5evB6iiav3QozsL0fJQ?pwd=06nv) or [GoogleDrive](https://drive.google.com/drive/folders/1TJNNql7UfDPVgHJuItDDjowycN5jpC5o?usp=sharing) and copy to ```ComtyUI/models/CatVTON``` directory.### Example Workflow
The example workflow files is in the workflow directory.### Node Options

* image: The input image.
* mask: The mask of input image, clothing within the mask range will be repaint.
* refer_image: The reference image of repaint clothing.
* mask_grow: The size of the mask expansion. If the repaint clothing style is incorrect, try adjusting this value.
* mixed_precision: fp32, fp16, bf16 can be selected, the model will run under the selected data type.
* seed: The random seed of sampler.
* steps: The number of steps of sampler.
* cfg: The cfg strength of the diffusion model.### Statement
Please refer to the original project license to authorization agreement.