Add new workflow and test dataset updates

This commit is contained in:
SnowNight1 2024-12-04 12:27:58 +09:00
parent 3a36d18b30
commit d30645bebe
33 changed files with 323 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,7 +1,5 @@
__pycache__/
*.py[cod]
/output/
/input/
!/input/example.png
/models/
/temp/

BIN
input/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
input/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 KiB

BIN
input/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

BIN
input/5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

BIN
input/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 KiB

BIN
input/7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

BIN
input/8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

BIN
input/TEST.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB

BIN
input/girl.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

BIN
input/panda_t_shirt.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
input/x6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 376 KiB

BIN
input/x7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

BIN
output/ComfyUI_00001_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
output/ComfyUI_00002_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
output/ComfyUI_00003_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
output/ComfyUI_00004_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
output/ComfyUI_00005_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
output/ComfyUI_00006_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
output/ComfyUI_00007_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
output/ComfyUI_00012_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 KiB

BIN
output/ComfyUI_00013_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

BIN
output/ComfyUI_00014_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 KiB

BIN
output/ComfyUI_00015_.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 KiB

View File

@ -0,0 +1,323 @@
{
"last_node_id": 13,
"last_link_id": 18,
"nodes": [
{
"id": 2,
"type": "LoadImage",
"pos": {
"0": 283,
"1": 153
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1,
16
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"girl.jpg",
"image"
]
},
{
"id": 8,
"type": "PreviewImage",
"pos": {
"0": 1647,
"1": 159
},
"size": {
"0": 530.576171875,
"1": 734.8110961914062
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 1,
"type": "CatVTONWrapper",
"pos": {
"0": 1146,
"1": 161
},
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1,
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"link": 18
},
{
"name": "refer_image",
"type": "IMAGE",
"link": 7,
"slot_index": 2
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
8
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CatVTONWrapper"
},
"widgets_values": [
25,
"fp16",
491151633043877,
"randomize",
50,
3
]
},
{
"id": 11,
"type": "LayerMask: MaskPreview",
"pos": {
"0": 1141,
"1": 563
},
"size": [
323.2476717529296,
354.9690538940429
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 17
}
],
"outputs": [],
"properties": {
"Node name for S&R": "LayerMask: MaskPreview"
},
"color": "rgba(27, 80, 119, 0.7)"
},
{
"id": 13,
"type": "LayerMask: HumanPartsUltra",
"pos": {
"0": 682,
"1": 405
},
"size": {
"0": 352.79998779296875,
"1": 534
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 16
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "mask",
"type": "MASK",
"links": [
17,
18
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LayerMask: HumanPartsUltra"
},
"widgets_values": [
false,
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
"VITMatte",
8,
6,
0.01,
0.99,
true,
"cuda",
2
],
"color": "rgba(27, 80, 119, 0.7)"
},
{
"id": 7,
"type": "LoadImage",
"pos": {
"0": 285,
"1": 611
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"panda_t_shirt.jpg",
"image"
]
}
],
"links": [
[
1,
2,
0,
1,
0,
"IMAGE"
],
[
7,
7,
0,
1,
2,
"IMAGE"
],
[
8,
1,
0,
8,
0,
"IMAGE"
],
[
16,
2,
0,
13,
0,
"IMAGE"
],
[
17,
13,
1,
11,
0,
"MASK"
],
[
18,
13,
1,
1,
1,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
338.6524316406253,
290.41768908691427
]
}
},
"version": 0.4
}