callable-lipsync 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- callable_lipsync/__init__.py +93 -0
- callable_lipsync/__main__.py +32 -0
- callable_lipsync/arkit.py +115 -0
- callable_lipsync/data/arkit/arkit.bin +0 -0
- callable_lipsync/data/arkit/arkit.json +388 -0
- callable_lipsync/data/nano/fe.onnx +0 -0
- callable_lipsync/data/nano/meta.json +167 -0
- callable_lipsync/data/nano/out.onnx +0 -0
- callable_lipsync/data/nano/s0.onnx +0 -0
- callable_lipsync/data/nano/s1.onnx +0 -0
- callable_lipsync/data/nano/t0.onnx +0 -0
- callable_lipsync/data/nano/t1.onnx +0 -0
- callable_lipsync/data/nano/t2.onnx +0 -0
- callable_lipsync/data/nano/t3.onnx +0 -0
- callable_lipsync/data/nano/t4.onnx +0 -0
- callable_lipsync/data/tiny/aud.onnx +0 -0
- callable_lipsync/data/tiny/ctx.onnx +0 -0
- callable_lipsync/data/tiny/digit.onnx +0 -0
- callable_lipsync/data/tiny/face.onnx +0 -0
- callable_lipsync/data/tiny/fe.onnx +0 -0
- callable_lipsync/data/tiny/gru.onnx +0 -0
- callable_lipsync/data/tiny/head.onnx +0 -0
- callable_lipsync/data/tiny/meta.json +242 -0
- callable_lipsync/data/tiny/open.onnx +0 -0
- callable_lipsync/data/tiny/s0.onnx +0 -0
- callable_lipsync/data/tiny/s1.onnx +0 -0
- callable_lipsync/data/tiny/t0.onnx +0 -0
- callable_lipsync/data/tiny/t1.onnx +0 -0
- callable_lipsync/data/tiny/t2.onnx +0 -0
- callable_lipsync/data/tiny/t3.onnx +0 -0
- callable_lipsync/data/tiny/t4.onnx +0 -0
- callable_lipsync/data/tiny/t5.onnx +0 -0
- callable_lipsync/data/tiny/tables.bin +0 -0
- callable_lipsync/data/tiny/vqdec.onnx +0 -0
- callable_lipsync/engine.py +281 -0
- callable_lipsync-0.1.0.dist-info/METADATA +311 -0
- callable_lipsync-0.1.0.dist-info/RECORD +41 -0
- callable_lipsync-0.1.0.dist-info/WHEEL +4 -0
- callable_lipsync-0.1.0.dist-info/entry_points.txt +2 -0
- callable_lipsync-0.1.0.dist-info/licenses/LICENSE +202 -0
- callable_lipsync-0.1.0.dist-info/licenses/NOTICE +4 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "nano",
|
|
3
|
+
"width": 256,
|
|
4
|
+
"future": 4,
|
|
5
|
+
"trunk": [
|
|
6
|
+
{
|
|
7
|
+
"d": 1,
|
|
8
|
+
"ahead": true
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"d": 1,
|
|
12
|
+
"ahead": true
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"d": 2,
|
|
16
|
+
"ahead": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"d": 4,
|
|
20
|
+
"ahead": false
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"d": 8,
|
|
24
|
+
"ahead": false
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"slow": [
|
|
28
|
+
{
|
|
29
|
+
"d": 16,
|
|
30
|
+
"ahead": false
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"d": 32,
|
|
34
|
+
"ahead": false
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"graphs": [
|
|
38
|
+
"fe",
|
|
39
|
+
"t0",
|
|
40
|
+
"t1",
|
|
41
|
+
"t2",
|
|
42
|
+
"t3",
|
|
43
|
+
"t4",
|
|
44
|
+
"s0",
|
|
45
|
+
"s1",
|
|
46
|
+
"out"
|
|
47
|
+
],
|
|
48
|
+
"sizes": {
|
|
49
|
+
"fe": 558998,
|
|
50
|
+
"t0": 271541,
|
|
51
|
+
"t1": 271541,
|
|
52
|
+
"t2": 271541,
|
|
53
|
+
"t3": 271541,
|
|
54
|
+
"t4": 271541,
|
|
55
|
+
"s0": 271541,
|
|
56
|
+
"s1": 271541,
|
|
57
|
+
"out": 55167
|
|
58
|
+
},
|
|
59
|
+
"parameters": 2413131,
|
|
60
|
+
"closed": [
|
|
61
|
+
0.4138,
|
|
62
|
+
0.33489,
|
|
63
|
+
-0.3368,
|
|
64
|
+
0.09675,
|
|
65
|
+
0.00607,
|
|
66
|
+
-0.55695,
|
|
67
|
+
-0.37703,
|
|
68
|
+
0.01843,
|
|
69
|
+
-0.02044,
|
|
70
|
+
0.86619,
|
|
71
|
+
-0.97922,
|
|
72
|
+
0.45282,
|
|
73
|
+
-0.68631,
|
|
74
|
+
1.28287,
|
|
75
|
+
-0.13649,
|
|
76
|
+
0.45017,
|
|
77
|
+
0.94643,
|
|
78
|
+
0.64615,
|
|
79
|
+
0.45883,
|
|
80
|
+
-0.33155,
|
|
81
|
+
-0.61549,
|
|
82
|
+
-0.33136,
|
|
83
|
+
1.35277,
|
|
84
|
+
1.36587,
|
|
85
|
+
-0.10786,
|
|
86
|
+
0.46177,
|
|
87
|
+
1.25608,
|
|
88
|
+
-0.88247,
|
|
89
|
+
-0.86653,
|
|
90
|
+
0.45006,
|
|
91
|
+
-0.33583,
|
|
92
|
+
0.01077,
|
|
93
|
+
-0.80284,
|
|
94
|
+
0.45997,
|
|
95
|
+
0.21943,
|
|
96
|
+
-0.07291,
|
|
97
|
+
1.24197,
|
|
98
|
+
-0.96254,
|
|
99
|
+
0.63517,
|
|
100
|
+
0.70392,
|
|
101
|
+
0.13618,
|
|
102
|
+
0.93516,
|
|
103
|
+
-0.89464,
|
|
104
|
+
0.11208,
|
|
105
|
+
0.02111,
|
|
106
|
+
0.01218,
|
|
107
|
+
-0.1093,
|
|
108
|
+
-0.26935,
|
|
109
|
+
-0.08945,
|
|
110
|
+
-0.21824,
|
|
111
|
+
-0.02019,
|
|
112
|
+
-0.70579,
|
|
113
|
+
1.35447,
|
|
114
|
+
-0.26872,
|
|
115
|
+
-0.02716,
|
|
116
|
+
-0.10547,
|
|
117
|
+
0.18593,
|
|
118
|
+
-0.59771,
|
|
119
|
+
0.91076,
|
|
120
|
+
0.60052,
|
|
121
|
+
-0.2243,
|
|
122
|
+
0.56634,
|
|
123
|
+
-0.53009,
|
|
124
|
+
0.58586,
|
|
125
|
+
0.67672,
|
|
126
|
+
1.48208,
|
|
127
|
+
-0.96631,
|
|
128
|
+
1.3783,
|
|
129
|
+
-0.37744,
|
|
130
|
+
-1.2175,
|
|
131
|
+
0.28821,
|
|
132
|
+
2.25358,
|
|
133
|
+
0.52892,
|
|
134
|
+
0.32943,
|
|
135
|
+
0.38256,
|
|
136
|
+
-0.33527,
|
|
137
|
+
-1.20599,
|
|
138
|
+
0.76937,
|
|
139
|
+
-1.01569,
|
|
140
|
+
-0.73589,
|
|
141
|
+
-0.85044,
|
|
142
|
+
0.37135,
|
|
143
|
+
-1.96905,
|
|
144
|
+
0.92213,
|
|
145
|
+
0.74648,
|
|
146
|
+
0.35459,
|
|
147
|
+
-0.24638,
|
|
148
|
+
-0.78414,
|
|
149
|
+
0.66994,
|
|
150
|
+
-1.06629,
|
|
151
|
+
1.11468,
|
|
152
|
+
-0.76202,
|
|
153
|
+
-0.1096,
|
|
154
|
+
0.77591,
|
|
155
|
+
-0.9625,
|
|
156
|
+
0.36305,
|
|
157
|
+
0.68262,
|
|
158
|
+
-0.56101,
|
|
159
|
+
0.9727,
|
|
160
|
+
-1.04824,
|
|
161
|
+
0.01061,
|
|
162
|
+
0.01184,
|
|
163
|
+
-0.01487
|
|
164
|
+
],
|
|
165
|
+
"bytes": 2514952,
|
|
166
|
+
"weights": 2413692
|
|
167
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
{
|
|
2
|
+
"width": 384,
|
|
3
|
+
"future": 4,
|
|
4
|
+
"trunk": [
|
|
5
|
+
{
|
|
6
|
+
"d": 1,
|
|
7
|
+
"ahead": true
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"d": 1,
|
|
11
|
+
"ahead": true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"d": 2,
|
|
15
|
+
"ahead": true
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"d": 4,
|
|
19
|
+
"ahead": false
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"d": 8,
|
|
23
|
+
"ahead": false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"d": 16,
|
|
27
|
+
"ahead": false
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"slow": [
|
|
31
|
+
{
|
|
32
|
+
"d": 16,
|
|
33
|
+
"ahead": false
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"d": 32,
|
|
37
|
+
"ahead": false
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"graphs": [
|
|
41
|
+
"fe",
|
|
42
|
+
"face",
|
|
43
|
+
"t0",
|
|
44
|
+
"t1",
|
|
45
|
+
"t2",
|
|
46
|
+
"t3",
|
|
47
|
+
"t4",
|
|
48
|
+
"t5",
|
|
49
|
+
"s0",
|
|
50
|
+
"s1",
|
|
51
|
+
"head",
|
|
52
|
+
"aud",
|
|
53
|
+
"ctx",
|
|
54
|
+
"gru",
|
|
55
|
+
"digit",
|
|
56
|
+
"vqdec",
|
|
57
|
+
"open"
|
|
58
|
+
],
|
|
59
|
+
"stride": 4,
|
|
60
|
+
"look": 12,
|
|
61
|
+
"hid": 384,
|
|
62
|
+
"dim": 12,
|
|
63
|
+
"Lm": 7,
|
|
64
|
+
"Z": 16,
|
|
65
|
+
"bank": 5,
|
|
66
|
+
"half": [
|
|
67
|
+
3,
|
|
68
|
+
2,
|
|
69
|
+
2,
|
|
70
|
+
2,
|
|
71
|
+
3,
|
|
72
|
+
2,
|
|
73
|
+
2,
|
|
74
|
+
2,
|
|
75
|
+
3,
|
|
76
|
+
2,
|
|
77
|
+
2,
|
|
78
|
+
2
|
|
79
|
+
],
|
|
80
|
+
"levels": [
|
|
81
|
+
7,
|
|
82
|
+
5,
|
|
83
|
+
5,
|
|
84
|
+
5,
|
|
85
|
+
7,
|
|
86
|
+
5,
|
|
87
|
+
5,
|
|
88
|
+
5,
|
|
89
|
+
7,
|
|
90
|
+
5,
|
|
91
|
+
5,
|
|
92
|
+
5
|
|
93
|
+
],
|
|
94
|
+
"ahid": 256,
|
|
95
|
+
"dec_blocks": 16,
|
|
96
|
+
"blink": {
|
|
97
|
+
"pre": 3,
|
|
98
|
+
"len": 12,
|
|
99
|
+
"gap": 12,
|
|
100
|
+
"since": 16
|
|
101
|
+
},
|
|
102
|
+
"tables": {
|
|
103
|
+
"dig": {
|
|
104
|
+
"offset": 0,
|
|
105
|
+
"shape": [
|
|
106
|
+
84,
|
|
107
|
+
384
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"template": {
|
|
111
|
+
"offset": 129024,
|
|
112
|
+
"shape": [
|
|
113
|
+
12,
|
|
114
|
+
16
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"sizes": {
|
|
119
|
+
"fe": 1242960,
|
|
120
|
+
"face": 54979,
|
|
121
|
+
"t0": 604429,
|
|
122
|
+
"t1": 604429,
|
|
123
|
+
"t2": 604429,
|
|
124
|
+
"t3": 604429,
|
|
125
|
+
"t4": 604429,
|
|
126
|
+
"t5": 604429,
|
|
127
|
+
"s0": 604429,
|
|
128
|
+
"s1": 604429,
|
|
129
|
+
"head": 337362,
|
|
130
|
+
"aud": 3776332,
|
|
131
|
+
"ctx": 3690124,
|
|
132
|
+
"gru": 1831631,
|
|
133
|
+
"digit": 188788,
|
|
134
|
+
"vqdec": 1247500,
|
|
135
|
+
"open": 16575
|
|
136
|
+
},
|
|
137
|
+
"bytes": 17351475,
|
|
138
|
+
"weights": 16783676,
|
|
139
|
+
"closed": [
|
|
140
|
+
0.32372,
|
|
141
|
+
-0.40672,
|
|
142
|
+
0.80443,
|
|
143
|
+
0.65625,
|
|
144
|
+
-0.02431,
|
|
145
|
+
-0.05116,
|
|
146
|
+
-0.32057,
|
|
147
|
+
0.22645,
|
|
148
|
+
0.06698,
|
|
149
|
+
0.11343,
|
|
150
|
+
-0.09137,
|
|
151
|
+
0.47634,
|
|
152
|
+
0.33889,
|
|
153
|
+
-0.32135,
|
|
154
|
+
1.18131,
|
|
155
|
+
0.26825,
|
|
156
|
+
-0.76044,
|
|
157
|
+
0.22286,
|
|
158
|
+
-0.35561,
|
|
159
|
+
0.30724,
|
|
160
|
+
0.68739,
|
|
161
|
+
0.32786,
|
|
162
|
+
-1.06215,
|
|
163
|
+
0.01589,
|
|
164
|
+
0.33912,
|
|
165
|
+
-0.16813,
|
|
166
|
+
0.05992,
|
|
167
|
+
0.22669,
|
|
168
|
+
-0.31436,
|
|
169
|
+
0.09272,
|
|
170
|
+
0.3707,
|
|
171
|
+
-0.01047,
|
|
172
|
+
0.68421,
|
|
173
|
+
-0.63408,
|
|
174
|
+
0.52862,
|
|
175
|
+
0.25297,
|
|
176
|
+
0.1041,
|
|
177
|
+
0.21416,
|
|
178
|
+
0.65377,
|
|
179
|
+
0.48541,
|
|
180
|
+
0.24403,
|
|
181
|
+
-0.25131,
|
|
182
|
+
0.02323,
|
|
183
|
+
-0.00183,
|
|
184
|
+
0.1703,
|
|
185
|
+
0.39554,
|
|
186
|
+
0.07816,
|
|
187
|
+
0.97458,
|
|
188
|
+
-0.14527,
|
|
189
|
+
-0.34835,
|
|
190
|
+
-0.60204,
|
|
191
|
+
-0.07069,
|
|
192
|
+
-0.49988,
|
|
193
|
+
-0.15466,
|
|
194
|
+
-0.39886,
|
|
195
|
+
-0.06866,
|
|
196
|
+
-0.09133,
|
|
197
|
+
-0.16293,
|
|
198
|
+
-0.28366,
|
|
199
|
+
-0.35244,
|
|
200
|
+
-0.07937,
|
|
201
|
+
-0.18829,
|
|
202
|
+
-0.00821,
|
|
203
|
+
0.05115,
|
|
204
|
+
0.22495,
|
|
205
|
+
-0.07864,
|
|
206
|
+
0.45224,
|
|
207
|
+
-0.20912,
|
|
208
|
+
-0.08714,
|
|
209
|
+
0.02002,
|
|
210
|
+
-0.13961,
|
|
211
|
+
-0.04774,
|
|
212
|
+
0.02376,
|
|
213
|
+
-0.31311,
|
|
214
|
+
-0.02922,
|
|
215
|
+
-0.14896,
|
|
216
|
+
0.30277,
|
|
217
|
+
0.0212,
|
|
218
|
+
0.22179,
|
|
219
|
+
-0.23891,
|
|
220
|
+
-0.0221,
|
|
221
|
+
0.19825,
|
|
222
|
+
-0.31135,
|
|
223
|
+
-0.37591,
|
|
224
|
+
-0.09598,
|
|
225
|
+
-0.05536,
|
|
226
|
+
0.05144,
|
|
227
|
+
-0.15361,
|
|
228
|
+
0.04098,
|
|
229
|
+
0.22925,
|
|
230
|
+
0.19922,
|
|
231
|
+
0.1853,
|
|
232
|
+
0.2685,
|
|
233
|
+
0.22176,
|
|
234
|
+
-0.02718,
|
|
235
|
+
-0.41167,
|
|
236
|
+
0.02827,
|
|
237
|
+
-0.11665,
|
|
238
|
+
-0.29651,
|
|
239
|
+
0.29122,
|
|
240
|
+
-0.00052
|
|
241
|
+
]
|
|
242
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|