{ "last_node_id": 34, "last_link_id": 47, "nodes": [ { "id": 4, "type": "PreviewImage", "pos": [ 495, 145 ], "size": [ 440, 206 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 31 } ], "title": "PreviewImage - Faces", "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 18, "type": "MMDetLoader", "pos": [ 961, 149 ], "size": [ 317, 87 ], "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "BBOX_MODEL", "type": "BBOX_MODEL", "links": [ 24 ], "slot_index": 0 }, { "name": "SEGM_MODEL", "type": "SEGM_MODEL", "links": null } ], "properties": { "Node name for S&R": "MMDetLoader" }, "widgets_values": [ "bbox/mmdet_anime-face_yolov3.pth" ] }, { "id": 25, "type": "VAEDecode", "pos": [ 294, 299 ], "size": [ 177, 46 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 29 }, { "name": "vae", "type": "VAE", "link": 30 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 31 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 23, "type": "VAEEncodeForInpaint", "pos": [ 295, 147 ], "size": [ 177, 99 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 27 }, { "name": "vae", "type": "VAE", "link": 28 }, { "name": "mask", "type": "MASK", "link": 26 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 29 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncodeForInpaint" } }, { "id": 30, "type": "VAEEncodeForInpaint", "pos": [ 265, 985 ], "size": { "0": 210, "1": 66 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 36 }, { "name": "vae", "type": "VAE", "link": 35 }, { "name": "mask", "type": "MASK", "link": 34 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 37 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncodeForInpaint" } }, { "id": 28, "type": "VAEDecode", "pos": [ 265, 1104 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 37 }, { "name": "vae", "type": "VAE", "link": 38 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 39 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 9, "type": "PreviewImage", "pos": [ 495, 967 ], "size": [ 439, 193 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 39 } ], "title": "PreviewImage - Persons", "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 26, "type": "MMDetLoader", "pos": [ 961, 1079 ], "size": [ 387, 78 ], "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "BBOX_MODEL", "type": "BBOX_MODEL", "links": null, "slot_index": 0 }, { "name": "SEGM_MODEL", "type": "SEGM_MODEL", "links": [ 32 ], "slot_index": 1 } ], "properties": { "Node name for S&R": "MMDetLoader" }, "widgets_values": [ "segm/mmdet_dd-person_mask2former.pth" ] }, { "id": 27, "type": "SegmDetector", "pos": [ 963, 922 ], "size": [ 386, 102 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "segm_model", "type": "SEGM_MODEL", "link": 32 }, { "name": "image", "type": "IMAGE", "link": 33 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 34, 40 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "SegmDetector" }, "widgets_values": [ 0.5, 0 ] }, { "id": 32, "type": "VAEEncodeForInpaint", "pos": [ 1399.0002441406255, 495.19991455078116 ], "size": { "0": 210, "1": 66 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 43 }, { "name": "vae", "type": "VAE", "link": 44 }, { "name": "mask", "type": "MASK", "link": 42 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 45 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncodeForInpaint" } }, { "id": 31, "type": "BitwiseAndMask", "pos": [ 1399.0002441406255, 619.1999145507809 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "mask1", "type": "MASK", "link": 40 }, { "name": "mask2", "type": "MASK", "link": 41 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 42 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "BitwiseAndMask" } }, { "id": 33, "type": "VAEDecode", "pos": [ 1399.0002441406255, 722.1999145507809 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 45 }, { "name": "vae", "type": "VAE", "link": 46 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 47 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 34, "type": "PreviewImage", "pos": [ 1641.0002441406255, 494.19991455078116 ], "size": [ 421, 271 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 47 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 22, "type": "BboxDetector", "pos": [ 963, 276 ], "size": { "0": 315, "1": 102 }, "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "bbox_model", "type": "BBOX_MODEL", "link": 24 }, { "name": "image", "type": "IMAGE", "link": 25 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 26, 41 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "BboxDetector" }, "widgets_values": [ 0.5, 60 ] }, { "id": 24, "type": "VAELoader", "pos": [ 221, 617 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 28, 30, 35, 38, 44, 46 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "vae-ft-mse-840000-ema-pruned.safetensors" ] }, { "id": 1, "type": "LoadImage", "pos": [ 669, 498 ], "size": [ 441, 293 ], "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 25, 27, 33, 36, 43 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "slot_index": 1 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "joyouriz.png", "image" ] } ], "links": [ [ 24, 18, 0, 22, 0, "BBOX_MODEL" ], [ 25, 1, 0, 22, 1, "IMAGE" ], [ 26, 22, 0, 23, 2, "MASK" ], [ 27, 1, 0, 23, 0, "IMAGE" ], [ 28, 24, 0, 23, 1, "VAE" ], [ 29, 23, 0, 25, 0, "LATENT" ], [ 30, 24, 0, 25, 1, "VAE" ], [ 31, 25, 0, 4, 0, "IMAGE" ], [ 32, 26, 1, 27, 0, "SEGM_MODEL" ], [ 33, 1, 0, 27, 1, "IMAGE" ], [ 34, 27, 0, 30, 2, "MASK" ], [ 35, 24, 0, 30, 1, "VAE" ], [ 36, 1, 0, 30, 0, "IMAGE" ], [ 37, 30, 0, 28, 0, "LATENT" ], [ 38, 24, 0, 28, 1, "VAE" ], [ 39, 28, 0, 9, 0, "IMAGE" ], [ 40, 27, 0, 31, 0, "MASK" ], [ 41, 22, 0, 31, 1, "MASK" ], [ 42, 31, 0, 32, 2, "MASK" ], [ 43, 1, 0, 32, 0, "IMAGE" ], [ 44, 24, 0, 32, 1, "VAE" ], [ 45, 32, 0, 33, 0, "LATENT" ], [ 46, 24, 0, 33, 1, "VAE" ], [ 47, 33, 0, 34, 0, "IMAGE" ] ], "groups": [ { "title": "Face Detection", "bounding": [ 210, 15, 1130, 404 ], "color": "#3f789e" }, { "title": "Person Detection", "bounding": [ 220, 844, 1156, 367 ], "color": "#3f789e" }, { "title": "Head Mask", "bounding": [ 1350, 374, 780, 466 ], "color": "#3f789e" } ], "config": {}, "extra": {}, "version": 0.4 }