update workflows

This commit is contained in:
kijai
2024-07-24 17:56:46 +03:00
parent ba0886a905
commit ad29b02bc1
3 changed files with 1798 additions and 1647 deletions
File diff suppressed because it is too large Load Diff
+202 -144
View File
@@ -1,13 +1,13 @@
{
"last_node_id": 203,
"last_link_id": 477,
"last_node_id": 208,
"last_link_id": 480,
"nodes": [
{
"id": 129,
"type": "LivePortraitLoadCropper",
"id": 204,
"type": "LivePortraitLoadMediaPipeCropper",
"pos": [
-1050,
-740
-1059,
-767
],
"size": {
"0": 315,
@@ -21,14 +21,13 @@
"name": "cropper",
"type": "LPCROPPER",
"links": [
444
478
],
"shape": 3,
"slot_index": 0
"shape": 3
}
],
"properties": {
"Node name for S&R": "LivePortraitLoadCropper"
"Node name for S&R": "LivePortraitLoadMediaPipeCropper"
},
"widgets_values": [
"CPU",
@@ -39,8 +38,8 @@
"id": 1,
"type": "DownloadAndLoadLivePortraitModels",
"pos": [
-1040,
-850
-1046,
-904
],
"size": {
"0": 302.43463134765625,
@@ -72,15 +71,15 @@
"id": 165,
"type": "ImageResizeKJ",
"pos": [
-670,
-560
-715,
-617
],
"size": {
"0": 315,
"1": 242
},
"flags": {},
"order": 4,
"order": 6,
"mode": 0,
"inputs": [
{
@@ -146,58 +145,19 @@
0
]
},
{
"id": 196,
"type": "LoadImage",
"pos": [
-1050,
-550
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
466
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"oldman.jpg",
"image"
]
},
{
"id": 78,
"type": "GetImageSizeAndCount",
"pos": [
-310,
-550
-364,
-619
],
"size": {
"0": 210,
"1": 86
},
"flags": {},
"order": 5,
"order": 7,
"mode": 0,
"inputs": [
{
@@ -224,7 +184,7 @@
"shape": 3
},
{
"name": "512 height",
"name": "384 height",
"type": "INT",
"links": null,
"shape": 3
@@ -240,19 +200,177 @@
"Node name for S&R": "GetImageSizeAndCount"
}
},
{
"id": 207,
"type": "Note",
"pos": [
-850,
-202
],
"size": [
230.3331222759989,
105.34622315856666
],
"flags": {},
"order": 2,
"mode": 0,
"properties": {
"text": ""
},
"widgets_values": [
"Example live inputs, direct webcam capture using cv2 or screencapture using mss. Both are about same speed."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 206,
"type": "Screencap_mss",
"pos": [
-568,
-34
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Screencap_mss"
},
"widgets_values": [
0,
0,
512,
512,
1,
0.1
]
},
{
"id": 198,
"type": "PreviewImage",
"pos": [
413,
-826
],
"size": {
"0": 521.2196044921875,
"1": 566.1187133789062
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 470
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 196,
"type": "LoadImage",
"pos": [
-1058,
-623
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
466
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"Mona-Lisa-oil-wood-panel-Leonardo-da.webp",
"image"
]
},
{
"id": 205,
"type": "WebcamCaptureCV2",
"pos": [
-577,
-283
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
479
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WebcamCaptureCV2"
},
"widgets_values": [
0,
0,
512,
512,
0,
false
]
},
{
"id": 190,
"type": "LivePortraitProcess",
"pos": [
563,
-418
-79,
-552
],
"size": {
"0": 430.8000183105469,
"1": 282
},
"flags": {},
"order": 7,
"order": 9,
"mode": 0,
"inputs": [
{
@@ -273,7 +391,8 @@
{
"name": "driving_images",
"type": "IMAGE",
"link": 477
"link": 479,
"slot_index": 3
},
{
"name": "opt_retargeting_info",
@@ -305,88 +424,26 @@
"widgets_values": [
false,
0.03,
false,
true,
1,
"constant",
"single_frame",
0.000003
]
},
{
"id": 198,
"type": "PreviewImage",
"pos": [
1027,
-409
],
"size": {
"0": 521.2196044921875,
"1": 566.1187133789062
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 470
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 203,
"type": "Screencap_mss",
"pos": [
5,
-277
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
477
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Screencap_mss"
},
"widgets_values": [
0,
0,
512,
512,
1,
0.1
]
},
{
"id": 189,
"type": "LivePortraitCropper",
"pos": [
-48,
-851
-73,
-876
],
"size": {
"0": 330,
"1": 242
},
"flags": {},
"order": 6,
"order": 8,
"mode": 0,
"inputs": [
{
@@ -398,7 +455,8 @@
{
"name": "cropper",
"type": "LPCROPPER",
"link": 444
"link": 478,
"slot_index": 1
},
{
"name": "source_image",
@@ -429,9 +487,9 @@
},
"widgets_values": [
512,
2.3,
0,
-0.125,
2.34,
0.099,
0.148,
0,
"large-small",
false
@@ -447,14 +505,6 @@
0,
"IMAGE"
],
[
444,
129,
0,
189,
1,
"LPCROPPER"
],
[
445,
78,
@@ -512,8 +562,16 @@
"IMAGE"
],
[
477,
203,
478,
204,
0,
189,
1,
"LPCROPPER"
],
[
479,
205,
0,
190,
3,
@@ -526,8 +584,8 @@
"ds": {
"scale": 0.7513148009015781,
"offset": {
"0": 1170.2642381365986,
"1": 992.3601372540302
"0": 1468.4081568988054,
"1": 1224.8414164288351
}
}
},
File diff suppressed because it is too large Load Diff