-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathliveportait.json
93 lines (93 loc) · 1.71 KB
/
liveportait.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"1": {
"inputs": {
"precision": "fp16",
"mode": "human"
},
"class_type": "DownloadAndLoadLivePortraitModels"
},
"189": {
"inputs": {
"dsize": 512,
"scale": 2.34,
"vx_ratio": 0.099,
"vy_ratio": 0.148,
"face_index": 0,
"face_index_order": "large-small",
"rotate": false,
"pipeline": [
"1",
0
],
"cropper": [
"204",
0
],
"source_image": [
"196",
0
]
},
"class_type": "LivePortraitCropper"
},
"190": {
"inputs": {
"lip_zero": false,
"lip_zero_threshold": 0.03,
"stitching": true,
"delta_multiplier": 1,
"mismatch_method": "constant",
"relative_motion_mode": "single_frame",
"driving_smooth_observation_variance": 0.000003,
"expression_friendly": false,
"expression_friendly_multiplier": 1,
"pipeline": [
"1",
0
],
"crop_info": [
"189",
1
],
"source_image": [
"196",
0
],
"driving_images": [
"210",
0
]
},
"class_type": "LivePortraitProcess"
},
"196": {
"inputs": {
"image": "s7.jpg",
"upload": "image"
},
"class_type": "LoadImage"
},
"198": {
"inputs": {
"images": [
"190",
0
]
},
"class_type": "PreviewImage"
},
"204": {
"inputs": {
"landmarkrunner_onnx_device": "torch_gpu",
"keep_model_loaded": true
},
"class_type": "LivePortraitLoadMediaPipeCropper"
},
"210": {
"inputs": {
"image": "sampled_frame_2.jpg",
"upload": "image"
},
"class_type": "PrimaryInputLoadImage"
}
}