313 lines
5.2 KiB
JSON
313 lines
5.2 KiB
JSON
{
|
|
"last_node_id": 41,
|
|
"last_link_id": 64,
|
|
"nodes": [
|
|
{
|
|
"id": 6,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-55,
|
|
-484
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
59
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "IMAGE"
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [],
|
|
"slot_index": 1,
|
|
"shape": 3,
|
|
"label": "MASK"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"微信图片_20240912144707.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 38,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
512,
|
|
-419
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 26
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 63,
|
|
"label": "mask"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
57
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "IMAGE"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "MaskToImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "SapiensLoader",
|
|
"pos": [
|
|
-55,
|
|
-782
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 274
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL_SAPIEN",
|
|
"links": [
|
|
58
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "model"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "SapiensLoader"
|
|
},
|
|
"widgets_values": [
|
|
"seg\\sapiens_1b_goliath_best_goliath_mIoU_7994_epoch_151_torchscript.pt2",
|
|
"none",
|
|
"none",
|
|
"none",
|
|
"float32_torch",
|
|
0.5,
|
|
true,
|
|
false,
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 40,
|
|
"type": "SapiensSampler",
|
|
"pos": [
|
|
409.2584067519914,
|
|
-739.4856963469326
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 234
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL_SAPIEN",
|
|
"link": 58
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 59
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "seg_img",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
64
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "depth_img",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "normal_img",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "pose_img",
|
|
"type": "IMAGE",
|
|
"links": [],
|
|
"slot_index": 3,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": [
|
|
63
|
|
],
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "SapiensSampler"
|
|
},
|
|
"widgets_values": [
|
|
"2.Face_Neck",
|
|
"",
|
|
255,
|
|
255,
|
|
255
|
|
]
|
|
},
|
|
{
|
|
"id": 39,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
809,
|
|
-532
|
|
],
|
|
"size": {
|
|
"0": 500.7451477050781,
|
|
"1": 393.9142150878906
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 57,
|
|
"label": "images"
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"ComfyUI"
|
|
]
|
|
},
|
|
{
|
|
"id": 41,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
798,
|
|
-881
|
|
],
|
|
"size": [
|
|
491.30797836671377,
|
|
299.00551828056723
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 64
|
|
}
|
|
],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"ComfyUI"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
57,
|
|
38,
|
|
0,
|
|
39,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
58,
|
|
10,
|
|
0,
|
|
40,
|
|
0,
|
|
"MODEL_SAPIEN"
|
|
],
|
|
[
|
|
59,
|
|
6,
|
|
0,
|
|
40,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
63,
|
|
40,
|
|
4,
|
|
38,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
64,
|
|
40,
|
|
0,
|
|
41,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.9229599817706502,
|
|
"offset": [
|
|
291.5839658330699,
|
|
994.5800840436584
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |