|
{ |
|
"last_node_id": 21, |
|
"last_link_id": 17, |
|
"nodes": [ |
|
{ |
|
"id": 1, |
|
"type": "LoadImage", |
|
"pos": [ |
|
23, |
|
48 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 314 |
|
}, |
|
"flags": {}, |
|
"order": 0, |
|
"mode": 4, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
2 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"01495.jpeg", |
|
"image" |
|
], |
|
"color": "#223", |
|
"bgcolor": "#335" |
|
}, |
|
{ |
|
"id": 7, |
|
"type": "LoadImage", |
|
"pos": [ |
|
28, |
|
421 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 314 |
|
}, |
|
"flags": {}, |
|
"order": 1, |
|
"mode": 4, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
3 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"01495.jpeg", |
|
"image" |
|
], |
|
"color": "#223", |
|
"bgcolor": "#335" |
|
}, |
|
{ |
|
"id": 8, |
|
"type": "LoadImage", |
|
"pos": [ |
|
363, |
|
50 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 314 |
|
}, |
|
"flags": {}, |
|
"order": 2, |
|
"mode": 4, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
4 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"01495.jpeg", |
|
"image" |
|
], |
|
"color": "#223", |
|
"bgcolor": "#335" |
|
}, |
|
{ |
|
"id": 9, |
|
"type": "LoadImage", |
|
"pos": [ |
|
363, |
|
425 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 314 |
|
}, |
|
"flags": {}, |
|
"order": 3, |
|
"mode": 4, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
5 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"01495.jpeg", |
|
"image" |
|
], |
|
"color": "#223", |
|
"bgcolor": "#335" |
|
}, |
|
{ |
|
"id": 11, |
|
"type": "ImpactMakeImageBatch", |
|
"pos": [ |
|
696, |
|
50 |
|
], |
|
"size": { |
|
"0": 140, |
|
"1": 106 |
|
}, |
|
"flags": {}, |
|
"order": 9, |
|
"mode": 4, |
|
"inputs": [ |
|
{ |
|
"name": "image1", |
|
"type": "IMAGE", |
|
"link": 2 |
|
}, |
|
{ |
|
"name": "image2", |
|
"type": "IMAGE", |
|
"link": 3 |
|
}, |
|
{ |
|
"name": "image3", |
|
"type": "IMAGE", |
|
"link": 4 |
|
}, |
|
{ |
|
"name": "image4", |
|
"type": "IMAGE", |
|
"link": 5 |
|
}, |
|
{ |
|
"name": "image5", |
|
"type": "IMAGE", |
|
"link": null |
|
} |
|
], |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
6 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ImpactMakeImageBatch" |
|
}, |
|
"color": "#223", |
|
"bgcolor": "#335" |
|
}, |
|
{ |
|
"id": 3, |
|
"type": "ReActorRestoreFace", |
|
"pos": [ |
|
1144.8680883990842, |
|
51.75206111876437 |
|
], |
|
"size": { |
|
"0": 277.0273742675781, |
|
"1": 130 |
|
}, |
|
"flags": {}, |
|
"order": 13, |
|
"mode": 0, |
|
"inputs": [ |
|
{ |
|
"name": "image", |
|
"type": "IMAGE", |
|
"link": 9 |
|
} |
|
], |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
12 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ReActorRestoreFace" |
|
}, |
|
"widgets_values": [ |
|
"retinaface_resnet50", |
|
"GFPGANv1.4.pth", |
|
1, |
|
0.5 |
|
] |
|
}, |
|
{ |
|
"id": 2, |
|
"type": "ReActorBuildFaceModel", |
|
"pos": [ |
|
2062, |
|
57 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 106 |
|
}, |
|
"flags": {}, |
|
"order": 16, |
|
"mode": 0, |
|
"inputs": [ |
|
{ |
|
"name": "images", |
|
"type": "IMAGE", |
|
"link": 17 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ReActorBuildFaceModel" |
|
}, |
|
"widgets_values": [ |
|
false, |
|
"default", |
|
"Mean" |
|
], |
|
"color": "#432", |
|
"bgcolor": "#653" |
|
}, |
|
{ |
|
"id": 15, |
|
"type": "PreviewImage", |
|
"pos": [ |
|
1890.6750244140621, |
|
830.4697412109372 |
|
], |
|
"size": { |
|
"0": 466.5325927734375, |
|
"1": 444.37750244140625 |
|
}, |
|
"flags": {}, |
|
"order": 12, |
|
"mode": 4, |
|
"inputs": [ |
|
{ |
|
"name": "images", |
|
"type": "IMAGE", |
|
"link": 15 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "PreviewImage" |
|
} |
|
}, |
|
{ |
|
"id": 5, |
|
"type": "ReActorFaceSwap", |
|
"pos": [ |
|
1556.6750244140621, |
|
831.4697412109372 |
|
], |
|
"size": { |
|
"0": 315, |
|
"1": 338 |
|
}, |
|
"flags": {}, |
|
"order": 10, |
|
"mode": 4, |
|
"inputs": [ |
|
{ |
|
"name": "input_image", |
|
"type": "IMAGE", |
|
"link": null |
|
}, |
|
{ |
|
"name": "source_image", |
|
"type": "IMAGE", |
|
"link": 16, |
|
"slot_index": 1 |
|
}, |
|
{ |
|
"name": "face_model", |
|
"type": "FACE_MODEL", |
|
"link": 1, |
|
"slot_index": 2 |
|
} |
|
], |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
15 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "FACE_MODEL", |
|
"type": "FACE_MODEL", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ReActorFaceSwap" |
|
}, |
|
"widgets_values": [ |
|
true, |
|
"inswapper_128.onnx", |
|
"retinaface_resnet50", |
|
"none", |
|
1, |
|
0.5, |
|
"no", |
|
"no", |
|
"0", |
|
"0", |
|
1 |
|
] |
|
}, |
|
{ |
|
"id": 6, |
|
"type": "ReActorLoadFaceModel", |
|
"pos": [ |
|
1197.6750244140621, |
|
1223.4697412109376 |
|
], |
|
"size": { |
|
"0": 341.61993408203125, |
|
"1": 58 |
|
}, |
|
"flags": {}, |
|
"order": 4, |
|
"mode": 4, |
|
"outputs": [ |
|
{ |
|
"name": "FACE_MODEL", |
|
"type": "FACE_MODEL", |
|
"links": [ |
|
1 |
|
], |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ReActorLoadFaceModel" |
|
}, |
|
"widgets_values": [ |
|
"Christina Agulera 1999.safetensors" |
|
] |
|
}, |
|
{ |
|
"id": 14, |
|
"type": "LoadImage", |
|
"pos": [ |
|
1196.6750244140621, |
|
833.4697412109372 |
|
], |
|
"size": { |
|
"0": 338.1474609375, |
|
"1": 333.7865905761719 |
|
}, |
|
"flags": {}, |
|
"order": 5, |
|
"mode": 4, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
16 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImage" |
|
}, |
|
"widgets_values": [ |
|
"01495.jpeg", |
|
"image" |
|
] |
|
}, |
|
{ |
|
"id": 21, |
|
"type": "Note", |
|
"pos": [ |
|
-476, |
|
2 |
|
], |
|
"size": { |
|
"0": 446.18719482421875, |
|
"1": 1307.30126953125 |
|
}, |
|
"flags": {}, |
|
"order": 6, |
|
"mode": 0, |
|
"properties": { |
|
"text": "" |
|
}, |
|
"widgets_values": [ |
|
"!. Set up a manual batch or load a directory batch\n2. Set the switch accordingly.\n3. Enable/Disable batch face restore.\n4. Select good images from preview chooser.\n5. Click \"Progress selected images\".\n\n\nThings to note:\n\n- Make sure build blended face model is turned on and configured when saving the model.\n\n- Load image batch from dir can be configured to only load x amount of images, also it can be configured to start at x image.\n\n- Batch Face Restore is for fixing up input images." |
|
], |
|
"color": "#432", |
|
"bgcolor": "#653" |
|
}, |
|
{ |
|
"id": 18, |
|
"type": "Fast Groups Bypasser (rgthree)", |
|
"pos": { |
|
"0": 867, |
|
"1": 794, |
|
"2": 0, |
|
"3": 0, |
|
"4": 0, |
|
"5": 0, |
|
"6": 0, |
|
"7": 0, |
|
"8": 0, |
|
"9": 0 |
|
}, |
|
"size": { |
|
"0": 295.37652587890625, |
|
"1": 130 |
|
}, |
|
"flags": {}, |
|
"order": 7, |
|
"mode": 0, |
|
"inputs": [], |
|
"outputs": [ |
|
{ |
|
"name": "OPT_CONNECTION", |
|
"type": "*", |
|
"links": null |
|
} |
|
], |
|
"properties": { |
|
"matchColors": "", |
|
"matchTitle": "", |
|
"showNav": true, |
|
"sort": "position", |
|
"customSortAlphabet": "", |
|
"toggleRestriction": "default" |
|
} |
|
}, |
|
{ |
|
"id": 20, |
|
"type": "PreviewImage", |
|
"pos": [ |
|
1455, |
|
48 |
|
], |
|
"size": { |
|
"0": 595.501953125, |
|
"1": 147.55606079101562 |
|
}, |
|
"flags": {}, |
|
"order": 15, |
|
"mode": 0, |
|
"inputs": [ |
|
{ |
|
"name": "images", |
|
"type": "IMAGE", |
|
"link": 14 |
|
} |
|
], |
|
"title": "Images in final model", |
|
"properties": { |
|
"Node name for S&R": "PreviewImage" |
|
} |
|
}, |
|
{ |
|
"id": 19, |
|
"type": "Preview Chooser", |
|
"pos": [ |
|
865, |
|
238 |
|
], |
|
"size": { |
|
"0": 1514.490478515625, |
|
"1": 493.0169982910156 |
|
}, |
|
"flags": {}, |
|
"order": 14, |
|
"mode": 0, |
|
"inputs": [ |
|
{ |
|
"name": "images", |
|
"type": "IMAGE", |
|
"link": 12 |
|
}, |
|
{ |
|
"name": "latents", |
|
"type": "LATENT", |
|
"link": null |
|
} |
|
], |
|
"outputs": [ |
|
{ |
|
"name": "images", |
|
"type": "IMAGE", |
|
"links": [ |
|
14, |
|
17 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "latent", |
|
"type": "LATENT", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "Preview Chooser" |
|
}, |
|
"widgets_values": [ |
|
"Always pause", |
|
1, |
|
"", |
|
"" |
|
] |
|
}, |
|
{ |
|
"id": 10, |
|
"type": "LoadImagesFromDir //Inspire", |
|
"pos": [ |
|
29, |
|
861 |
|
], |
|
"size": { |
|
"0": 799.1774291992188, |
|
"1": 170 |
|
}, |
|
"flags": {}, |
|
"order": 8, |
|
"mode": 0, |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
7 |
|
], |
|
"shape": 3, |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "MASK", |
|
"type": "MASK", |
|
"links": null, |
|
"shape": 3 |
|
}, |
|
{ |
|
"name": "INT", |
|
"type": "INT", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "LoadImagesFromDir //Inspire" |
|
}, |
|
"widgets_values": [ |
|
"", |
|
0, |
|
0, |
|
false |
|
] |
|
}, |
|
{ |
|
"id": 12, |
|
"type": "ImpactSwitch", |
|
"pos": [ |
|
901, |
|
53 |
|
], |
|
"size": { |
|
"0": 210, |
|
"1": 122 |
|
}, |
|
"flags": {}, |
|
"order": 11, |
|
"mode": 0, |
|
"inputs": [ |
|
{ |
|
"name": "input1", |
|
"type": "IMAGE", |
|
"link": 6, |
|
"label": "4-in" |
|
}, |
|
{ |
|
"name": "input2", |
|
"type": "IMAGE", |
|
"link": 7, |
|
"label": "directory" |
|
}, |
|
{ |
|
"name": "input3", |
|
"type": "IMAGE", |
|
"link": null |
|
} |
|
], |
|
"outputs": [ |
|
{ |
|
"name": "IMAGE", |
|
"type": "IMAGE", |
|
"links": [ |
|
9 |
|
], |
|
"shape": 3, |
|
"label": "IMAGE", |
|
"slot_index": 0 |
|
}, |
|
{ |
|
"name": "selected_label", |
|
"type": "STRING", |
|
"links": null, |
|
"shape": 3 |
|
}, |
|
{ |
|
"name": "selected_index", |
|
"type": "INT", |
|
"links": null, |
|
"shape": 3 |
|
} |
|
], |
|
"properties": { |
|
"Node name for S&R": "ImpactSwitch" |
|
}, |
|
"widgets_values": [ |
|
1, |
|
false |
|
], |
|
"color": "#432", |
|
"bgcolor": "#653" |
|
} |
|
], |
|
"links": [ |
|
[ |
|
1, |
|
6, |
|
0, |
|
5, |
|
2, |
|
"FACE_MODEL" |
|
], |
|
[ |
|
2, |
|
1, |
|
0, |
|
11, |
|
0, |
|
"IMAGE" |
|
], |
|
[ |
|
3, |
|
7, |
|
0, |
|
11, |
|
1, |
|
"IMAGE" |
|
], |
|
[ |
|
4, |
|
8, |
|
0, |
|
11, |
|
2, |
|
"IMAGE" |
|
], |
|
[ |
|
5, |
|
9, |
|
0, |
|
11, |
|
3, |
|
"IMAGE" |
|
], |
|
[ |
|
6, |
|
11, |
|
0, |
|
12, |
|
0, |
|
"*" |
|
], |
|
[ |
|
7, |
|
10, |
|
0, |
|
12, |
|
1, |
|
"IMAGE" |
|
], |
|
[ |
|
9, |
|
12, |
|
0, |
|
3, |
|
0, |
|
"IMAGE" |
|
], |
|
[ |
|
12, |
|
3, |
|
0, |
|
19, |
|
0, |
|
"IMAGE" |
|
], |
|
[ |
|
14, |
|
19, |
|
0, |
|
20, |
|
0, |
|
"IMAGE" |
|
], |
|
[ |
|
15, |
|
5, |
|
0, |
|
15, |
|
0, |
|
"IMAGE" |
|
], |
|
[ |
|
16, |
|
14, |
|
0, |
|
5, |
|
1, |
|
"IMAGE" |
|
], |
|
[ |
|
17, |
|
19, |
|
0, |
|
2, |
|
0, |
|
"IMAGE" |
|
] |
|
], |
|
"groups": [ |
|
{ |
|
"title": "Manual Batch", |
|
"bounding": [ |
|
13, |
|
-26, |
|
833, |
|
775 |
|
], |
|
"color": "#3f789e", |
|
"font_size": 24, |
|
"locked": false |
|
}, |
|
{ |
|
"title": "Directory Batch", |
|
"bounding": [ |
|
11, |
|
768, |
|
839, |
|
290 |
|
], |
|
"color": "#3f789e", |
|
"font_size": 24, |
|
"locked": false |
|
}, |
|
{ |
|
"title": "Batch Face Restore", |
|
"bounding": [ |
|
1136, |
|
-22, |
|
297, |
|
214 |
|
], |
|
"color": "#3f789e", |
|
"font_size": 24, |
|
"locked": false |
|
}, |
|
{ |
|
"title": "Model Test", |
|
"bounding": [ |
|
1180, |
|
746, |
|
1195, |
|
548 |
|
], |
|
"color": "#3f789e", |
|
"font_size": 24, |
|
"locked": false |
|
} |
|
], |
|
"config": {}, |
|
"extra": { |
|
"0246.VERSION": [ |
|
0, |
|
0, |
|
4 |
|
], |
|
"groupNodes": {} |
|
}, |
|
"version": 0.4 |
|
} |