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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "HyperStructure",
|
3 |
+
"_diffusers_version": "0.23.1",
|
4 |
+
"input_dim": 768,
|
5 |
+
"linear_bias": true,
|
6 |
+
"structure": {
|
7 |
+
"depth": [
|
8 |
+
[
|
9 |
+
0
|
10 |
+
],
|
11 |
+
[
|
12 |
+
1
|
13 |
+
],
|
14 |
+
[
|
15 |
+
0
|
16 |
+
],
|
17 |
+
[
|
18 |
+
1
|
19 |
+
],
|
20 |
+
[
|
21 |
+
0
|
22 |
+
],
|
23 |
+
[
|
24 |
+
1
|
25 |
+
],
|
26 |
+
[
|
27 |
+
0
|
28 |
+
],
|
29 |
+
[
|
30 |
+
1
|
31 |
+
],
|
32 |
+
[
|
33 |
+
0
|
34 |
+
],
|
35 |
+
[
|
36 |
+
1
|
37 |
+
],
|
38 |
+
[
|
39 |
+
0
|
40 |
+
],
|
41 |
+
[
|
42 |
+
1
|
43 |
+
],
|
44 |
+
[
|
45 |
+
0
|
46 |
+
],
|
47 |
+
[
|
48 |
+
1
|
49 |
+
],
|
50 |
+
[
|
51 |
+
0
|
52 |
+
],
|
53 |
+
[
|
54 |
+
0
|
55 |
+
],
|
56 |
+
[
|
57 |
+
0
|
58 |
+
],
|
59 |
+
[
|
60 |
+
0
|
61 |
+
],
|
62 |
+
[
|
63 |
+
0
|
64 |
+
],
|
65 |
+
[
|
66 |
+
1
|
67 |
+
],
|
68 |
+
[
|
69 |
+
0
|
70 |
+
],
|
71 |
+
[
|
72 |
+
0
|
73 |
+
],
|
74 |
+
[
|
75 |
+
1
|
76 |
+
],
|
77 |
+
[
|
78 |
+
0
|
79 |
+
],
|
80 |
+
[
|
81 |
+
0
|
82 |
+
],
|
83 |
+
[
|
84 |
+
1
|
85 |
+
],
|
86 |
+
[
|
87 |
+
0
|
88 |
+
],
|
89 |
+
[
|
90 |
+
0
|
91 |
+
],
|
92 |
+
[
|
93 |
+
1
|
94 |
+
],
|
95 |
+
[
|
96 |
+
0
|
97 |
+
],
|
98 |
+
[
|
99 |
+
0
|
100 |
+
],
|
101 |
+
[
|
102 |
+
1
|
103 |
+
],
|
104 |
+
[
|
105 |
+
0
|
106 |
+
],
|
107 |
+
[
|
108 |
+
0
|
109 |
+
],
|
110 |
+
[
|
111 |
+
1
|
112 |
+
],
|
113 |
+
[
|
114 |
+
0
|
115 |
+
],
|
116 |
+
[
|
117 |
+
0
|
118 |
+
],
|
119 |
+
[
|
120 |
+
1
|
121 |
+
]
|
122 |
+
],
|
123 |
+
"width": [
|
124 |
+
[
|
125 |
+
32
|
126 |
+
],
|
127 |
+
[
|
128 |
+
32
|
129 |
+
],
|
130 |
+
[
|
131 |
+
5,
|
132 |
+
5,
|
133 |
+
32
|
134 |
+
],
|
135 |
+
[
|
136 |
+
5,
|
137 |
+
5,
|
138 |
+
32
|
139 |
+
],
|
140 |
+
[
|
141 |
+
32
|
142 |
+
],
|
143 |
+
[
|
144 |
+
32
|
145 |
+
],
|
146 |
+
[
|
147 |
+
10,
|
148 |
+
10,
|
149 |
+
32
|
150 |
+
],
|
151 |
+
[
|
152 |
+
10,
|
153 |
+
10,
|
154 |
+
32
|
155 |
+
],
|
156 |
+
[
|
157 |
+
32
|
158 |
+
],
|
159 |
+
[
|
160 |
+
32
|
161 |
+
],
|
162 |
+
[
|
163 |
+
20,
|
164 |
+
20,
|
165 |
+
32
|
166 |
+
],
|
167 |
+
[
|
168 |
+
20,
|
169 |
+
20,
|
170 |
+
32
|
171 |
+
],
|
172 |
+
[
|
173 |
+
32
|
174 |
+
],
|
175 |
+
[
|
176 |
+
32
|
177 |
+
],
|
178 |
+
[
|
179 |
+
32
|
180 |
+
],
|
181 |
+
[
|
182 |
+
32
|
183 |
+
],
|
184 |
+
[
|
185 |
+
20,
|
186 |
+
20,
|
187 |
+
32
|
188 |
+
],
|
189 |
+
[
|
190 |
+
32
|
191 |
+
],
|
192 |
+
[
|
193 |
+
32
|
194 |
+
],
|
195 |
+
[
|
196 |
+
32
|
197 |
+
],
|
198 |
+
[
|
199 |
+
32
|
200 |
+
],
|
201 |
+
[
|
202 |
+
32
|
203 |
+
],
|
204 |
+
[
|
205 |
+
32
|
206 |
+
],
|
207 |
+
[
|
208 |
+
20,
|
209 |
+
20,
|
210 |
+
32
|
211 |
+
],
|
212 |
+
[
|
213 |
+
20,
|
214 |
+
20,
|
215 |
+
32
|
216 |
+
],
|
217 |
+
[
|
218 |
+
20,
|
219 |
+
20,
|
220 |
+
32
|
221 |
+
],
|
222 |
+
[
|
223 |
+
32
|
224 |
+
],
|
225 |
+
[
|
226 |
+
32
|
227 |
+
],
|
228 |
+
[
|
229 |
+
32
|
230 |
+
],
|
231 |
+
[
|
232 |
+
10,
|
233 |
+
10,
|
234 |
+
32
|
235 |
+
],
|
236 |
+
[
|
237 |
+
10,
|
238 |
+
10,
|
239 |
+
32
|
240 |
+
],
|
241 |
+
[
|
242 |
+
10,
|
243 |
+
10,
|
244 |
+
32
|
245 |
+
],
|
246 |
+
[
|
247 |
+
32
|
248 |
+
],
|
249 |
+
[
|
250 |
+
32
|
251 |
+
],
|
252 |
+
[
|
253 |
+
32
|
254 |
+
],
|
255 |
+
[
|
256 |
+
5,
|
257 |
+
5,
|
258 |
+
32
|
259 |
+
],
|
260 |
+
[
|
261 |
+
5,
|
262 |
+
5,
|
263 |
+
32
|
264 |
+
],
|
265 |
+
[
|
266 |
+
5,
|
267 |
+
5,
|
268 |
+
32
|
269 |
+
]
|
270 |
+
]
|
271 |
+
},
|
272 |
+
"wn_flag": false
|
273 |
+
}
|
APTP-Base-COCO/hypernet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0d50512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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StructureVectorQuantizer",
|
3 |
+
"_diffusers_version": "0.23.1",
|
4 |
+
"base": 3,
|
5 |
+
"beta": 0.25,
|
6 |
+
"depth_order": [
|
7 |
+
-1,
|
8 |
+
-2,
|
9 |
+
0,
|
10 |
+
1,
|
11 |
+
-3,
|
12 |
+
-4,
|
13 |
+
2,
|
14 |
+
3,
|
15 |
+
-5,
|
16 |
+
-6,
|
17 |
+
4,
|
18 |
+
5,
|
19 |
+
-7,
|
20 |
+
6
|
21 |
+
],
|
22 |
+
"n_e": 8,
|
23 |
+
"non_zero_width": true,
|
24 |
+
"remap": null,
|
25 |
+
"resource_aware_normalization": false,
|
26 |
+
"sane_index_shape": true,
|
27 |
+
"sinkhorn_epsilon": 0.05,
|
28 |
+
"sinkhorn_iterations": 3,
|
29 |
+
"structure": {
|
30 |
+
"depth": [
|
31 |
+
[
|
32 |
+
0
|
33 |
+
],
|
34 |
+
[
|
35 |
+
1
|
36 |
+
],
|
37 |
+
[
|
38 |
+
0
|
39 |
+
],
|
40 |
+
[
|
41 |
+
1
|
42 |
+
],
|
43 |
+
[
|
44 |
+
0
|
45 |
+
],
|
46 |
+
[
|
47 |
+
1
|
48 |
+
],
|
49 |
+
[
|
50 |
+
0
|
51 |
+
],
|
52 |
+
[
|
53 |
+
1
|
54 |
+
],
|
55 |
+
[
|
56 |
+
0
|
57 |
+
],
|
58 |
+
[
|
59 |
+
1
|
60 |
+
],
|
61 |
+
[
|
62 |
+
0
|
63 |
+
],
|
64 |
+
[
|
65 |
+
1
|
66 |
+
],
|
67 |
+
[
|
68 |
+
0
|
69 |
+
],
|
70 |
+
[
|
71 |
+
1
|
72 |
+
],
|
73 |
+
[
|
74 |
+
0
|
75 |
+
],
|
76 |
+
[
|
77 |
+
0
|
78 |
+
],
|
79 |
+
[
|
80 |
+
0
|
81 |
+
],
|
82 |
+
[
|
83 |
+
0
|
84 |
+
],
|
85 |
+
[
|
86 |
+
0
|
87 |
+
],
|
88 |
+
[
|
89 |
+
1
|
90 |
+
],
|
91 |
+
[
|
92 |
+
0
|
93 |
+
],
|
94 |
+
[
|
95 |
+
0
|
96 |
+
],
|
97 |
+
[
|
98 |
+
1
|
99 |
+
],
|
100 |
+
[
|
101 |
+
0
|
102 |
+
],
|
103 |
+
[
|
104 |
+
0
|
105 |
+
],
|
106 |
+
[
|
107 |
+
1
|
108 |
+
],
|
109 |
+
[
|
110 |
+
0
|
111 |
+
],
|
112 |
+
[
|
113 |
+
0
|
114 |
+
],
|
115 |
+
[
|
116 |
+
1
|
117 |
+
],
|
118 |
+
[
|
119 |
+
0
|
120 |
+
],
|
121 |
+
[
|
122 |
+
0
|
123 |
+
],
|
124 |
+
[
|
125 |
+
1
|
126 |
+
],
|
127 |
+
[
|
128 |
+
0
|
129 |
+
],
|
130 |
+
[
|
131 |
+
0
|
132 |
+
],
|
133 |
+
[
|
134 |
+
1
|
135 |
+
],
|
136 |
+
[
|
137 |
+
0
|
138 |
+
],
|
139 |
+
[
|
140 |
+
0
|
141 |
+
],
|
142 |
+
[
|
143 |
+
1
|
144 |
+
]
|
145 |
+
],
|
146 |
+
"width": [
|
147 |
+
[
|
148 |
+
32
|
149 |
+
],
|
150 |
+
[
|
151 |
+
32
|
152 |
+
],
|
153 |
+
[
|
154 |
+
5,
|
155 |
+
5,
|
156 |
+
32
|
157 |
+
],
|
158 |
+
[
|
159 |
+
5,
|
160 |
+
5,
|
161 |
+
32
|
162 |
+
],
|
163 |
+
[
|
164 |
+
32
|
165 |
+
],
|
166 |
+
[
|
167 |
+
32
|
168 |
+
],
|
169 |
+
[
|
170 |
+
10,
|
171 |
+
10,
|
172 |
+
32
|
173 |
+
],
|
174 |
+
[
|
175 |
+
10,
|
176 |
+
10,
|
177 |
+
32
|
178 |
+
],
|
179 |
+
[
|
180 |
+
32
|
181 |
+
],
|
182 |
+
[
|
183 |
+
32
|
184 |
+
],
|
185 |
+
[
|
186 |
+
20,
|
187 |
+
20,
|
188 |
+
32
|
189 |
+
],
|
190 |
+
[
|
191 |
+
20,
|
192 |
+
20,
|
193 |
+
32
|
194 |
+
],
|
195 |
+
[
|
196 |
+
32
|
197 |
+
],
|
198 |
+
[
|
199 |
+
32
|
200 |
+
],
|
201 |
+
[
|
202 |
+
32
|
203 |
+
],
|
204 |
+
[
|
205 |
+
32
|
206 |
+
],
|
207 |
+
[
|
208 |
+
20,
|
209 |
+
20,
|
210 |
+
32
|
211 |
+
],
|
212 |
+
[
|
213 |
+
32
|
214 |
+
],
|
215 |
+
[
|
216 |
+
32
|
217 |
+
],
|
218 |
+
[
|
219 |
+
32
|
220 |
+
],
|
221 |
+
[
|
222 |
+
32
|
223 |
+
],
|
224 |
+
[
|
225 |
+
32
|
226 |
+
],
|
227 |
+
[
|
228 |
+
32
|
229 |
+
],
|
230 |
+
[
|
231 |
+
20,
|
232 |
+
20,
|
233 |
+
32
|
234 |
+
],
|
235 |
+
[
|
236 |
+
20,
|
237 |
+
20,
|
238 |
+
32
|
239 |
+
],
|
240 |
+
[
|
241 |
+
20,
|
242 |
+
20,
|
243 |
+
32
|
244 |
+
],
|
245 |
+
[
|
246 |
+
32
|
247 |
+
],
|
248 |
+
[
|
249 |
+
32
|
250 |
+
],
|
251 |
+
[
|
252 |
+
32
|
253 |
+
],
|
254 |
+
[
|
255 |
+
10,
|
256 |
+
10,
|
257 |
+
32
|
258 |
+
],
|
259 |
+
[
|
260 |
+
10,
|
261 |
+
10,
|
262 |
+
32
|
263 |
+
],
|
264 |
+
[
|
265 |
+
10,
|
266 |
+
10,
|
267 |
+
32
|
268 |
+
],
|
269 |
+
[
|
270 |
+
32
|
271 |
+
],
|
272 |
+
[
|
273 |
+
32
|
274 |
+
],
|
275 |
+
[
|
276 |
+
32
|
277 |
+
],
|
278 |
+
[
|
279 |
+
5,
|
280 |
+
5,
|
281 |
+
32
|
282 |
+
],
|
283 |
+
[
|
284 |
+
5,
|
285 |
+
5,
|
286 |
+
32
|
287 |
+
],
|
288 |
+
[
|
289 |
+
5,
|
290 |
+
5,
|
291 |
+
32
|
292 |
+
]
|
293 |
+
]
|
294 |
+
},
|
295 |
+
"temperature": 0.4,
|
296 |
+
"unknown_index": "random"
|
297 |
+
}
|
APTP-Base-COCO/quantizer/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6317f8e71d9612fd9249707821334ab019e492e5bfe01a8417b6732ca74896f1
|
3 |
+
size 103880
|