zouinkhim commited on
Commit
1a480eb
·
verified ·
1 Parent(s): 263005f

Browser finetuning: manifest finetune block (head; full/tfjs for 2D students), initializer offsets, weight maps, torch_version/exporter/opset, source_repo for 2D students

Browse files
README.md CHANGED
@@ -242,6 +242,37 @@ differs from PyTorch. A consistency check, not a re-run of F1 validation.
242
  | `setup_67/setup_67_er_8nm_in116_int8w.onnx` | 10.9 | 116³ → 28³ | 0.0902 | 0.0194 | 0.2870 |
243
  | `setup_67/setup_67_er_8nm_in116_int8w_fp16.onnx` | 10.9 | 116³ → 28³ | 0.0838 | 0.0206 | 0.2824 |
244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  ## Use in cellmap-flow serverless
246
 
247
  ONNX model → remote URL `https://huggingface.co/cellmap/onnx-web-models/resolve/main/<folder>/<file>.onnx`
 
242
  | `setup_67/setup_67_er_8nm_in116_int8w.onnx` | 10.9 | 116³ → 28³ | 0.0902 | 0.0194 | 0.2870 |
243
  | `setup_67/setup_67_er_8nm_in116_int8w_fp16.onnx` | 10.9 | 116³ → 28³ | 0.0838 | 0.0206 | 0.2824 |
244
 
245
+ ## Finetuning in the browser and PyTorch originals
246
+
247
+ Each folder's `manifest.json` has a `finetune` block listing the modes the model offers; a model without the block, or
248
+ without a mode, is not offered that mode. `source_repo` points to the PyTorch twin (`model_state_dict.pt` + module code
249
+ `model_def.py`, plus `model.ts` / `metadata.json` for the cellmap-flow server catalog); 2D students also name their
250
+ 3D teacher in `distilled_from_repo`.
251
+
252
+ - **head**: train the final 1×1 conv on frozen features (`features` tensor, `weight` / `bias` initializers).
253
+ - **full**: train the whole network with TF.js on WebGPU: `finetune/train_graph.json` (NHWC op list; parameters named as
254
+ the ONNX initializers, so `weight_map` is identity) + the reference runtime `finetune/cellmap_tfjs_train.js`.
255
+ 2D students only for now.
256
+
257
+ `finetune/initializers.json` gives every initializer's byte offset in each `.onnx` (raw_data inline, fixed shapes), so trained
258
+ weights are written back in place (as fp16 in the fp16 files) and served as before; int8w files are not writable.
259
+ In the 3D folders the Conv3d weights are split into `convs.<k>` per depth tap; `finetune/weight_map.json` maps each ONNX
260
+ initializer to its PyTorch parameter.
261
+
262
+ | folder | source_repo | modes | full: step at 556² / 300² (peak) |
263
+ |---|---|---|---|
264
+ | `setup_54` | [cellmap/mito-aff-resunet-setup-54](https://huggingface.co/cellmap/mito-aff-resunet-setup-54) | head | — |
265
+ | `setup_53` | [cellmap/mito-aff-unetiso-setup-53](https://huggingface.co/cellmap/mito-aff-unetiso-setup-53) | head | — |
266
+ | `setup_56` | [cellmap/nuc-resunet-setup-56](https://huggingface.co/cellmap/nuc-resunet-setup-56) | head | — |
267
+ | `setup_55` | [cellmap/nuc-unetiso-setup-55](https://huggingface.co/cellmap/nuc-unetiso-setup-55) | head | — |
268
+ | `setup_61` | [cellmap/nuc-resunet-setup-61](https://huggingface.co/cellmap/nuc-resunet-setup-61) | head | — |
269
+ | `setup_67` | [cellmap/er-resunet-setup-67](https://huggingface.co/cellmap/er-resunet-setup-67) | head | — |
270
+ | `setup_53_2d` | [cellmap/mito-aff-unetiso-setup-53-2d](https://huggingface.co/cellmap/mito-aff-unetiso-setup-53-2d) | head, full | 1178 ms (1.3 GB) / 294 ms (0.3 GB) |
271
+ | `setup_54_2d` | [cellmap/mito-aff-resunet-setup-54-2d](https://huggingface.co/cellmap/mito-aff-resunet-setup-54-2d) | head, full | 1919 ms (3.7 GB) / 462 ms (0.9 GB) |
272
+
273
+ Full-mode step times: TF.js 4.22 WebGPU, Chrome, Apple M-series GPU, batch 1, fp32, masked BCE + Adam (`manifest.json` → `finetune.full.spike`).
274
+
275
+
276
  ## Use in cellmap-flow serverless
277
 
278
  ONNX model → remote URL `https://huggingface.co/cellmap/onnx-web-models/resolve/main/<folder>/<file>.onnx`
setup_53/finetune/initializers.json ADDED
The diff for this file is too large to render. See raw diff
 
setup_53/finetune/weight_map.json ADDED
@@ -0,0 +1,482 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "encoder0.conv1.convs.0.weight": {
3
+ "torch": "encoder0.conv1.weight",
4
+ "transform": "[:, :, 0]"
5
+ },
6
+ "encoder0.conv1.convs.0.bias": {
7
+ "torch": "encoder0.conv1.bias",
8
+ "transform": "identity"
9
+ },
10
+ "encoder0.conv1.convs.1.weight": {
11
+ "torch": "encoder0.conv1.weight",
12
+ "transform": "[:, :, 1]"
13
+ },
14
+ "encoder0.conv1.convs.2.weight": {
15
+ "torch": "encoder0.conv1.weight",
16
+ "transform": "[:, :, 2]"
17
+ },
18
+ "encoder0.bn1.weight": {
19
+ "torch": "encoder0.bn1.weight",
20
+ "transform": "identity"
21
+ },
22
+ "encoder0.bn1.bias": {
23
+ "torch": "encoder0.bn1.bias",
24
+ "transform": "identity"
25
+ },
26
+ "encoder0.bn1.running_mean": {
27
+ "torch": "encoder0.bn1.running_mean",
28
+ "transform": "identity"
29
+ },
30
+ "encoder0.bn1.running_var": {
31
+ "torch": "encoder0.bn1.running_var",
32
+ "transform": "identity"
33
+ },
34
+ "encoder0.conv2.convs.0.weight": {
35
+ "torch": "encoder0.conv2.weight",
36
+ "transform": "[:, :, 0]"
37
+ },
38
+ "encoder0.conv2.convs.0.bias": {
39
+ "torch": "encoder0.conv2.bias",
40
+ "transform": "identity"
41
+ },
42
+ "encoder0.conv2.convs.1.weight": {
43
+ "torch": "encoder0.conv2.weight",
44
+ "transform": "[:, :, 1]"
45
+ },
46
+ "encoder0.conv2.convs.2.weight": {
47
+ "torch": "encoder0.conv2.weight",
48
+ "transform": "[:, :, 2]"
49
+ },
50
+ "encoder0.bn2.weight": {
51
+ "torch": "encoder0.bn2.weight",
52
+ "transform": "identity"
53
+ },
54
+ "encoder0.bn2.bias": {
55
+ "torch": "encoder0.bn2.bias",
56
+ "transform": "identity"
57
+ },
58
+ "encoder0.bn2.running_mean": {
59
+ "torch": "encoder0.bn2.running_mean",
60
+ "transform": "identity"
61
+ },
62
+ "encoder0.bn2.running_var": {
63
+ "torch": "encoder0.bn2.running_var",
64
+ "transform": "identity"
65
+ },
66
+ "encoder1.conv1.convs.0.weight": {
67
+ "torch": "encoder1.conv1.weight",
68
+ "transform": "[:, :, 0]"
69
+ },
70
+ "encoder1.conv1.convs.0.bias": {
71
+ "torch": "encoder1.conv1.bias",
72
+ "transform": "identity"
73
+ },
74
+ "encoder1.conv1.convs.1.weight": {
75
+ "torch": "encoder1.conv1.weight",
76
+ "transform": "[:, :, 1]"
77
+ },
78
+ "encoder1.conv1.convs.2.weight": {
79
+ "torch": "encoder1.conv1.weight",
80
+ "transform": "[:, :, 2]"
81
+ },
82
+ "encoder1.bn1.weight": {
83
+ "torch": "encoder1.bn1.weight",
84
+ "transform": "identity"
85
+ },
86
+ "encoder1.bn1.bias": {
87
+ "torch": "encoder1.bn1.bias",
88
+ "transform": "identity"
89
+ },
90
+ "encoder1.bn1.running_mean": {
91
+ "torch": "encoder1.bn1.running_mean",
92
+ "transform": "identity"
93
+ },
94
+ "encoder1.bn1.running_var": {
95
+ "torch": "encoder1.bn1.running_var",
96
+ "transform": "identity"
97
+ },
98
+ "encoder1.conv2.convs.0.weight": {
99
+ "torch": "encoder1.conv2.weight",
100
+ "transform": "[:, :, 0]"
101
+ },
102
+ "encoder1.conv2.convs.0.bias": {
103
+ "torch": "encoder1.conv2.bias",
104
+ "transform": "identity"
105
+ },
106
+ "encoder1.conv2.convs.1.weight": {
107
+ "torch": "encoder1.conv2.weight",
108
+ "transform": "[:, :, 1]"
109
+ },
110
+ "encoder1.conv2.convs.2.weight": {
111
+ "torch": "encoder1.conv2.weight",
112
+ "transform": "[:, :, 2]"
113
+ },
114
+ "encoder1.bn2.weight": {
115
+ "torch": "encoder1.bn2.weight",
116
+ "transform": "identity"
117
+ },
118
+ "encoder1.bn2.bias": {
119
+ "torch": "encoder1.bn2.bias",
120
+ "transform": "identity"
121
+ },
122
+ "encoder1.bn2.running_mean": {
123
+ "torch": "encoder1.bn2.running_mean",
124
+ "transform": "identity"
125
+ },
126
+ "encoder1.bn2.running_var": {
127
+ "torch": "encoder1.bn2.running_var",
128
+ "transform": "identity"
129
+ },
130
+ "encoder2.conv1.convs.0.weight": {
131
+ "torch": "encoder2.conv1.weight",
132
+ "transform": "[:, :, 0]"
133
+ },
134
+ "encoder2.conv1.convs.0.bias": {
135
+ "torch": "encoder2.conv1.bias",
136
+ "transform": "identity"
137
+ },
138
+ "encoder2.conv1.convs.1.weight": {
139
+ "torch": "encoder2.conv1.weight",
140
+ "transform": "[:, :, 1]"
141
+ },
142
+ "encoder2.conv1.convs.2.weight": {
143
+ "torch": "encoder2.conv1.weight",
144
+ "transform": "[:, :, 2]"
145
+ },
146
+ "encoder2.bn1.weight": {
147
+ "torch": "encoder2.bn1.weight",
148
+ "transform": "identity"
149
+ },
150
+ "encoder2.bn1.bias": {
151
+ "torch": "encoder2.bn1.bias",
152
+ "transform": "identity"
153
+ },
154
+ "encoder2.bn1.running_mean": {
155
+ "torch": "encoder2.bn1.running_mean",
156
+ "transform": "identity"
157
+ },
158
+ "encoder2.bn1.running_var": {
159
+ "torch": "encoder2.bn1.running_var",
160
+ "transform": "identity"
161
+ },
162
+ "encoder2.conv2.convs.0.weight": {
163
+ "torch": "encoder2.conv2.weight",
164
+ "transform": "[:, :, 0]"
165
+ },
166
+ "encoder2.conv2.convs.0.bias": {
167
+ "torch": "encoder2.conv2.bias",
168
+ "transform": "identity"
169
+ },
170
+ "encoder2.conv2.convs.1.weight": {
171
+ "torch": "encoder2.conv2.weight",
172
+ "transform": "[:, :, 1]"
173
+ },
174
+ "encoder2.conv2.convs.2.weight": {
175
+ "torch": "encoder2.conv2.weight",
176
+ "transform": "[:, :, 2]"
177
+ },
178
+ "encoder2.bn2.weight": {
179
+ "torch": "encoder2.bn2.weight",
180
+ "transform": "identity"
181
+ },
182
+ "encoder2.bn2.bias": {
183
+ "torch": "encoder2.bn2.bias",
184
+ "transform": "identity"
185
+ },
186
+ "encoder2.bn2.running_mean": {
187
+ "torch": "encoder2.bn2.running_mean",
188
+ "transform": "identity"
189
+ },
190
+ "encoder2.bn2.running_var": {
191
+ "torch": "encoder2.bn2.running_var",
192
+ "transform": "identity"
193
+ },
194
+ "bottleneck.conv1.convs.0.weight": {
195
+ "torch": "bottleneck.conv1.weight",
196
+ "transform": "[:, :, 0]"
197
+ },
198
+ "bottleneck.conv1.convs.0.bias": {
199
+ "torch": "bottleneck.conv1.bias",
200
+ "transform": "identity"
201
+ },
202
+ "bottleneck.conv1.convs.1.weight": {
203
+ "torch": "bottleneck.conv1.weight",
204
+ "transform": "[:, :, 1]"
205
+ },
206
+ "bottleneck.conv1.convs.2.weight": {
207
+ "torch": "bottleneck.conv1.weight",
208
+ "transform": "[:, :, 2]"
209
+ },
210
+ "bottleneck.bn1.weight": {
211
+ "torch": "bottleneck.bn1.weight",
212
+ "transform": "identity"
213
+ },
214
+ "bottleneck.bn1.bias": {
215
+ "torch": "bottleneck.bn1.bias",
216
+ "transform": "identity"
217
+ },
218
+ "bottleneck.bn1.running_mean": {
219
+ "torch": "bottleneck.bn1.running_mean",
220
+ "transform": "identity"
221
+ },
222
+ "bottleneck.bn1.running_var": {
223
+ "torch": "bottleneck.bn1.running_var",
224
+ "transform": "identity"
225
+ },
226
+ "bottleneck.conv2.convs.0.weight": {
227
+ "torch": "bottleneck.conv2.weight",
228
+ "transform": "[:, :, 0]"
229
+ },
230
+ "bottleneck.conv2.convs.0.bias": {
231
+ "torch": "bottleneck.conv2.bias",
232
+ "transform": "identity"
233
+ },
234
+ "bottleneck.conv2.convs.1.weight": {
235
+ "torch": "bottleneck.conv2.weight",
236
+ "transform": "[:, :, 1]"
237
+ },
238
+ "bottleneck.conv2.convs.2.weight": {
239
+ "torch": "bottleneck.conv2.weight",
240
+ "transform": "[:, :, 2]"
241
+ },
242
+ "bottleneck.bn2.weight": {
243
+ "torch": "bottleneck.bn2.weight",
244
+ "transform": "identity"
245
+ },
246
+ "bottleneck.bn2.bias": {
247
+ "torch": "bottleneck.bn2.bias",
248
+ "transform": "identity"
249
+ },
250
+ "bottleneck.bn2.running_mean": {
251
+ "torch": "bottleneck.bn2.running_mean",
252
+ "transform": "identity"
253
+ },
254
+ "bottleneck.bn2.running_var": {
255
+ "torch": "bottleneck.bn2.running_var",
256
+ "transform": "identity"
257
+ },
258
+ "upconv2.conv.convs.0.weight": {
259
+ "torch": "upconv2.weight",
260
+ "transform": "permute(1,2,3,4,0).reshape(Cout*8, Cin, 1, 1)"
261
+ },
262
+ "upconv2.conv.convs.0.bias": {
263
+ "torch": "upconv2.bias",
264
+ "transform": "repeat_interleave(8)"
265
+ },
266
+ "decoder2.conv1.convs.0.weight": {
267
+ "torch": "decoder2.conv1.weight",
268
+ "transform": "[:, :, 0]"
269
+ },
270
+ "decoder2.conv1.convs.0.bias": {
271
+ "torch": "decoder2.conv1.bias",
272
+ "transform": "identity"
273
+ },
274
+ "decoder2.conv1.convs.1.weight": {
275
+ "torch": "decoder2.conv1.weight",
276
+ "transform": "[:, :, 1]"
277
+ },
278
+ "decoder2.conv1.convs.2.weight": {
279
+ "torch": "decoder2.conv1.weight",
280
+ "transform": "[:, :, 2]"
281
+ },
282
+ "decoder2.bn1.weight": {
283
+ "torch": "decoder2.bn1.weight",
284
+ "transform": "identity"
285
+ },
286
+ "decoder2.bn1.bias": {
287
+ "torch": "decoder2.bn1.bias",
288
+ "transform": "identity"
289
+ },
290
+ "decoder2.bn1.running_mean": {
291
+ "torch": "decoder2.bn1.running_mean",
292
+ "transform": "identity"
293
+ },
294
+ "decoder2.bn1.running_var": {
295
+ "torch": "decoder2.bn1.running_var",
296
+ "transform": "identity"
297
+ },
298
+ "decoder2.conv2.convs.0.weight": {
299
+ "torch": "decoder2.conv2.weight",
300
+ "transform": "[:, :, 0]"
301
+ },
302
+ "decoder2.conv2.convs.0.bias": {
303
+ "torch": "decoder2.conv2.bias",
304
+ "transform": "identity"
305
+ },
306
+ "decoder2.conv2.convs.1.weight": {
307
+ "torch": "decoder2.conv2.weight",
308
+ "transform": "[:, :, 1]"
309
+ },
310
+ "decoder2.conv2.convs.2.weight": {
311
+ "torch": "decoder2.conv2.weight",
312
+ "transform": "[:, :, 2]"
313
+ },
314
+ "decoder2.bn2.weight": {
315
+ "torch": "decoder2.bn2.weight",
316
+ "transform": "identity"
317
+ },
318
+ "decoder2.bn2.bias": {
319
+ "torch": "decoder2.bn2.bias",
320
+ "transform": "identity"
321
+ },
322
+ "decoder2.bn2.running_mean": {
323
+ "torch": "decoder2.bn2.running_mean",
324
+ "transform": "identity"
325
+ },
326
+ "decoder2.bn2.running_var": {
327
+ "torch": "decoder2.bn2.running_var",
328
+ "transform": "identity"
329
+ },
330
+ "upconv1.conv.convs.0.weight": {
331
+ "torch": "upconv1.weight",
332
+ "transform": "permute(1,2,3,4,0).reshape(Cout*8, Cin, 1, 1)"
333
+ },
334
+ "upconv1.conv.convs.0.bias": {
335
+ "torch": "upconv1.bias",
336
+ "transform": "repeat_interleave(8)"
337
+ },
338
+ "decoder1.conv1.convs.0.weight": {
339
+ "torch": "decoder1.conv1.weight",
340
+ "transform": "[:, :, 0]"
341
+ },
342
+ "decoder1.conv1.convs.0.bias": {
343
+ "torch": "decoder1.conv1.bias",
344
+ "transform": "identity"
345
+ },
346
+ "decoder1.conv1.convs.1.weight": {
347
+ "torch": "decoder1.conv1.weight",
348
+ "transform": "[:, :, 1]"
349
+ },
350
+ "decoder1.conv1.convs.2.weight": {
351
+ "torch": "decoder1.conv1.weight",
352
+ "transform": "[:, :, 2]"
353
+ },
354
+ "decoder1.bn1.weight": {
355
+ "torch": "decoder1.bn1.weight",
356
+ "transform": "identity"
357
+ },
358
+ "decoder1.bn1.bias": {
359
+ "torch": "decoder1.bn1.bias",
360
+ "transform": "identity"
361
+ },
362
+ "decoder1.bn1.running_mean": {
363
+ "torch": "decoder1.bn1.running_mean",
364
+ "transform": "identity"
365
+ },
366
+ "decoder1.bn1.running_var": {
367
+ "torch": "decoder1.bn1.running_var",
368
+ "transform": "identity"
369
+ },
370
+ "decoder1.conv2.convs.0.weight": {
371
+ "torch": "decoder1.conv2.weight",
372
+ "transform": "[:, :, 0]"
373
+ },
374
+ "decoder1.conv2.convs.0.bias": {
375
+ "torch": "decoder1.conv2.bias",
376
+ "transform": "identity"
377
+ },
378
+ "decoder1.conv2.convs.1.weight": {
379
+ "torch": "decoder1.conv2.weight",
380
+ "transform": "[:, :, 1]"
381
+ },
382
+ "decoder1.conv2.convs.2.weight": {
383
+ "torch": "decoder1.conv2.weight",
384
+ "transform": "[:, :, 2]"
385
+ },
386
+ "decoder1.bn2.weight": {
387
+ "torch": "decoder1.bn2.weight",
388
+ "transform": "identity"
389
+ },
390
+ "decoder1.bn2.bias": {
391
+ "torch": "decoder1.bn2.bias",
392
+ "transform": "identity"
393
+ },
394
+ "decoder1.bn2.running_mean": {
395
+ "torch": "decoder1.bn2.running_mean",
396
+ "transform": "identity"
397
+ },
398
+ "decoder1.bn2.running_var": {
399
+ "torch": "decoder1.bn2.running_var",
400
+ "transform": "identity"
401
+ },
402
+ "upconv0.conv.convs.0.weight": {
403
+ "torch": "upconv0.weight",
404
+ "transform": "permute(1,2,3,4,0).reshape(Cout*8, Cin, 1, 1)"
405
+ },
406
+ "upconv0.conv.convs.0.bias": {
407
+ "torch": "upconv0.bias",
408
+ "transform": "repeat_interleave(8)"
409
+ },
410
+ "decoder0.conv1.convs.0.weight": {
411
+ "torch": "decoder0.conv1.weight",
412
+ "transform": "[:, :, 0]"
413
+ },
414
+ "decoder0.conv1.convs.0.bias": {
415
+ "torch": "decoder0.conv1.bias",
416
+ "transform": "identity"
417
+ },
418
+ "decoder0.conv1.convs.1.weight": {
419
+ "torch": "decoder0.conv1.weight",
420
+ "transform": "[:, :, 1]"
421
+ },
422
+ "decoder0.conv1.convs.2.weight": {
423
+ "torch": "decoder0.conv1.weight",
424
+ "transform": "[:, :, 2]"
425
+ },
426
+ "decoder0.bn1.weight": {
427
+ "torch": "decoder0.bn1.weight",
428
+ "transform": "identity"
429
+ },
430
+ "decoder0.bn1.bias": {
431
+ "torch": "decoder0.bn1.bias",
432
+ "transform": "identity"
433
+ },
434
+ "decoder0.bn1.running_mean": {
435
+ "torch": "decoder0.bn1.running_mean",
436
+ "transform": "identity"
437
+ },
438
+ "decoder0.bn1.running_var": {
439
+ "torch": "decoder0.bn1.running_var",
440
+ "transform": "identity"
441
+ },
442
+ "decoder0.conv2.convs.0.weight": {
443
+ "torch": "decoder0.conv2.weight",
444
+ "transform": "[:, :, 0]"
445
+ },
446
+ "decoder0.conv2.convs.0.bias": {
447
+ "torch": "decoder0.conv2.bias",
448
+ "transform": "identity"
449
+ },
450
+ "decoder0.conv2.convs.1.weight": {
451
+ "torch": "decoder0.conv2.weight",
452
+ "transform": "[:, :, 1]"
453
+ },
454
+ "decoder0.conv2.convs.2.weight": {
455
+ "torch": "decoder0.conv2.weight",
456
+ "transform": "[:, :, 2]"
457
+ },
458
+ "decoder0.bn2.weight": {
459
+ "torch": "decoder0.bn2.weight",
460
+ "transform": "identity"
461
+ },
462
+ "decoder0.bn2.bias": {
463
+ "torch": "decoder0.bn2.bias",
464
+ "transform": "identity"
465
+ },
466
+ "decoder0.bn2.running_mean": {
467
+ "torch": "decoder0.bn2.running_mean",
468
+ "transform": "identity"
469
+ },
470
+ "decoder0.bn2.running_var": {
471
+ "torch": "decoder0.bn2.running_var",
472
+ "transform": "identity"
473
+ },
474
+ "final_conv.convs.0.weight": {
475
+ "torch": "final_conv.weight",
476
+ "transform": "[:, :, 0]"
477
+ },
478
+ "final_conv.convs.0.bias": {
479
+ "torch": "final_conv.bias",
480
+ "transform": "identity"
481
+ }
482
+ }
setup_53/manifest.json CHANGED
@@ -178,5 +178,40 @@
178
  "ort_cpu_s": 0.76
179
  }
180
  ],
181
- "source_repo": "cellmap/mito-aff-unetiso-setup-53"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  }
 
178
  "ort_cpu_s": 0.76
179
  }
180
  ],
181
+ "source_repo": "cellmap/mito-aff-unetiso-setup-53",
182
+ "torch_version": "2.9.1",
183
+ "exporter": "torch.onnx.export (TorchScript, dynamo=False)",
184
+ "opset": 18,
185
+ "finetune": {
186
+ "head": {
187
+ "final_layer": "final_conv.convs.0",
188
+ "onnx_node": "/final_conv/convs.0/Conv",
189
+ "features": "/final_conv/Slice_output_0",
190
+ "weight": "final_conv.convs.0.weight",
191
+ "bias": "final_conv.convs.0.bias",
192
+ "in_channels": 32,
193
+ "out_channels": 3,
194
+ "activation": "none (logits)",
195
+ "files": [
196
+ "setup_53_mito_affinities_16nm_in124_fp16.onnx",
197
+ "setup_53_mito_affinities_16nm_in124_fp32.onnx",
198
+ "setup_53_mito_affinities_16nm_in140_fp16.onnx",
199
+ "setup_53_mito_affinities_16nm_in140_fp32.onnx",
200
+ "setup_53_mito_affinities_16nm_in172_fp16.onnx",
201
+ "setup_53_mito_affinities_16nm_in172_fp32.onnx"
202
+ ],
203
+ "initializers": "finetune/initializers.json",
204
+ "loss": "masked BCE on logits",
205
+ "note": "train the final 1x1 conv on frozen features",
206
+ "torch_weight": {
207
+ "torch": "final_conv.weight",
208
+ "transform": "[:, :, 0]"
209
+ },
210
+ "torch_bias": {
211
+ "torch": "final_conv.bias",
212
+ "transform": "identity"
213
+ },
214
+ "weight_map": "finetune/weight_map.json"
215
+ }
216
+ }
217
  }
setup_53_2d/finetune/cellmap_tfjs_train.js ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Reference runtime for cellmap-flow browser finetuning ("full" mode, library tfjs).
2
+ // Builds a trainable TF.js network from finetune/train_graph.json, takes its weights from the served .onnx
3
+ // (finetune/initializers.json gives the byte offset of every initializer), and writes trained weights back into
4
+ // the .onnx bytes in place, so the result is served by onnxruntime-web exactly as before.
5
+ //
6
+ // const g = await (await fetch(base + "finetune/train_graph.json")).json();
7
+ // const offs = (await (await fetch(base + "finetune/initializers.json")).json())[onnxFile];
8
+ // const onnxBytes = new Uint8Array(await (await fetch(base + onnxFile)).arrayBuffer());
9
+ // const net = buildNet(tf, g, readOnnxWeights(onnxBytes, offs, Object.keys(g.params)));
10
+ // const opt = tf.train.adam(1e-4);
11
+ // const loss = trainStep(tf, net, opt, x, target, mask); // x [1,H,W,1]; target/mask [1,H-ctx,W-ctx,C]
12
+ // const newBytes = writeOnnxWeights(onnxBytes, offs, net.exportWeights());
13
+ //
14
+ // Tensors are NHWC. ONNX conv weights [O,I,kh,kw] -> tf [kh,kw,I,O]; ConvTranspose [I,O,kh,kw] -> tf [kh,kw,O,I].
15
+
16
+ function f16ToF32(h) {
17
+ const s = (h & 0x8000) ? -1 : 1, e = (h >> 10) & 0x1f, f = h & 0x3ff;
18
+ if (e === 0) return s * Math.pow(2, -14) * (f / 1024);
19
+ if (e === 31) return f ? NaN : s * Infinity;
20
+ return s * Math.pow(2, e - 15) * (1 + f / 1024);
21
+ }
22
+ const _f = new Float32Array(1), _u = new Uint32Array(_f.buffer);
23
+ function f32ToF16(v) {
24
+ _f[0] = v; const x = _u[0];
25
+ const s = (x >>> 16) & 0x8000; let e = ((x >>> 23) & 0xff) - 112; let m = x & 0x7fffff;
26
+ if (e <= 0) { if (e < -10) return s; m |= 0x800000; const t = 14 - e; const r = (m >> t) + ((m >> (t - 1)) & 1); return s | r; }
27
+ if (e >= 31) return s | 0x7c00 | (((x >>> 23) & 0xff) === 0xff && m ? 0x200 : 0);
28
+ let r = s | (e << 10) | (m >> 13);
29
+ if (m & 0x1000) r += 1; // round half up on the dropped bits (good enough for weights)
30
+ return r;
31
+ }
32
+
33
+ export function readOnnxWeights(bytes, offs, names) {
34
+ const out = {};
35
+ for (const n of names) {
36
+ const o = offs[n];
37
+ if (!o) throw new Error(`initializer ${n} not in file`);
38
+ const dv = new DataView(bytes.buffer, bytes.byteOffset + o.offset, o.nbytes);
39
+ if (o.dtype === "float32") {
40
+ const a = new Float32Array(o.nbytes / 4);
41
+ for (let i = 0; i < a.length; i++) a[i] = dv.getFloat32(4 * i, true);
42
+ out[n] = a;
43
+ } else if (o.dtype === "float16") {
44
+ const a = new Float32Array(o.nbytes / 2);
45
+ for (let i = 0; i < a.length; i++) a[i] = f16ToF32(dv.getUint16(2 * i, true));
46
+ out[n] = a;
47
+ } else throw new Error(`${n}: dtype ${o.dtype} is not writable`);
48
+ }
49
+ return out;
50
+ }
51
+
52
+ export function writeOnnxWeights(bytes, offs, weights) {
53
+ const b = new Uint8Array(bytes); // copy
54
+ for (const [n, a] of Object.entries(weights)) {
55
+ const o = offs[n];
56
+ const dv = new DataView(b.buffer, b.byteOffset + o.offset, o.nbytes);
57
+ if (o.dtype === "float32") { if (a.length * 4 !== o.nbytes) throw new Error(n); a.forEach((v, i) => dv.setFloat32(4 * i, v, true)); }
58
+ else if (o.dtype === "float16") { if (a.length * 2 !== o.nbytes) throw new Error(n); a.forEach((v, i) => dv.setUint16(2 * i, f32ToF16(v), true)); }
59
+ else throw new Error(`${n}: dtype ${o.dtype} is not writable`);
60
+ }
61
+ return b;
62
+ }
63
+
64
+ export function buildNet(tf, graph, weights, { trainable = null } = {}) {
65
+ // trainable: optional Set of param names to train (default: graph's trainable flags); e.g. head only.
66
+ const P = {};
67
+ const kind = {};
68
+ for (const op of graph.ops) {
69
+ if (op.op === "conv") kind[op.w] = "conv";
70
+ if (op.op === "conv_t") kind[op.w] = "conv_t";
71
+ }
72
+ for (const [n, meta] of Object.entries(graph.params)) {
73
+ let t = tf.tensor(weights[n], meta.shape, "float32");
74
+ if (kind[n] === "conv") t = tf.transpose(t, [2, 3, 1, 0]);
75
+ else if (kind[n] === "conv_t") t = tf.transpose(t, [2, 3, 1, 0]);
76
+ const train = trainable ? trainable.has(n) : meta.trainable;
77
+ P[n] = train ? tf.variable(t, true) : t; // unnamed: tf variable names are global, several nets may coexist
78
+ if (train) t.dispose();
79
+ }
80
+ function forward(x) {
81
+ const T = { [graph.input]: x };
82
+ for (const op of graph.ops) {
83
+ const a = T[op.x];
84
+ let y;
85
+ switch (op.op) {
86
+ case "conv": y = tf.conv2d(a, P[op.w], op.stride, "valid"); if (op.b) y = tf.add(y, P[op.b]); break;
87
+ case "conv_t": {
88
+ const [kh, kw, o] = P[op.w].shape, [n, h, w] = a.shape;
89
+ y = tf.conv2dTranspose(a, P[op.w], [n, (h - 1) * op.stride[0] + kh, (w - 1) * op.stride[1] + kw, o], op.stride, "valid");
90
+ if (op.b) y = tf.add(y, P[op.b]); break;
91
+ }
92
+ case "maxpool": y = tf.maxPool(a, op.k, op.stride, "valid"); break;
93
+ case "bn": y = tf.batchNorm(a, P[op.mean], P[op.var], P[op.bias], P[op.scale], op.eps); break; // frozen stats
94
+ case "inorm": { const { mean, variance } = tf.moments(a, [1, 2], true);
95
+ y = tf.add(tf.mul(tf.div(tf.sub(a, mean), tf.sqrt(tf.add(variance, op.eps))), P[op.scale]), P[op.bias]); break; }
96
+ case "relu": y = tf.relu(a); break;
97
+ case "add": y = tf.add(a, T[op.x2]); break;
98
+ case "concat": y = tf.concat(op.xs.map(k => T[k]), 3); break;
99
+ case "crop": { const s = a.shape, ax = op.axis === "h" ? 1 : 2, begin = [0, 0, 0, 0], size = [-1, -1, -1, -1];
100
+ begin[ax] = op.start; size[ax] = s[ax] - op.start - op.end_margin; y = tf.slice(a, begin, size); break; }
101
+ case "upsample": { const [n, h, w, c] = a.shape, f = op.factor; // nearest = repeat; rank-3 tiles (tf has no
102
+ const yw = tf.reshape(tf.tile(tf.reshape(a, [n * h * w, 1, c]), [1, f, 1]), [n * h, 1, w * f * c]); // rank-6 tile grad)
103
+ y = tf.reshape(tf.tile(yw, [1, f, 1]), [n, h * f, w * f, c]); break; }
104
+ default: throw new Error(`op ${op.op}`);
105
+ }
106
+ T[op.y] = y;
107
+ }
108
+ return T[graph.output];
109
+ }
110
+ function exportWeights() { // back to ONNX layout, trainable params only
111
+ const out = {};
112
+ for (const [n, t] of Object.entries(P)) {
113
+ if (!(t instanceof tf.Variable)) continue;
114
+ const v = kind[n] ? tf.transpose(t, [3, 2, 0, 1]) : t;
115
+ out[n] = v.dataSync().slice();
116
+ if (v !== t) v.dispose();
117
+ }
118
+ return out;
119
+ }
120
+ const vars = Object.values(P).filter(t => t instanceof tf.Variable);
121
+ return { forward, exportWeights, vars, params: P, context: graph.context };
122
+ }
123
+
124
+ // masked BCE on logits: mean over mask>0 of max(z,0) - z*t + log(1+exp(-|z|))
125
+ export function maskedBce(tf, z, t, m) {
126
+ return tf.tidy(() => {
127
+ const l = tf.add(tf.sub(tf.relu(z), tf.mul(z, t)), tf.log1p(tf.exp(tf.neg(tf.abs(z)))));
128
+ return tf.div(tf.sum(tf.mul(l, m)), tf.maximum(tf.sum(m), 1));
129
+ });
130
+ }
131
+
132
+ export function trainStep(tf, net, opt, x, target, mask) {
133
+ return opt.minimize(() => maskedBce(tf, net.forward(x), target, mask), true, net.vars);
134
+ }
setup_53_2d/finetune/finetune_spike.html ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <meta charset="utf-8">
3
+ <title>cellmap-flow finetune spike</title>
4
+ <!-- Times one full-network training step (masked BCE on logits, Adam, batch 1, fp32) of a 2D student in TF.js WebGPU,
5
+ built from the model folder's finetune/ files, and checks the TF.js forward against onnxruntime-web.
6
+ Open over https (WebGPU needs a secure context), keep the tab in the foreground.
7
+ ?model=setup_53_2d&sizes=300,556 (repo cellmap/onnx-web-models) -->
8
+ <pre id="log">loading…</pre>
9
+ <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@4.22.0/dist/tf.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-webgpu@4.22.0/dist/tf-backend-webgpu.min.js"></script>
11
+ <script type="module">
12
+ const q = new URLSearchParams(location.search);
13
+ const model = q.get("model") || "setup_53_2d", sizes = (q.get("sizes") || "300,556").split(",").map(Number);
14
+ const repo = q.get("repo") || "https://huggingface.co/cellmap/onnx-web-models/resolve/main/";
15
+ const base = repo + model + "/";
16
+ const log = s => { document.getElementById("log").textContent += "\n" + s; console.log(s); };
17
+ const rt = await import(base + "finetune/cellmap_tfjs_train.js");
18
+ await tf.setBackend("webgpu"); await tf.ready();
19
+ const man = await (await fetch(base + "manifest.json")).json();
20
+ const graph = await (await fetch(base + "finetune/train_graph.json")).json();
21
+ const offsAll = await (await fetch(base + "finetune/initializers.json")).json();
22
+ const ort = await import("https://cdn.jsdelivr.net/npm/onnxruntime-web@1.27.0-dev.20260506-673c3320fc/dist/ort.webgpu.bundle.min.mjs");
23
+ const results = [];
24
+ for (const N of sizes) {
25
+ const file = man.variants.find(v => v.variant === "fp32" && v.input_size[1] === N)?.file;
26
+ if (!file) { log(`no fp32 file for ${N}`); continue; }
27
+ const bytes = new Uint8Array(await (await fetch(base + file)).arrayBuffer());
28
+ const net = rt.buildNet(tf, graph, rt.readOnnxWeights(bytes, offsAll[file], Object.keys(graph.params)));
29
+ const M = N - graph.context;
30
+ // forward check vs onnxruntime-web on a smooth synthetic slice
31
+ const xa = new Float32Array(N * N).map((_, i) => Math.sin(Math.floor(i / N) / 9) * Math.cos((i % N) / 13) * 0.8);
32
+ const s = await ort.InferenceSession.create(bytes, { executionProviders: ["webgpu"] });
33
+ const ro = (await s.run({ input: new ort.Tensor("float32", xa, [1, 1, 1, N, N]) })).output.data;
34
+ const zd = await tf.tidy(() => tf.transpose(net.forward(tf.tensor(xa, [1, N, N, 1])), [0, 3, 1, 2])).data();
35
+ let maxAbs = 0, flips = 0;
36
+ zd.forEach((v, i) => { maxAbs = Math.max(maxAbs, Math.abs(v - ro[i])); flips += (v > 0) !== (ro[i] > 0); });
37
+ // training steps
38
+ const C = man.channels.length;
39
+ const x = tf.randomUniform([1, N, N, 1], -1, 1);
40
+ const t = tf.cast(tf.greater(tf.randomUniform([1, M, M, C]), 0.5), "float32");
41
+ const m = tf.cast(tf.greater(tf.randomUniform([1, M, M, C]), 0.7), "float32");
42
+ const opt = tf.train.adam(1e-4);
43
+ const step = () => rt.trainStep(tf, net, opt, x, t, m);
44
+ for (let i = 0; i < 2; i++) { const l = step(); await l.data(); l.dispose(); }
45
+ const base0 = tf.memory().numBytes;
46
+ const prof = await tf.profile(async () => { const l = step(); await l.data(); l.dispose(); });
47
+ const times = [];
48
+ for (let i = 0; i < 8; i++) { const t0 = performance.now(); const l = step(); await l.data(); times.push(performance.now() - t0); l.dispose(); }
49
+ times.sort((a, b) => a - b);
50
+ const r = { model, N, step_ms_median: Math.round(times[4]), step_ms_min: Math.round(times[0]),
51
+ train_peak_mb: Math.round((prof.peakBytes - base0) / 1e6), vs_ort_max_abs: maxAbs, vs_ort_flips: flips };
52
+ results.push(r); log(JSON.stringify(r));
53
+ [x, t, m].forEach(a => a.dispose()); opt.dispose(); net.vars.forEach(v => v.dispose());
54
+ }
55
+ window.SPIKE = results;
56
+ log("done");
57
+ </script>
setup_53_2d/finetune/initializers.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"setup_53_mito_affinities_16nm_2d_in1068_fp16.onnx":{"encoder0.conv1.c.weight":{"offset":23407,"nbytes":576,"dtype":"float16","shape":[32,1,3,3]},"encoder0.conv1.c.bias":{"offset":24014,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.weight":{"offset":24107,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.bias":{"offset":24198,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.running_mean":{"offset":24297,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.running_var":{"offset":24395,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.conv2.c.weight":{"offset":24502,"nbytes":18432,"dtype":"float16","shape":[32,32,3,3]},"encoder0.conv2.c.bias":{"offset":42965,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.weight":{"offset":43058,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.bias":{"offset":43149,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.running_mean":{"offset":43248,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.running_var":{"offset":43346,"nbytes":64,"dtype":"float16","shape":[32]},"encoder1.conv1.c.weight":{"offset":43453,"nbytes":36864,"dtype":"float16","shape":[64,32,3,3]},"encoder1.conv1.c.bias":{"offset":80350,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.weight":{"offset":80509,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.bias":{"offset":80666,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.running_mean":{"offset":80831,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.running_var":{"offset":80995,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.conv2.c.weight":{"offset":81166,"nbytes":73728,"dtype":"float16","shape":[64,64,3,3]},"encoder1.conv2.c.bias":{"offset":154927,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.weight":{"offset":155086,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.bias":{"offset":155243,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.running_mean":{"offset":155408,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.running_var":{"offset":155572,"nbytes":128,"dtype":"float16","shape":[64]},"encoder2.conv1.c.weight":{"offset":155744,"nbytes":147456,"dtype":"float16","shape":[128,64,3,3]},"encoder2.conv1.c.bias":{"offset":303234,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.weight":{"offset":303522,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.bias":{"offset":303808,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.running_mean":{"offset":304102,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.running_var":{"offset":304395,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.conv2.c.weight":{"offset":304696,"nbytes":294912,"dtype":"float16","shape":[128,128,3,3]},"encoder2.conv2.c.bias":{"offset":599642,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.weight":{"offset":599930,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.bias":{"offset":600216,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.running_mean":{"offset":600510,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.running_var":{"offset":600803,"nbytes":256,"dtype":"float16","shape":[128]},"bottleneck.conv1.c.weight":{"offset":601106,"nbytes":589824,"dtype":"float16","shape":[256,128,3,3]},"bottleneck.conv1.c.bias":{"offset":1190966,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.weight":{"offset":1191512,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.bias":{"offset":1192056,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.running_mean":{"offset":1192608,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.running_var":{"offset":1193159,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.conv2.c.weight":{"offset":1193718,"nbytes":1179648,"dtype":"float16","shape":[256,256,3,3]},"bottleneck.conv2.c.bias":{"offset":2373402,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.weight":{"offset":2373948,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.bias":{"offset":2374492,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.running_mean":{"offset":2375044,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.running_var":{"offset":2375595,"nbytes":512,"dtype":"float16","shape":[256]},"upconv2.c.weight":{"offset":2376145,"nbytes":262144,"dtype":"float16","shape":[256,128,2,2]},"upconv2.c.bias":{"offset":2638316,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.conv1.c.weight":{"offset":2638617,"nbytes":589824,"dtype":"float16","shape":[128,256,3,3]},"decoder2.conv1.c.bias":{"offset":3228475,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.weight":{"offset":3228763,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.bias":{"offset":3229049,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.running_mean":{"offset":3229343,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.running_var":{"offset":3229636,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.conv2.c.weight":{"offset":3229937,"nbytes":294912,"dtype":"float16","shape":[128,128,3,3]},"decoder2.conv2.c.bias":{"offset":3524883,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.weight":{"offset":3525171,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.bias":{"offset":3525457,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.running_mean":{"offset":3525751,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.running_var":{"offset":3526044,"nbytes":256,"dtype":"float16","shape":[128]},"upconv1.c.weight":{"offset":3526337,"nbytes":65536,"dtype":"float16","shape":[128,64,2,2]},"upconv1.c.bias":{"offset":3591899,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.conv1.c.weight":{"offset":3592071,"nbytes":147456,"dtype":"float16","shape":[64,128,3,3]},"decoder1.conv1.c.bias":{"offset":3739560,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.weight":{"offset":3739719,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.bias":{"offset":3739876,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.running_mean":{"offset":3740041,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.running_var":{"offset":3740205,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.conv2.c.weight":{"offset":3740376,"nbytes":73728,"dtype":"float16","shape":[64,64,3,3]},"decoder1.conv2.c.bias":{"offset":3814137,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.weight":{"offset":3814296,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.bias":{"offset":3814453,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.running_mean":{"offset":3814618,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.running_var":{"offset":3814782,"nbytes":128,"dtype":"float16","shape":[64]},"upconv0.c.weight":{"offset":3814946,"nbytes":16384,"dtype":"float16","shape":[64,32,2,2]},"upconv0.c.bias":{"offset":3831354,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.conv1.c.weight":{"offset":3831461,"nbytes":36864,"dtype":"float16","shape":[32,64,3,3]},"decoder0.conv1.c.bias":{"offset":3868356,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.weight":{"offset":3868449,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.bias":{"offset":3868540,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.running_mean":{"offset":3868639,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.running_var":{"offset":3868737,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.conv2.c.weight":{"offset":3868844,"nbytes":18432,"dtype":"float16","shape":[32,32,3,3]},"decoder0.conv2.c.bias":{"offset":3887307,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.weight":{"offset":3887400,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.bias":{"offset":3887491,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.running_mean":{"offset":3887590,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.running_var":{"offset":3887688,"nbytes":64,"dtype":"float16","shape":[32]},"final_conv.c.weight":{"offset":3887789,"nbytes":192,"dtype":"float16","shape":[3,32,1,1]},"final_conv.c.bias":{"offset":3888008,"nbytes":6,"dtype":"float16","shape":[3]}},"setup_53_mito_affinities_16nm_2d_in1068_fp32.onnx":{"encoder0.conv1.c.weight":{"offset":23247,"nbytes":1152,"dtype":"float32","shape":[32,1,3,3]},"encoder0.conv1.c.bias":{"offset":24432,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.weight":{"offset":24591,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.bias":{"offset":24748,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.running_mean":{"offset":24913,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.running_var":{"offset":25077,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.conv2.c.weight":{"offset":25248,"nbytes":36864,"dtype":"float32","shape":[32,32,3,3]},"encoder0.conv2.c.bias":{"offset":62145,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.weight":{"offset":62304,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.bias":{"offset":62461,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.running_mean":{"offset":62626,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.running_var":{"offset":62790,"nbytes":128,"dtype":"float32","shape":[32]},"encoder1.conv1.c.weight":{"offset":62961,"nbytes":73728,"dtype":"float32","shape":[64,32,3,3]},"encoder1.conv1.c.bias":{"offset":136722,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.weight":{"offset":137009,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.bias":{"offset":137294,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.running_mean":{"offset":137587,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.running_var":{"offset":137879,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.conv2.c.weight":{"offset":138178,"nbytes":147456,"dtype":"float32","shape":[64,64,3,3]},"encoder1.conv2.c.bias":{"offset":285667,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.weight":{"offset":285954,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.bias":{"offset":286239,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.running_mean":{"offset":286532,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.running_var":{"offset":286824,"nbytes":256,"dtype":"float32","shape":[64]},"encoder2.conv1.c.weight":{"offset":287124,"nbytes":294912,"dtype":"float32","shape":[128,64,3,3]},"encoder2.conv1.c.bias":{"offset":582070,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.weight":{"offset":582614,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.bias":{"offset":583156,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.running_mean":{"offset":583706,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.running_var":{"offset":584255,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.conv2.c.weight":{"offset":584812,"nbytes":589824,"dtype":"float32","shape":[128,128,3,3]},"encoder2.conv2.c.bias":{"offset":1174670,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.weight":{"offset":1175214,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.bias":{"offset":1175756,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.running_mean":{"offset":1176306,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.running_var":{"offset":1176855,"nbytes":512,"dtype":"float32","shape":[128]},"bottleneck.conv1.c.weight":{"offset":1177414,"nbytes":1179648,"dtype":"float32","shape":[256,128,3,3]},"bottleneck.conv1.c.bias":{"offset":2357098,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.weight":{"offset":2358156,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.bias":{"offset":2359212,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.running_mean":{"offset":2360276,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.running_var":{"offset":2361339,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.conv2.c.weight":{"offset":2362412,"nbytes":2359296,"dtype":"float32","shape":[256,256,3,3]},"bottleneck.conv2.c.bias":{"offset":4721744,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.weight":{"offset":4722802,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.bias":{"offset":4723858,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.running_mean":{"offset":4724922,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.running_var":{"offset":4725985,"nbytes":1024,"dtype":"float32","shape":[256]},"upconv2.c.weight":{"offset":4727047,"nbytes":524288,"dtype":"float32","shape":[256,128,2,2]},"upconv2.c.bias":{"offset":5251362,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.conv1.c.weight":{"offset":5251919,"nbytes":1179648,"dtype":"float32","shape":[128,256,3,3]},"decoder2.conv1.c.bias":{"offset":6431601,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.weight":{"offset":6432145,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.bias":{"offset":6432687,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.running_mean":{"offset":6433237,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.running_var":{"offset":6433786,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.conv2.c.weight":{"offset":6434343,"nbytes":589824,"dtype":"float32","shape":[128,128,3,3]},"decoder2.conv2.c.bias":{"offset":7024201,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.weight":{"offset":7024745,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.bias":{"offset":7025287,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.running_mean":{"offset":7025837,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.running_var":{"offset":7026386,"nbytes":512,"dtype":"float32","shape":[128]},"upconv1.c.weight":{"offset":7026935,"nbytes":131072,"dtype":"float32","shape":[128,64,2,2]},"upconv1.c.bias":{"offset":7158033,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.conv1.c.weight":{"offset":7158333,"nbytes":294912,"dtype":"float32","shape":[64,128,3,3]},"decoder1.conv1.c.bias":{"offset":7453278,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.weight":{"offset":7453565,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.bias":{"offset":7453850,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.running_mean":{"offset":7454143,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.running_var":{"offset":7454435,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.conv2.c.weight":{"offset":7454734,"nbytes":147456,"dtype":"float32","shape":[64,64,3,3]},"decoder1.conv2.c.bias":{"offset":7602223,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.weight":{"offset":7602510,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.bias":{"offset":7602795,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.running_mean":{"offset":7603088,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.running_var":{"offset":7603380,"nbytes":256,"dtype":"float32","shape":[64]},"upconv0.c.weight":{"offset":7603672,"nbytes":32768,"dtype":"float32","shape":[64,32,2,2]},"upconv0.c.bias":{"offset":7636466,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.conv1.c.weight":{"offset":7636637,"nbytes":73728,"dtype":"float32","shape":[32,64,3,3]},"decoder0.conv1.c.bias":{"offset":7710398,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.weight":{"offset":7710557,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.bias":{"offset":7710714,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.running_mean":{"offset":7710879,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.running_var":{"offset":7711043,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.conv2.c.weight":{"offset":7711214,"nbytes":36864,"dtype":"float32","shape":[32,32,3,3]},"decoder0.conv2.c.bias":{"offset":7748111,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.weight":{"offset":7748270,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.bias":{"offset":7748427,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.running_mean":{"offset":7748592,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.running_var":{"offset":7748756,"nbytes":128,"dtype":"float32","shape":[32]},"final_conv.c.weight":{"offset":7748921,"nbytes":384,"dtype":"float32","shape":[3,32,1,1]},"final_conv.c.bias":{"offset":7749332,"nbytes":12,"dtype":"float32","shape":[3]}},"setup_53_mito_affinities_16nm_2d_in300_fp16.onnx":{"encoder0.conv1.c.weight":{"offset":23407,"nbytes":576,"dtype":"float16","shape":[32,1,3,3]},"encoder0.conv1.c.bias":{"offset":24014,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.weight":{"offset":24107,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.bias":{"offset":24198,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.running_mean":{"offset":24297,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.running_var":{"offset":24395,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.conv2.c.weight":{"offset":24502,"nbytes":18432,"dtype":"float16","shape":[32,32,3,3]},"encoder0.conv2.c.bias":{"offset":42965,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.weight":{"offset":43058,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.bias":{"offset":43149,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.running_mean":{"offset":43248,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.running_var":{"offset":43346,"nbytes":64,"dtype":"float16","shape":[32]},"encoder1.conv1.c.weight":{"offset":43453,"nbytes":36864,"dtype":"float16","shape":[64,32,3,3]},"encoder1.conv1.c.bias":{"offset":80350,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.weight":{"offset":80509,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.bias":{"offset":80666,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.running_mean":{"offset":80831,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.running_var":{"offset":80995,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.conv2.c.weight":{"offset":81166,"nbytes":73728,"dtype":"float16","shape":[64,64,3,3]},"encoder1.conv2.c.bias":{"offset":154927,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.weight":{"offset":155086,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.bias":{"offset":155243,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.running_mean":{"offset":155408,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.running_var":{"offset":155572,"nbytes":128,"dtype":"float16","shape":[64]},"encoder2.conv1.c.weight":{"offset":155744,"nbytes":147456,"dtype":"float16","shape":[128,64,3,3]},"encoder2.conv1.c.bias":{"offset":303234,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.weight":{"offset":303522,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.bias":{"offset":303808,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.running_mean":{"offset":304102,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.running_var":{"offset":304395,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.conv2.c.weight":{"offset":304696,"nbytes":294912,"dtype":"float16","shape":[128,128,3,3]},"encoder2.conv2.c.bias":{"offset":599642,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.weight":{"offset":599930,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.bias":{"offset":600216,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.running_mean":{"offset":600510,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.running_var":{"offset":600803,"nbytes":256,"dtype":"float16","shape":[128]},"bottleneck.conv1.c.weight":{"offset":601106,"nbytes":589824,"dtype":"float16","shape":[256,128,3,3]},"bottleneck.conv1.c.bias":{"offset":1190966,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.weight":{"offset":1191512,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.bias":{"offset":1192056,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.running_mean":{"offset":1192608,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.running_var":{"offset":1193159,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.conv2.c.weight":{"offset":1193718,"nbytes":1179648,"dtype":"float16","shape":[256,256,3,3]},"bottleneck.conv2.c.bias":{"offset":2373402,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.weight":{"offset":2373948,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.bias":{"offset":2374492,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.running_mean":{"offset":2375044,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.running_var":{"offset":2375595,"nbytes":512,"dtype":"float16","shape":[256]},"upconv2.c.weight":{"offset":2376145,"nbytes":262144,"dtype":"float16","shape":[256,128,2,2]},"upconv2.c.bias":{"offset":2638316,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.conv1.c.weight":{"offset":2638617,"nbytes":589824,"dtype":"float16","shape":[128,256,3,3]},"decoder2.conv1.c.bias":{"offset":3228475,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.weight":{"offset":3228763,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.bias":{"offset":3229049,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.running_mean":{"offset":3229343,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.running_var":{"offset":3229636,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.conv2.c.weight":{"offset":3229937,"nbytes":294912,"dtype":"float16","shape":[128,128,3,3]},"decoder2.conv2.c.bias":{"offset":3524883,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.weight":{"offset":3525171,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.bias":{"offset":3525457,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.running_mean":{"offset":3525751,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.running_var":{"offset":3526044,"nbytes":256,"dtype":"float16","shape":[128]},"upconv1.c.weight":{"offset":3526337,"nbytes":65536,"dtype":"float16","shape":[128,64,2,2]},"upconv1.c.bias":{"offset":3591899,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.conv1.c.weight":{"offset":3592071,"nbytes":147456,"dtype":"float16","shape":[64,128,3,3]},"decoder1.conv1.c.bias":{"offset":3739560,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.weight":{"offset":3739719,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.bias":{"offset":3739876,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.running_mean":{"offset":3740041,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.running_var":{"offset":3740205,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.conv2.c.weight":{"offset":3740376,"nbytes":73728,"dtype":"float16","shape":[64,64,3,3]},"decoder1.conv2.c.bias":{"offset":3814137,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.weight":{"offset":3814296,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.bias":{"offset":3814453,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.running_mean":{"offset":3814618,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.running_var":{"offset":3814782,"nbytes":128,"dtype":"float16","shape":[64]},"upconv0.c.weight":{"offset":3814946,"nbytes":16384,"dtype":"float16","shape":[64,32,2,2]},"upconv0.c.bias":{"offset":3831354,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.conv1.c.weight":{"offset":3831461,"nbytes":36864,"dtype":"float16","shape":[32,64,3,3]},"decoder0.conv1.c.bias":{"offset":3868356,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.weight":{"offset":3868449,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.bias":{"offset":3868540,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.running_mean":{"offset":3868639,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.running_var":{"offset":3868737,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.conv2.c.weight":{"offset":3868844,"nbytes":18432,"dtype":"float16","shape":[32,32,3,3]},"decoder0.conv2.c.bias":{"offset":3887307,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.weight":{"offset":3887400,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.bias":{"offset":3887491,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.running_mean":{"offset":3887590,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.running_var":{"offset":3887688,"nbytes":64,"dtype":"float16","shape":[32]},"final_conv.c.weight":{"offset":3887789,"nbytes":192,"dtype":"float16","shape":[3,32,1,1]},"final_conv.c.bias":{"offset":3888008,"nbytes":6,"dtype":"float16","shape":[3]}},"setup_53_mito_affinities_16nm_2d_in300_fp32.onnx":{"encoder0.conv1.c.weight":{"offset":23247,"nbytes":1152,"dtype":"float32","shape":[32,1,3,3]},"encoder0.conv1.c.bias":{"offset":24432,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.weight":{"offset":24591,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.bias":{"offset":24748,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.running_mean":{"offset":24913,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.running_var":{"offset":25077,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.conv2.c.weight":{"offset":25248,"nbytes":36864,"dtype":"float32","shape":[32,32,3,3]},"encoder0.conv2.c.bias":{"offset":62145,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.weight":{"offset":62304,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.bias":{"offset":62461,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.running_mean":{"offset":62626,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.running_var":{"offset":62790,"nbytes":128,"dtype":"float32","shape":[32]},"encoder1.conv1.c.weight":{"offset":62961,"nbytes":73728,"dtype":"float32","shape":[64,32,3,3]},"encoder1.conv1.c.bias":{"offset":136722,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.weight":{"offset":137009,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.bias":{"offset":137294,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.running_mean":{"offset":137587,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.running_var":{"offset":137879,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.conv2.c.weight":{"offset":138178,"nbytes":147456,"dtype":"float32","shape":[64,64,3,3]},"encoder1.conv2.c.bias":{"offset":285667,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.weight":{"offset":285954,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.bias":{"offset":286239,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.running_mean":{"offset":286532,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.running_var":{"offset":286824,"nbytes":256,"dtype":"float32","shape":[64]},"encoder2.conv1.c.weight":{"offset":287124,"nbytes":294912,"dtype":"float32","shape":[128,64,3,3]},"encoder2.conv1.c.bias":{"offset":582070,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.weight":{"offset":582614,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.bias":{"offset":583156,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.running_mean":{"offset":583706,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.running_var":{"offset":584255,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.conv2.c.weight":{"offset":584812,"nbytes":589824,"dtype":"float32","shape":[128,128,3,3]},"encoder2.conv2.c.bias":{"offset":1174670,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.weight":{"offset":1175214,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.bias":{"offset":1175756,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.running_mean":{"offset":1176306,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.running_var":{"offset":1176855,"nbytes":512,"dtype":"float32","shape":[128]},"bottleneck.conv1.c.weight":{"offset":1177414,"nbytes":1179648,"dtype":"float32","shape":[256,128,3,3]},"bottleneck.conv1.c.bias":{"offset":2357098,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.weight":{"offset":2358156,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.bias":{"offset":2359212,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.running_mean":{"offset":2360276,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.running_var":{"offset":2361339,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.conv2.c.weight":{"offset":2362412,"nbytes":2359296,"dtype":"float32","shape":[256,256,3,3]},"bottleneck.conv2.c.bias":{"offset":4721744,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.weight":{"offset":4722802,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.bias":{"offset":4723858,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.running_mean":{"offset":4724922,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.running_var":{"offset":4725985,"nbytes":1024,"dtype":"float32","shape":[256]},"upconv2.c.weight":{"offset":4727047,"nbytes":524288,"dtype":"float32","shape":[256,128,2,2]},"upconv2.c.bias":{"offset":5251362,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.conv1.c.weight":{"offset":5251919,"nbytes":1179648,"dtype":"float32","shape":[128,256,3,3]},"decoder2.conv1.c.bias":{"offset":6431601,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.weight":{"offset":6432145,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.bias":{"offset":6432687,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.running_mean":{"offset":6433237,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.running_var":{"offset":6433786,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.conv2.c.weight":{"offset":6434343,"nbytes":589824,"dtype":"float32","shape":[128,128,3,3]},"decoder2.conv2.c.bias":{"offset":7024201,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.weight":{"offset":7024745,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.bias":{"offset":7025287,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.running_mean":{"offset":7025837,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.running_var":{"offset":7026386,"nbytes":512,"dtype":"float32","shape":[128]},"upconv1.c.weight":{"offset":7026935,"nbytes":131072,"dtype":"float32","shape":[128,64,2,2]},"upconv1.c.bias":{"offset":7158033,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.conv1.c.weight":{"offset":7158333,"nbytes":294912,"dtype":"float32","shape":[64,128,3,3]},"decoder1.conv1.c.bias":{"offset":7453278,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.weight":{"offset":7453565,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.bias":{"offset":7453850,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.running_mean":{"offset":7454143,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.running_var":{"offset":7454435,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.conv2.c.weight":{"offset":7454734,"nbytes":147456,"dtype":"float32","shape":[64,64,3,3]},"decoder1.conv2.c.bias":{"offset":7602223,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.weight":{"offset":7602510,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.bias":{"offset":7602795,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.running_mean":{"offset":7603088,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.running_var":{"offset":7603380,"nbytes":256,"dtype":"float32","shape":[64]},"upconv0.c.weight":{"offset":7603672,"nbytes":32768,"dtype":"float32","shape":[64,32,2,2]},"upconv0.c.bias":{"offset":7636466,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.conv1.c.weight":{"offset":7636637,"nbytes":73728,"dtype":"float32","shape":[32,64,3,3]},"decoder0.conv1.c.bias":{"offset":7710398,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.weight":{"offset":7710557,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.bias":{"offset":7710714,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.running_mean":{"offset":7710879,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.running_var":{"offset":7711043,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.conv2.c.weight":{"offset":7711214,"nbytes":36864,"dtype":"float32","shape":[32,32,3,3]},"decoder0.conv2.c.bias":{"offset":7748111,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.weight":{"offset":7748270,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.bias":{"offset":7748427,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.running_mean":{"offset":7748592,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.running_var":{"offset":7748756,"nbytes":128,"dtype":"float32","shape":[32]},"final_conv.c.weight":{"offset":7748921,"nbytes":384,"dtype":"float32","shape":[3,32,1,1]},"final_conv.c.bias":{"offset":7749332,"nbytes":12,"dtype":"float32","shape":[3]}},"setup_53_mito_affinities_16nm_2d_in556_fp16.onnx":{"encoder0.conv1.c.weight":{"offset":23407,"nbytes":576,"dtype":"float16","shape":[32,1,3,3]},"encoder0.conv1.c.bias":{"offset":24014,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.weight":{"offset":24107,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.bias":{"offset":24198,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.running_mean":{"offset":24297,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn1.running_var":{"offset":24395,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.conv2.c.weight":{"offset":24502,"nbytes":18432,"dtype":"float16","shape":[32,32,3,3]},"encoder0.conv2.c.bias":{"offset":42965,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.weight":{"offset":43058,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.bias":{"offset":43149,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.running_mean":{"offset":43248,"nbytes":64,"dtype":"float16","shape":[32]},"encoder0.bn2.running_var":{"offset":43346,"nbytes":64,"dtype":"float16","shape":[32]},"encoder1.conv1.c.weight":{"offset":43453,"nbytes":36864,"dtype":"float16","shape":[64,32,3,3]},"encoder1.conv1.c.bias":{"offset":80350,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.weight":{"offset":80509,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.bias":{"offset":80666,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.running_mean":{"offset":80831,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn1.running_var":{"offset":80995,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.conv2.c.weight":{"offset":81166,"nbytes":73728,"dtype":"float16","shape":[64,64,3,3]},"encoder1.conv2.c.bias":{"offset":154927,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.weight":{"offset":155086,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.bias":{"offset":155243,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.running_mean":{"offset":155408,"nbytes":128,"dtype":"float16","shape":[64]},"encoder1.bn2.running_var":{"offset":155572,"nbytes":128,"dtype":"float16","shape":[64]},"encoder2.conv1.c.weight":{"offset":155744,"nbytes":147456,"dtype":"float16","shape":[128,64,3,3]},"encoder2.conv1.c.bias":{"offset":303234,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.weight":{"offset":303522,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.bias":{"offset":303808,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.running_mean":{"offset":304102,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn1.running_var":{"offset":304395,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.conv2.c.weight":{"offset":304696,"nbytes":294912,"dtype":"float16","shape":[128,128,3,3]},"encoder2.conv2.c.bias":{"offset":599642,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.weight":{"offset":599930,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.bias":{"offset":600216,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.running_mean":{"offset":600510,"nbytes":256,"dtype":"float16","shape":[128]},"encoder2.bn2.running_var":{"offset":600803,"nbytes":256,"dtype":"float16","shape":[128]},"bottleneck.conv1.c.weight":{"offset":601106,"nbytes":589824,"dtype":"float16","shape":[256,128,3,3]},"bottleneck.conv1.c.bias":{"offset":1190966,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.weight":{"offset":1191512,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.bias":{"offset":1192056,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.running_mean":{"offset":1192608,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn1.running_var":{"offset":1193159,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.conv2.c.weight":{"offset":1193718,"nbytes":1179648,"dtype":"float16","shape":[256,256,3,3]},"bottleneck.conv2.c.bias":{"offset":2373402,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.weight":{"offset":2373948,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.bias":{"offset":2374492,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.running_mean":{"offset":2375044,"nbytes":512,"dtype":"float16","shape":[256]},"bottleneck.bn2.running_var":{"offset":2375595,"nbytes":512,"dtype":"float16","shape":[256]},"upconv2.c.weight":{"offset":2376145,"nbytes":262144,"dtype":"float16","shape":[256,128,2,2]},"upconv2.c.bias":{"offset":2638316,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.conv1.c.weight":{"offset":2638617,"nbytes":589824,"dtype":"float16","shape":[128,256,3,3]},"decoder2.conv1.c.bias":{"offset":3228475,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.weight":{"offset":3228763,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.bias":{"offset":3229049,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.running_mean":{"offset":3229343,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn1.running_var":{"offset":3229636,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.conv2.c.weight":{"offset":3229937,"nbytes":294912,"dtype":"float16","shape":[128,128,3,3]},"decoder2.conv2.c.bias":{"offset":3524883,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.weight":{"offset":3525171,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.bias":{"offset":3525457,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.running_mean":{"offset":3525751,"nbytes":256,"dtype":"float16","shape":[128]},"decoder2.bn2.running_var":{"offset":3526044,"nbytes":256,"dtype":"float16","shape":[128]},"upconv1.c.weight":{"offset":3526337,"nbytes":65536,"dtype":"float16","shape":[128,64,2,2]},"upconv1.c.bias":{"offset":3591899,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.conv1.c.weight":{"offset":3592071,"nbytes":147456,"dtype":"float16","shape":[64,128,3,3]},"decoder1.conv1.c.bias":{"offset":3739560,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.weight":{"offset":3739719,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.bias":{"offset":3739876,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.running_mean":{"offset":3740041,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn1.running_var":{"offset":3740205,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.conv2.c.weight":{"offset":3740376,"nbytes":73728,"dtype":"float16","shape":[64,64,3,3]},"decoder1.conv2.c.bias":{"offset":3814137,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.weight":{"offset":3814296,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.bias":{"offset":3814453,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.running_mean":{"offset":3814618,"nbytes":128,"dtype":"float16","shape":[64]},"decoder1.bn2.running_var":{"offset":3814782,"nbytes":128,"dtype":"float16","shape":[64]},"upconv0.c.weight":{"offset":3814946,"nbytes":16384,"dtype":"float16","shape":[64,32,2,2]},"upconv0.c.bias":{"offset":3831354,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.conv1.c.weight":{"offset":3831461,"nbytes":36864,"dtype":"float16","shape":[32,64,3,3]},"decoder0.conv1.c.bias":{"offset":3868356,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.weight":{"offset":3868449,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.bias":{"offset":3868540,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.running_mean":{"offset":3868639,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn1.running_var":{"offset":3868737,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.conv2.c.weight":{"offset":3868844,"nbytes":18432,"dtype":"float16","shape":[32,32,3,3]},"decoder0.conv2.c.bias":{"offset":3887307,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.weight":{"offset":3887400,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.bias":{"offset":3887491,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.running_mean":{"offset":3887590,"nbytes":64,"dtype":"float16","shape":[32]},"decoder0.bn2.running_var":{"offset":3887688,"nbytes":64,"dtype":"float16","shape":[32]},"final_conv.c.weight":{"offset":3887789,"nbytes":192,"dtype":"float16","shape":[3,32,1,1]},"final_conv.c.bias":{"offset":3888008,"nbytes":6,"dtype":"float16","shape":[3]}},"setup_53_mito_affinities_16nm_2d_in556_fp32.onnx":{"encoder0.conv1.c.weight":{"offset":23247,"nbytes":1152,"dtype":"float32","shape":[32,1,3,3]},"encoder0.conv1.c.bias":{"offset":24432,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.weight":{"offset":24591,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.bias":{"offset":24748,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.running_mean":{"offset":24913,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn1.running_var":{"offset":25077,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.conv2.c.weight":{"offset":25248,"nbytes":36864,"dtype":"float32","shape":[32,32,3,3]},"encoder0.conv2.c.bias":{"offset":62145,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.weight":{"offset":62304,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.bias":{"offset":62461,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.running_mean":{"offset":62626,"nbytes":128,"dtype":"float32","shape":[32]},"encoder0.bn2.running_var":{"offset":62790,"nbytes":128,"dtype":"float32","shape":[32]},"encoder1.conv1.c.weight":{"offset":62961,"nbytes":73728,"dtype":"float32","shape":[64,32,3,3]},"encoder1.conv1.c.bias":{"offset":136722,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.weight":{"offset":137009,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.bias":{"offset":137294,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.running_mean":{"offset":137587,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn1.running_var":{"offset":137879,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.conv2.c.weight":{"offset":138178,"nbytes":147456,"dtype":"float32","shape":[64,64,3,3]},"encoder1.conv2.c.bias":{"offset":285667,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.weight":{"offset":285954,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.bias":{"offset":286239,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.running_mean":{"offset":286532,"nbytes":256,"dtype":"float32","shape":[64]},"encoder1.bn2.running_var":{"offset":286824,"nbytes":256,"dtype":"float32","shape":[64]},"encoder2.conv1.c.weight":{"offset":287124,"nbytes":294912,"dtype":"float32","shape":[128,64,3,3]},"encoder2.conv1.c.bias":{"offset":582070,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.weight":{"offset":582614,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.bias":{"offset":583156,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.running_mean":{"offset":583706,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn1.running_var":{"offset":584255,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.conv2.c.weight":{"offset":584812,"nbytes":589824,"dtype":"float32","shape":[128,128,3,3]},"encoder2.conv2.c.bias":{"offset":1174670,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.weight":{"offset":1175214,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.bias":{"offset":1175756,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.running_mean":{"offset":1176306,"nbytes":512,"dtype":"float32","shape":[128]},"encoder2.bn2.running_var":{"offset":1176855,"nbytes":512,"dtype":"float32","shape":[128]},"bottleneck.conv1.c.weight":{"offset":1177414,"nbytes":1179648,"dtype":"float32","shape":[256,128,3,3]},"bottleneck.conv1.c.bias":{"offset":2357098,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.weight":{"offset":2358156,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.bias":{"offset":2359212,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.running_mean":{"offset":2360276,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn1.running_var":{"offset":2361339,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.conv2.c.weight":{"offset":2362412,"nbytes":2359296,"dtype":"float32","shape":[256,256,3,3]},"bottleneck.conv2.c.bias":{"offset":4721744,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.weight":{"offset":4722802,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.bias":{"offset":4723858,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.running_mean":{"offset":4724922,"nbytes":1024,"dtype":"float32","shape":[256]},"bottleneck.bn2.running_var":{"offset":4725985,"nbytes":1024,"dtype":"float32","shape":[256]},"upconv2.c.weight":{"offset":4727047,"nbytes":524288,"dtype":"float32","shape":[256,128,2,2]},"upconv2.c.bias":{"offset":5251362,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.conv1.c.weight":{"offset":5251919,"nbytes":1179648,"dtype":"float32","shape":[128,256,3,3]},"decoder2.conv1.c.bias":{"offset":6431601,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.weight":{"offset":6432145,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.bias":{"offset":6432687,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.running_mean":{"offset":6433237,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn1.running_var":{"offset":6433786,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.conv2.c.weight":{"offset":6434343,"nbytes":589824,"dtype":"float32","shape":[128,128,3,3]},"decoder2.conv2.c.bias":{"offset":7024201,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.weight":{"offset":7024745,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.bias":{"offset":7025287,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.running_mean":{"offset":7025837,"nbytes":512,"dtype":"float32","shape":[128]},"decoder2.bn2.running_var":{"offset":7026386,"nbytes":512,"dtype":"float32","shape":[128]},"upconv1.c.weight":{"offset":7026935,"nbytes":131072,"dtype":"float32","shape":[128,64,2,2]},"upconv1.c.bias":{"offset":7158033,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.conv1.c.weight":{"offset":7158333,"nbytes":294912,"dtype":"float32","shape":[64,128,3,3]},"decoder1.conv1.c.bias":{"offset":7453278,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.weight":{"offset":7453565,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.bias":{"offset":7453850,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.running_mean":{"offset":7454143,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn1.running_var":{"offset":7454435,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.conv2.c.weight":{"offset":7454734,"nbytes":147456,"dtype":"float32","shape":[64,64,3,3]},"decoder1.conv2.c.bias":{"offset":7602223,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.weight":{"offset":7602510,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.bias":{"offset":7602795,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.running_mean":{"offset":7603088,"nbytes":256,"dtype":"float32","shape":[64]},"decoder1.bn2.running_var":{"offset":7603380,"nbytes":256,"dtype":"float32","shape":[64]},"upconv0.c.weight":{"offset":7603672,"nbytes":32768,"dtype":"float32","shape":[64,32,2,2]},"upconv0.c.bias":{"offset":7636466,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.conv1.c.weight":{"offset":7636637,"nbytes":73728,"dtype":"float32","shape":[32,64,3,3]},"decoder0.conv1.c.bias":{"offset":7710398,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.weight":{"offset":7710557,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.bias":{"offset":7710714,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.running_mean":{"offset":7710879,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn1.running_var":{"offset":7711043,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.conv2.c.weight":{"offset":7711214,"nbytes":36864,"dtype":"float32","shape":[32,32,3,3]},"decoder0.conv2.c.bias":{"offset":7748111,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.weight":{"offset":7748270,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.bias":{"offset":7748427,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.running_mean":{"offset":7748592,"nbytes":128,"dtype":"float32","shape":[32]},"decoder0.bn2.running_var":{"offset":7748756,"nbytes":128,"dtype":"float32","shape":[32]},"final_conv.c.weight":{"offset":7748921,"nbytes":384,"dtype":"float32","shape":[3,32,1,1]},"final_conv.c.bias":{"offset":7749332,"nbytes":12,"dtype":"float32","shape":[3]}}}
setup_53_2d/finetune/train_graph.json ADDED
@@ -0,0 +1,1136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "cellmap-train-graph/1",
3
+ "layout": "NHWC",
4
+ "input": "input",
5
+ "output": "/final_conv/c/Conv_output_0",
6
+ "context": 88,
7
+ "params": {
8
+ "encoder0.conv1.c.weight": {
9
+ "shape": [
10
+ 32,
11
+ 1,
12
+ 3,
13
+ 3
14
+ ],
15
+ "trainable": true
16
+ },
17
+ "encoder0.conv1.c.bias": {
18
+ "shape": [
19
+ 32
20
+ ],
21
+ "trainable": true
22
+ },
23
+ "encoder0.bn1.weight": {
24
+ "shape": [
25
+ 32
26
+ ],
27
+ "trainable": true
28
+ },
29
+ "encoder0.bn1.bias": {
30
+ "shape": [
31
+ 32
32
+ ],
33
+ "trainable": true
34
+ },
35
+ "encoder0.bn1.running_mean": {
36
+ "shape": [
37
+ 32
38
+ ],
39
+ "trainable": false
40
+ },
41
+ "encoder0.bn1.running_var": {
42
+ "shape": [
43
+ 32
44
+ ],
45
+ "trainable": false
46
+ },
47
+ "encoder0.conv2.c.weight": {
48
+ "shape": [
49
+ 32,
50
+ 32,
51
+ 3,
52
+ 3
53
+ ],
54
+ "trainable": true
55
+ },
56
+ "encoder0.conv2.c.bias": {
57
+ "shape": [
58
+ 32
59
+ ],
60
+ "trainable": true
61
+ },
62
+ "encoder0.bn2.weight": {
63
+ "shape": [
64
+ 32
65
+ ],
66
+ "trainable": true
67
+ },
68
+ "encoder0.bn2.bias": {
69
+ "shape": [
70
+ 32
71
+ ],
72
+ "trainable": true
73
+ },
74
+ "encoder0.bn2.running_mean": {
75
+ "shape": [
76
+ 32
77
+ ],
78
+ "trainable": false
79
+ },
80
+ "encoder0.bn2.running_var": {
81
+ "shape": [
82
+ 32
83
+ ],
84
+ "trainable": false
85
+ },
86
+ "encoder1.conv1.c.weight": {
87
+ "shape": [
88
+ 64,
89
+ 32,
90
+ 3,
91
+ 3
92
+ ],
93
+ "trainable": true
94
+ },
95
+ "encoder1.conv1.c.bias": {
96
+ "shape": [
97
+ 64
98
+ ],
99
+ "trainable": true
100
+ },
101
+ "encoder1.bn1.weight": {
102
+ "shape": [
103
+ 64
104
+ ],
105
+ "trainable": true
106
+ },
107
+ "encoder1.bn1.bias": {
108
+ "shape": [
109
+ 64
110
+ ],
111
+ "trainable": true
112
+ },
113
+ "encoder1.bn1.running_mean": {
114
+ "shape": [
115
+ 64
116
+ ],
117
+ "trainable": false
118
+ },
119
+ "encoder1.bn1.running_var": {
120
+ "shape": [
121
+ 64
122
+ ],
123
+ "trainable": false
124
+ },
125
+ "encoder1.conv2.c.weight": {
126
+ "shape": [
127
+ 64,
128
+ 64,
129
+ 3,
130
+ 3
131
+ ],
132
+ "trainable": true
133
+ },
134
+ "encoder1.conv2.c.bias": {
135
+ "shape": [
136
+ 64
137
+ ],
138
+ "trainable": true
139
+ },
140
+ "encoder1.bn2.weight": {
141
+ "shape": [
142
+ 64
143
+ ],
144
+ "trainable": true
145
+ },
146
+ "encoder1.bn2.bias": {
147
+ "shape": [
148
+ 64
149
+ ],
150
+ "trainable": true
151
+ },
152
+ "encoder1.bn2.running_mean": {
153
+ "shape": [
154
+ 64
155
+ ],
156
+ "trainable": false
157
+ },
158
+ "encoder1.bn2.running_var": {
159
+ "shape": [
160
+ 64
161
+ ],
162
+ "trainable": false
163
+ },
164
+ "encoder2.conv1.c.weight": {
165
+ "shape": [
166
+ 128,
167
+ 64,
168
+ 3,
169
+ 3
170
+ ],
171
+ "trainable": true
172
+ },
173
+ "encoder2.conv1.c.bias": {
174
+ "shape": [
175
+ 128
176
+ ],
177
+ "trainable": true
178
+ },
179
+ "encoder2.bn1.weight": {
180
+ "shape": [
181
+ 128
182
+ ],
183
+ "trainable": true
184
+ },
185
+ "encoder2.bn1.bias": {
186
+ "shape": [
187
+ 128
188
+ ],
189
+ "trainable": true
190
+ },
191
+ "encoder2.bn1.running_mean": {
192
+ "shape": [
193
+ 128
194
+ ],
195
+ "trainable": false
196
+ },
197
+ "encoder2.bn1.running_var": {
198
+ "shape": [
199
+ 128
200
+ ],
201
+ "trainable": false
202
+ },
203
+ "encoder2.conv2.c.weight": {
204
+ "shape": [
205
+ 128,
206
+ 128,
207
+ 3,
208
+ 3
209
+ ],
210
+ "trainable": true
211
+ },
212
+ "encoder2.conv2.c.bias": {
213
+ "shape": [
214
+ 128
215
+ ],
216
+ "trainable": true
217
+ },
218
+ "encoder2.bn2.weight": {
219
+ "shape": [
220
+ 128
221
+ ],
222
+ "trainable": true
223
+ },
224
+ "encoder2.bn2.bias": {
225
+ "shape": [
226
+ 128
227
+ ],
228
+ "trainable": true
229
+ },
230
+ "encoder2.bn2.running_mean": {
231
+ "shape": [
232
+ 128
233
+ ],
234
+ "trainable": false
235
+ },
236
+ "encoder2.bn2.running_var": {
237
+ "shape": [
238
+ 128
239
+ ],
240
+ "trainable": false
241
+ },
242
+ "bottleneck.conv1.c.weight": {
243
+ "shape": [
244
+ 256,
245
+ 128,
246
+ 3,
247
+ 3
248
+ ],
249
+ "trainable": true
250
+ },
251
+ "bottleneck.conv1.c.bias": {
252
+ "shape": [
253
+ 256
254
+ ],
255
+ "trainable": true
256
+ },
257
+ "bottleneck.bn1.weight": {
258
+ "shape": [
259
+ 256
260
+ ],
261
+ "trainable": true
262
+ },
263
+ "bottleneck.bn1.bias": {
264
+ "shape": [
265
+ 256
266
+ ],
267
+ "trainable": true
268
+ },
269
+ "bottleneck.bn1.running_mean": {
270
+ "shape": [
271
+ 256
272
+ ],
273
+ "trainable": false
274
+ },
275
+ "bottleneck.bn1.running_var": {
276
+ "shape": [
277
+ 256
278
+ ],
279
+ "trainable": false
280
+ },
281
+ "bottleneck.conv2.c.weight": {
282
+ "shape": [
283
+ 256,
284
+ 256,
285
+ 3,
286
+ 3
287
+ ],
288
+ "trainable": true
289
+ },
290
+ "bottleneck.conv2.c.bias": {
291
+ "shape": [
292
+ 256
293
+ ],
294
+ "trainable": true
295
+ },
296
+ "bottleneck.bn2.weight": {
297
+ "shape": [
298
+ 256
299
+ ],
300
+ "trainable": true
301
+ },
302
+ "bottleneck.bn2.bias": {
303
+ "shape": [
304
+ 256
305
+ ],
306
+ "trainable": true
307
+ },
308
+ "bottleneck.bn2.running_mean": {
309
+ "shape": [
310
+ 256
311
+ ],
312
+ "trainable": false
313
+ },
314
+ "bottleneck.bn2.running_var": {
315
+ "shape": [
316
+ 256
317
+ ],
318
+ "trainable": false
319
+ },
320
+ "upconv2.c.weight": {
321
+ "shape": [
322
+ 256,
323
+ 128,
324
+ 2,
325
+ 2
326
+ ],
327
+ "trainable": true
328
+ },
329
+ "upconv2.c.bias": {
330
+ "shape": [
331
+ 128
332
+ ],
333
+ "trainable": true
334
+ },
335
+ "decoder2.conv1.c.weight": {
336
+ "shape": [
337
+ 128,
338
+ 256,
339
+ 3,
340
+ 3
341
+ ],
342
+ "trainable": true
343
+ },
344
+ "decoder2.conv1.c.bias": {
345
+ "shape": [
346
+ 128
347
+ ],
348
+ "trainable": true
349
+ },
350
+ "decoder2.bn1.weight": {
351
+ "shape": [
352
+ 128
353
+ ],
354
+ "trainable": true
355
+ },
356
+ "decoder2.bn1.bias": {
357
+ "shape": [
358
+ 128
359
+ ],
360
+ "trainable": true
361
+ },
362
+ "decoder2.bn1.running_mean": {
363
+ "shape": [
364
+ 128
365
+ ],
366
+ "trainable": false
367
+ },
368
+ "decoder2.bn1.running_var": {
369
+ "shape": [
370
+ 128
371
+ ],
372
+ "trainable": false
373
+ },
374
+ "decoder2.conv2.c.weight": {
375
+ "shape": [
376
+ 128,
377
+ 128,
378
+ 3,
379
+ 3
380
+ ],
381
+ "trainable": true
382
+ },
383
+ "decoder2.conv2.c.bias": {
384
+ "shape": [
385
+ 128
386
+ ],
387
+ "trainable": true
388
+ },
389
+ "decoder2.bn2.weight": {
390
+ "shape": [
391
+ 128
392
+ ],
393
+ "trainable": true
394
+ },
395
+ "decoder2.bn2.bias": {
396
+ "shape": [
397
+ 128
398
+ ],
399
+ "trainable": true
400
+ },
401
+ "decoder2.bn2.running_mean": {
402
+ "shape": [
403
+ 128
404
+ ],
405
+ "trainable": false
406
+ },
407
+ "decoder2.bn2.running_var": {
408
+ "shape": [
409
+ 128
410
+ ],
411
+ "trainable": false
412
+ },
413
+ "upconv1.c.weight": {
414
+ "shape": [
415
+ 128,
416
+ 64,
417
+ 2,
418
+ 2
419
+ ],
420
+ "trainable": true
421
+ },
422
+ "upconv1.c.bias": {
423
+ "shape": [
424
+ 64
425
+ ],
426
+ "trainable": true
427
+ },
428
+ "decoder1.conv1.c.weight": {
429
+ "shape": [
430
+ 64,
431
+ 128,
432
+ 3,
433
+ 3
434
+ ],
435
+ "trainable": true
436
+ },
437
+ "decoder1.conv1.c.bias": {
438
+ "shape": [
439
+ 64
440
+ ],
441
+ "trainable": true
442
+ },
443
+ "decoder1.bn1.weight": {
444
+ "shape": [
445
+ 64
446
+ ],
447
+ "trainable": true
448
+ },
449
+ "decoder1.bn1.bias": {
450
+ "shape": [
451
+ 64
452
+ ],
453
+ "trainable": true
454
+ },
455
+ "decoder1.bn1.running_mean": {
456
+ "shape": [
457
+ 64
458
+ ],
459
+ "trainable": false
460
+ },
461
+ "decoder1.bn1.running_var": {
462
+ "shape": [
463
+ 64
464
+ ],
465
+ "trainable": false
466
+ },
467
+ "decoder1.conv2.c.weight": {
468
+ "shape": [
469
+ 64,
470
+ 64,
471
+ 3,
472
+ 3
473
+ ],
474
+ "trainable": true
475
+ },
476
+ "decoder1.conv2.c.bias": {
477
+ "shape": [
478
+ 64
479
+ ],
480
+ "trainable": true
481
+ },
482
+ "decoder1.bn2.weight": {
483
+ "shape": [
484
+ 64
485
+ ],
486
+ "trainable": true
487
+ },
488
+ "decoder1.bn2.bias": {
489
+ "shape": [
490
+ 64
491
+ ],
492
+ "trainable": true
493
+ },
494
+ "decoder1.bn2.running_mean": {
495
+ "shape": [
496
+ 64
497
+ ],
498
+ "trainable": false
499
+ },
500
+ "decoder1.bn2.running_var": {
501
+ "shape": [
502
+ 64
503
+ ],
504
+ "trainable": false
505
+ },
506
+ "upconv0.c.weight": {
507
+ "shape": [
508
+ 64,
509
+ 32,
510
+ 2,
511
+ 2
512
+ ],
513
+ "trainable": true
514
+ },
515
+ "upconv0.c.bias": {
516
+ "shape": [
517
+ 32
518
+ ],
519
+ "trainable": true
520
+ },
521
+ "decoder0.conv1.c.weight": {
522
+ "shape": [
523
+ 32,
524
+ 64,
525
+ 3,
526
+ 3
527
+ ],
528
+ "trainable": true
529
+ },
530
+ "decoder0.conv1.c.bias": {
531
+ "shape": [
532
+ 32
533
+ ],
534
+ "trainable": true
535
+ },
536
+ "decoder0.bn1.weight": {
537
+ "shape": [
538
+ 32
539
+ ],
540
+ "trainable": true
541
+ },
542
+ "decoder0.bn1.bias": {
543
+ "shape": [
544
+ 32
545
+ ],
546
+ "trainable": true
547
+ },
548
+ "decoder0.bn1.running_mean": {
549
+ "shape": [
550
+ 32
551
+ ],
552
+ "trainable": false
553
+ },
554
+ "decoder0.bn1.running_var": {
555
+ "shape": [
556
+ 32
557
+ ],
558
+ "trainable": false
559
+ },
560
+ "decoder0.conv2.c.weight": {
561
+ "shape": [
562
+ 32,
563
+ 32,
564
+ 3,
565
+ 3
566
+ ],
567
+ "trainable": true
568
+ },
569
+ "decoder0.conv2.c.bias": {
570
+ "shape": [
571
+ 32
572
+ ],
573
+ "trainable": true
574
+ },
575
+ "decoder0.bn2.weight": {
576
+ "shape": [
577
+ 32
578
+ ],
579
+ "trainable": true
580
+ },
581
+ "decoder0.bn2.bias": {
582
+ "shape": [
583
+ 32
584
+ ],
585
+ "trainable": true
586
+ },
587
+ "decoder0.bn2.running_mean": {
588
+ "shape": [
589
+ 32
590
+ ],
591
+ "trainable": false
592
+ },
593
+ "decoder0.bn2.running_var": {
594
+ "shape": [
595
+ 32
596
+ ],
597
+ "trainable": false
598
+ },
599
+ "final_conv.c.weight": {
600
+ "shape": [
601
+ 3,
602
+ 32,
603
+ 1,
604
+ 1
605
+ ],
606
+ "trainable": true
607
+ },
608
+ "final_conv.c.bias": {
609
+ "shape": [
610
+ 3
611
+ ],
612
+ "trainable": true
613
+ }
614
+ },
615
+ "ops": [
616
+ {
617
+ "op": "conv",
618
+ "x": "input",
619
+ "y": "/encoder0/conv1/c/Conv_output_0",
620
+ "w": "encoder0.conv1.c.weight",
621
+ "b": "encoder0.conv1.c.bias",
622
+ "stride": [
623
+ 1,
624
+ 1
625
+ ]
626
+ },
627
+ {
628
+ "op": "bn",
629
+ "x": "/encoder0/conv1/c/Conv_output_0",
630
+ "y": "/encoder0/bn1/BatchNormalization_output_0",
631
+ "scale": "encoder0.bn1.weight",
632
+ "bias": "encoder0.bn1.bias",
633
+ "mean": "encoder0.bn1.running_mean",
634
+ "var": "encoder0.bn1.running_var",
635
+ "eps": 9.999999747378752e-06
636
+ },
637
+ {
638
+ "op": "relu",
639
+ "x": "/encoder0/bn1/BatchNormalization_output_0",
640
+ "y": "/encoder0/act/Relu_output_0"
641
+ },
642
+ {
643
+ "op": "conv",
644
+ "x": "/encoder0/act/Relu_output_0",
645
+ "y": "/encoder0/conv2/c/Conv_output_0",
646
+ "w": "encoder0.conv2.c.weight",
647
+ "b": "encoder0.conv2.c.bias",
648
+ "stride": [
649
+ 1,
650
+ 1
651
+ ]
652
+ },
653
+ {
654
+ "op": "bn",
655
+ "x": "/encoder0/conv2/c/Conv_output_0",
656
+ "y": "/encoder0/bn2/BatchNormalization_output_0",
657
+ "scale": "encoder0.bn2.weight",
658
+ "bias": "encoder0.bn2.bias",
659
+ "mean": "encoder0.bn2.running_mean",
660
+ "var": "encoder0.bn2.running_var",
661
+ "eps": 9.999999747378752e-06
662
+ },
663
+ {
664
+ "op": "relu",
665
+ "x": "/encoder0/bn2/BatchNormalization_output_0",
666
+ "y": "/encoder0/act_1/Relu_output_0"
667
+ },
668
+ {
669
+ "op": "maxpool",
670
+ "x": "/encoder0/act_1/Relu_output_0",
671
+ "y": "/pool1/p/MaxPool_output_0",
672
+ "k": [
673
+ 2,
674
+ 2
675
+ ],
676
+ "stride": [
677
+ 2,
678
+ 2
679
+ ]
680
+ },
681
+ {
682
+ "op": "conv",
683
+ "x": "/pool1/p/MaxPool_output_0",
684
+ "y": "/encoder1/conv1/c/Conv_output_0",
685
+ "w": "encoder1.conv1.c.weight",
686
+ "b": "encoder1.conv1.c.bias",
687
+ "stride": [
688
+ 1,
689
+ 1
690
+ ]
691
+ },
692
+ {
693
+ "op": "bn",
694
+ "x": "/encoder1/conv1/c/Conv_output_0",
695
+ "y": "/encoder1/bn1/BatchNormalization_output_0",
696
+ "scale": "encoder1.bn1.weight",
697
+ "bias": "encoder1.bn1.bias",
698
+ "mean": "encoder1.bn1.running_mean",
699
+ "var": "encoder1.bn1.running_var",
700
+ "eps": 9.999999747378752e-06
701
+ },
702
+ {
703
+ "op": "relu",
704
+ "x": "/encoder1/bn1/BatchNormalization_output_0",
705
+ "y": "/encoder1/act/Relu_output_0"
706
+ },
707
+ {
708
+ "op": "conv",
709
+ "x": "/encoder1/act/Relu_output_0",
710
+ "y": "/encoder1/conv2/c/Conv_output_0",
711
+ "w": "encoder1.conv2.c.weight",
712
+ "b": "encoder1.conv2.c.bias",
713
+ "stride": [
714
+ 1,
715
+ 1
716
+ ]
717
+ },
718
+ {
719
+ "op": "bn",
720
+ "x": "/encoder1/conv2/c/Conv_output_0",
721
+ "y": "/encoder1/bn2/BatchNormalization_output_0",
722
+ "scale": "encoder1.bn2.weight",
723
+ "bias": "encoder1.bn2.bias",
724
+ "mean": "encoder1.bn2.running_mean",
725
+ "var": "encoder1.bn2.running_var",
726
+ "eps": 9.999999747378752e-06
727
+ },
728
+ {
729
+ "op": "relu",
730
+ "x": "/encoder1/bn2/BatchNormalization_output_0",
731
+ "y": "/encoder1/act_1/Relu_output_0"
732
+ },
733
+ {
734
+ "op": "maxpool",
735
+ "x": "/encoder1/act_1/Relu_output_0",
736
+ "y": "/pool2/p/MaxPool_output_0",
737
+ "k": [
738
+ 2,
739
+ 2
740
+ ],
741
+ "stride": [
742
+ 2,
743
+ 2
744
+ ]
745
+ },
746
+ {
747
+ "op": "conv",
748
+ "x": "/pool2/p/MaxPool_output_0",
749
+ "y": "/encoder2/conv1/c/Conv_output_0",
750
+ "w": "encoder2.conv1.c.weight",
751
+ "b": "encoder2.conv1.c.bias",
752
+ "stride": [
753
+ 1,
754
+ 1
755
+ ]
756
+ },
757
+ {
758
+ "op": "bn",
759
+ "x": "/encoder2/conv1/c/Conv_output_0",
760
+ "y": "/encoder2/bn1/BatchNormalization_output_0",
761
+ "scale": "encoder2.bn1.weight",
762
+ "bias": "encoder2.bn1.bias",
763
+ "mean": "encoder2.bn1.running_mean",
764
+ "var": "encoder2.bn1.running_var",
765
+ "eps": 9.999999747378752e-06
766
+ },
767
+ {
768
+ "op": "relu",
769
+ "x": "/encoder2/bn1/BatchNormalization_output_0",
770
+ "y": "/encoder2/act/Relu_output_0"
771
+ },
772
+ {
773
+ "op": "conv",
774
+ "x": "/encoder2/act/Relu_output_0",
775
+ "y": "/encoder2/conv2/c/Conv_output_0",
776
+ "w": "encoder2.conv2.c.weight",
777
+ "b": "encoder2.conv2.c.bias",
778
+ "stride": [
779
+ 1,
780
+ 1
781
+ ]
782
+ },
783
+ {
784
+ "op": "bn",
785
+ "x": "/encoder2/conv2/c/Conv_output_0",
786
+ "y": "/encoder2/bn2/BatchNormalization_output_0",
787
+ "scale": "encoder2.bn2.weight",
788
+ "bias": "encoder2.bn2.bias",
789
+ "mean": "encoder2.bn2.running_mean",
790
+ "var": "encoder2.bn2.running_var",
791
+ "eps": 9.999999747378752e-06
792
+ },
793
+ {
794
+ "op": "relu",
795
+ "x": "/encoder2/bn2/BatchNormalization_output_0",
796
+ "y": "/encoder2/act_1/Relu_output_0"
797
+ },
798
+ {
799
+ "op": "maxpool",
800
+ "x": "/encoder2/act_1/Relu_output_0",
801
+ "y": "/pool3/p/MaxPool_output_0",
802
+ "k": [
803
+ 2,
804
+ 2
805
+ ],
806
+ "stride": [
807
+ 2,
808
+ 2
809
+ ]
810
+ },
811
+ {
812
+ "op": "conv",
813
+ "x": "/pool3/p/MaxPool_output_0",
814
+ "y": "/bottleneck/conv1/c/Conv_output_0",
815
+ "w": "bottleneck.conv1.c.weight",
816
+ "b": "bottleneck.conv1.c.bias",
817
+ "stride": [
818
+ 1,
819
+ 1
820
+ ]
821
+ },
822
+ {
823
+ "op": "bn",
824
+ "x": "/bottleneck/conv1/c/Conv_output_0",
825
+ "y": "/bottleneck/bn1/BatchNormalization_output_0",
826
+ "scale": "bottleneck.bn1.weight",
827
+ "bias": "bottleneck.bn1.bias",
828
+ "mean": "bottleneck.bn1.running_mean",
829
+ "var": "bottleneck.bn1.running_var",
830
+ "eps": 9.999999747378752e-06
831
+ },
832
+ {
833
+ "op": "relu",
834
+ "x": "/bottleneck/bn1/BatchNormalization_output_0",
835
+ "y": "/bottleneck/act/Relu_output_0"
836
+ },
837
+ {
838
+ "op": "conv",
839
+ "x": "/bottleneck/act/Relu_output_0",
840
+ "y": "/bottleneck/conv2/c/Conv_output_0",
841
+ "w": "bottleneck.conv2.c.weight",
842
+ "b": "bottleneck.conv2.c.bias",
843
+ "stride": [
844
+ 1,
845
+ 1
846
+ ]
847
+ },
848
+ {
849
+ "op": "bn",
850
+ "x": "/bottleneck/conv2/c/Conv_output_0",
851
+ "y": "/bottleneck/bn2/BatchNormalization_output_0",
852
+ "scale": "bottleneck.bn2.weight",
853
+ "bias": "bottleneck.bn2.bias",
854
+ "mean": "bottleneck.bn2.running_mean",
855
+ "var": "bottleneck.bn2.running_var",
856
+ "eps": 9.999999747378752e-06
857
+ },
858
+ {
859
+ "op": "relu",
860
+ "x": "/bottleneck/bn2/BatchNormalization_output_0",
861
+ "y": "/bottleneck/act_1/Relu_output_0"
862
+ },
863
+ {
864
+ "op": "conv_t",
865
+ "x": "/bottleneck/act_1/Relu_output_0",
866
+ "y": "/upconv2/c/ConvTranspose_output_0",
867
+ "w": "upconv2.c.weight",
868
+ "b": "upconv2.c.bias",
869
+ "stride": [
870
+ 2,
871
+ 2
872
+ ]
873
+ },
874
+ {
875
+ "op": "crop",
876
+ "x": "/encoder2/act_1/Relu_output_0",
877
+ "y": "/cc2/Slice_1_output_0",
878
+ "axis": "h",
879
+ "start": 4,
880
+ "end_margin": 4
881
+ },
882
+ {
883
+ "op": "crop",
884
+ "x": "/cc2/Slice_1_output_0",
885
+ "y": "/cc2/Slice_2_output_0",
886
+ "axis": "w",
887
+ "start": 4,
888
+ "end_margin": 4
889
+ },
890
+ {
891
+ "op": "concat",
892
+ "xs": [
893
+ "/cc2/Slice_2_output_0",
894
+ "/upconv2/c/ConvTranspose_output_0"
895
+ ],
896
+ "y": "/cc2/Concat_output_0"
897
+ },
898
+ {
899
+ "op": "conv",
900
+ "x": "/cc2/Concat_output_0",
901
+ "y": "/decoder2/conv1/c/Conv_output_0",
902
+ "w": "decoder2.conv1.c.weight",
903
+ "b": "decoder2.conv1.c.bias",
904
+ "stride": [
905
+ 1,
906
+ 1
907
+ ]
908
+ },
909
+ {
910
+ "op": "bn",
911
+ "x": "/decoder2/conv1/c/Conv_output_0",
912
+ "y": "/decoder2/bn1/BatchNormalization_output_0",
913
+ "scale": "decoder2.bn1.weight",
914
+ "bias": "decoder2.bn1.bias",
915
+ "mean": "decoder2.bn1.running_mean",
916
+ "var": "decoder2.bn1.running_var",
917
+ "eps": 9.999999747378752e-06
918
+ },
919
+ {
920
+ "op": "relu",
921
+ "x": "/decoder2/bn1/BatchNormalization_output_0",
922
+ "y": "/decoder2/act/Relu_output_0"
923
+ },
924
+ {
925
+ "op": "conv",
926
+ "x": "/decoder2/act/Relu_output_0",
927
+ "y": "/decoder2/conv2/c/Conv_output_0",
928
+ "w": "decoder2.conv2.c.weight",
929
+ "b": "decoder2.conv2.c.bias",
930
+ "stride": [
931
+ 1,
932
+ 1
933
+ ]
934
+ },
935
+ {
936
+ "op": "bn",
937
+ "x": "/decoder2/conv2/c/Conv_output_0",
938
+ "y": "/decoder2/bn2/BatchNormalization_output_0",
939
+ "scale": "decoder2.bn2.weight",
940
+ "bias": "decoder2.bn2.bias",
941
+ "mean": "decoder2.bn2.running_mean",
942
+ "var": "decoder2.bn2.running_var",
943
+ "eps": 9.999999747378752e-06
944
+ },
945
+ {
946
+ "op": "relu",
947
+ "x": "/decoder2/bn2/BatchNormalization_output_0",
948
+ "y": "/decoder2/act_1/Relu_output_0"
949
+ },
950
+ {
951
+ "op": "conv_t",
952
+ "x": "/decoder2/act_1/Relu_output_0",
953
+ "y": "/upconv1/c/ConvTranspose_output_0",
954
+ "w": "upconv1.c.weight",
955
+ "b": "upconv1.c.bias",
956
+ "stride": [
957
+ 2,
958
+ 2
959
+ ]
960
+ },
961
+ {
962
+ "op": "crop",
963
+ "x": "/encoder1/act_1/Relu_output_0",
964
+ "y": "/cc1/Slice_1_output_0",
965
+ "axis": "h",
966
+ "start": 16,
967
+ "end_margin": 16
968
+ },
969
+ {
970
+ "op": "crop",
971
+ "x": "/cc1/Slice_1_output_0",
972
+ "y": "/cc1/Slice_2_output_0",
973
+ "axis": "w",
974
+ "start": 16,
975
+ "end_margin": 16
976
+ },
977
+ {
978
+ "op": "concat",
979
+ "xs": [
980
+ "/cc1/Slice_2_output_0",
981
+ "/upconv1/c/ConvTranspose_output_0"
982
+ ],
983
+ "y": "/cc1/Concat_output_0"
984
+ },
985
+ {
986
+ "op": "conv",
987
+ "x": "/cc1/Concat_output_0",
988
+ "y": "/decoder1/conv1/c/Conv_output_0",
989
+ "w": "decoder1.conv1.c.weight",
990
+ "b": "decoder1.conv1.c.bias",
991
+ "stride": [
992
+ 1,
993
+ 1
994
+ ]
995
+ },
996
+ {
997
+ "op": "bn",
998
+ "x": "/decoder1/conv1/c/Conv_output_0",
999
+ "y": "/decoder1/bn1/BatchNormalization_output_0",
1000
+ "scale": "decoder1.bn1.weight",
1001
+ "bias": "decoder1.bn1.bias",
1002
+ "mean": "decoder1.bn1.running_mean",
1003
+ "var": "decoder1.bn1.running_var",
1004
+ "eps": 9.999999747378752e-06
1005
+ },
1006
+ {
1007
+ "op": "relu",
1008
+ "x": "/decoder1/bn1/BatchNormalization_output_0",
1009
+ "y": "/decoder1/act/Relu_output_0"
1010
+ },
1011
+ {
1012
+ "op": "conv",
1013
+ "x": "/decoder1/act/Relu_output_0",
1014
+ "y": "/decoder1/conv2/c/Conv_output_0",
1015
+ "w": "decoder1.conv2.c.weight",
1016
+ "b": "decoder1.conv2.c.bias",
1017
+ "stride": [
1018
+ 1,
1019
+ 1
1020
+ ]
1021
+ },
1022
+ {
1023
+ "op": "bn",
1024
+ "x": "/decoder1/conv2/c/Conv_output_0",
1025
+ "y": "/decoder1/bn2/BatchNormalization_output_0",
1026
+ "scale": "decoder1.bn2.weight",
1027
+ "bias": "decoder1.bn2.bias",
1028
+ "mean": "decoder1.bn2.running_mean",
1029
+ "var": "decoder1.bn2.running_var",
1030
+ "eps": 9.999999747378752e-06
1031
+ },
1032
+ {
1033
+ "op": "relu",
1034
+ "x": "/decoder1/bn2/BatchNormalization_output_0",
1035
+ "y": "/decoder1/act_1/Relu_output_0"
1036
+ },
1037
+ {
1038
+ "op": "conv_t",
1039
+ "x": "/decoder1/act_1/Relu_output_0",
1040
+ "y": "/upconv0/c/ConvTranspose_output_0",
1041
+ "w": "upconv0.c.weight",
1042
+ "b": "upconv0.c.bias",
1043
+ "stride": [
1044
+ 2,
1045
+ 2
1046
+ ]
1047
+ },
1048
+ {
1049
+ "op": "crop",
1050
+ "x": "/encoder0/act_1/Relu_output_0",
1051
+ "y": "/cc0/Slice_1_output_0",
1052
+ "axis": "h",
1053
+ "start": 40,
1054
+ "end_margin": 40
1055
+ },
1056
+ {
1057
+ "op": "crop",
1058
+ "x": "/cc0/Slice_1_output_0",
1059
+ "y": "/cc0/Slice_2_output_0",
1060
+ "axis": "w",
1061
+ "start": 40,
1062
+ "end_margin": 40
1063
+ },
1064
+ {
1065
+ "op": "concat",
1066
+ "xs": [
1067
+ "/cc0/Slice_2_output_0",
1068
+ "/upconv0/c/ConvTranspose_output_0"
1069
+ ],
1070
+ "y": "/cc0/Concat_output_0"
1071
+ },
1072
+ {
1073
+ "op": "conv",
1074
+ "x": "/cc0/Concat_output_0",
1075
+ "y": "/decoder0/conv1/c/Conv_output_0",
1076
+ "w": "decoder0.conv1.c.weight",
1077
+ "b": "decoder0.conv1.c.bias",
1078
+ "stride": [
1079
+ 1,
1080
+ 1
1081
+ ]
1082
+ },
1083
+ {
1084
+ "op": "bn",
1085
+ "x": "/decoder0/conv1/c/Conv_output_0",
1086
+ "y": "/decoder0/bn1/BatchNormalization_output_0",
1087
+ "scale": "decoder0.bn1.weight",
1088
+ "bias": "decoder0.bn1.bias",
1089
+ "mean": "decoder0.bn1.running_mean",
1090
+ "var": "decoder0.bn1.running_var",
1091
+ "eps": 9.999999747378752e-06
1092
+ },
1093
+ {
1094
+ "op": "relu",
1095
+ "x": "/decoder0/bn1/BatchNormalization_output_0",
1096
+ "y": "/decoder0/act/Relu_output_0"
1097
+ },
1098
+ {
1099
+ "op": "conv",
1100
+ "x": "/decoder0/act/Relu_output_0",
1101
+ "y": "/decoder0/conv2/c/Conv_output_0",
1102
+ "w": "decoder0.conv2.c.weight",
1103
+ "b": "decoder0.conv2.c.bias",
1104
+ "stride": [
1105
+ 1,
1106
+ 1
1107
+ ]
1108
+ },
1109
+ {
1110
+ "op": "bn",
1111
+ "x": "/decoder0/conv2/c/Conv_output_0",
1112
+ "y": "/decoder0/bn2/BatchNormalization_output_0",
1113
+ "scale": "decoder0.bn2.weight",
1114
+ "bias": "decoder0.bn2.bias",
1115
+ "mean": "decoder0.bn2.running_mean",
1116
+ "var": "decoder0.bn2.running_var",
1117
+ "eps": 9.999999747378752e-06
1118
+ },
1119
+ {
1120
+ "op": "relu",
1121
+ "x": "/decoder0/bn2/BatchNormalization_output_0",
1122
+ "y": "/decoder0/act_1/Relu_output_0"
1123
+ },
1124
+ {
1125
+ "op": "conv",
1126
+ "x": "/decoder0/act_1/Relu_output_0",
1127
+ "y": "/final_conv/c/Conv_output_0",
1128
+ "w": "final_conv.c.weight",
1129
+ "b": "final_conv.c.bias",
1130
+ "stride": [
1131
+ 1,
1132
+ 1
1133
+ ]
1134
+ }
1135
+ ]
1136
+ }
setup_53_2d/manifest.json CHANGED
@@ -166,5 +166,111 @@
166
  "crop1081": 0.9456
167
  },
168
  "teacher_3d_mean": 0.9535
169
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  }
 
166
  "crop1081": 0.9456
167
  },
168
  "teacher_3d_mean": 0.9535
169
+ },
170
+ "torch_version": "2.9.1",
171
+ "exporter": "torch.onnx.export (TorchScript, dynamo=False)",
172
+ "opset": 18,
173
+ "finetune": {
174
+ "head": {
175
+ "final_layer": "final_conv.c",
176
+ "onnx_node": "/final_conv/c/Conv",
177
+ "features": "/final_conv/Gather_output_0",
178
+ "weight": "final_conv.c.weight",
179
+ "bias": "final_conv.c.bias",
180
+ "in_channels": 32,
181
+ "out_channels": 3,
182
+ "activation": "none (logits)",
183
+ "files": [
184
+ "setup_53_mito_affinities_16nm_2d_in1068_fp16.onnx",
185
+ "setup_53_mito_affinities_16nm_2d_in1068_fp32.onnx",
186
+ "setup_53_mito_affinities_16nm_2d_in300_fp16.onnx",
187
+ "setup_53_mito_affinities_16nm_2d_in300_fp32.onnx",
188
+ "setup_53_mito_affinities_16nm_2d_in556_fp16.onnx",
189
+ "setup_53_mito_affinities_16nm_2d_in556_fp32.onnx"
190
+ ],
191
+ "initializers": "finetune/initializers.json",
192
+ "loss": "masked BCE on logits",
193
+ "note": "train the final 1x1 conv on frozen features"
194
+ },
195
+ "full": {
196
+ "library": "tfjs",
197
+ "files": [
198
+ "finetune/train_graph.json",
199
+ "finetune/cellmap_tfjs_train.js"
200
+ ],
201
+ "weight_map": "identity",
202
+ "initializers": "finetune/initializers.json",
203
+ "write_back": [
204
+ "setup_53_mito_affinities_16nm_2d_in1068_fp16.onnx",
205
+ "setup_53_mito_affinities_16nm_2d_in1068_fp32.onnx",
206
+ "setup_53_mito_affinities_16nm_2d_in300_fp16.onnx",
207
+ "setup_53_mito_affinities_16nm_2d_in300_fp32.onnx",
208
+ "setup_53_mito_affinities_16nm_2d_in556_fp16.onnx",
209
+ "setup_53_mito_affinities_16nm_2d_in556_fp32.onnx"
210
+ ],
211
+ "frozen": [
212
+ "encoder0.bn1.running_mean",
213
+ "encoder0.bn1.running_var",
214
+ "encoder0.bn2.running_mean",
215
+ "encoder0.bn2.running_var",
216
+ "encoder1.bn1.running_mean",
217
+ "encoder1.bn1.running_var",
218
+ "encoder1.bn2.running_mean",
219
+ "encoder1.bn2.running_var",
220
+ "encoder2.bn1.running_mean",
221
+ "encoder2.bn1.running_var",
222
+ "encoder2.bn2.running_mean",
223
+ "encoder2.bn2.running_var",
224
+ "bottleneck.bn1.running_mean",
225
+ "bottleneck.bn1.running_var",
226
+ "bottleneck.bn2.running_mean",
227
+ "bottleneck.bn2.running_var",
228
+ "decoder2.bn1.running_mean",
229
+ "decoder2.bn1.running_var",
230
+ "decoder2.bn2.running_mean",
231
+ "decoder2.bn2.running_var",
232
+ "decoder1.bn1.running_mean",
233
+ "decoder1.bn1.running_var",
234
+ "decoder1.bn2.running_mean",
235
+ "decoder1.bn2.running_var",
236
+ "decoder0.bn1.running_mean",
237
+ "decoder0.bn1.running_var",
238
+ "decoder0.bn2.running_mean",
239
+ "decoder0.bn2.running_var"
240
+ ],
241
+ "note": "params named as the ONNX initializers; BatchNorm running stats frozen",
242
+ "spike": {
243
+ "setup": "TF.js 4.22.0 WebGPU backend, Chrome on macOS, Apple GPU (metal-3, unified memory); batch 1, fp32, masked BCE on logits, Adam lr 1e-4; graph = finetune/train_graph.json, weights read from the served fp32 .onnx; median of 8 steps after 2 warm-up; peak = tf.profile peakBytes above baseline (tracked tensors; the WebGPU buffer pool holds more)",
244
+ "date": "2026-10-16",
245
+ "params": 1927907,
246
+ "full": {
247
+ "300": {
248
+ "step_ms": 294,
249
+ "peak_mb": 320
250
+ },
251
+ "556": {
252
+ "step_ms": 1178,
253
+ "peak_mb": 1307
254
+ }
255
+ },
256
+ "head_through_full_graph": {
257
+ "300": {
258
+ "step_ms": 31
259
+ },
260
+ "556": {
261
+ "step_ms": 133
262
+ }
263
+ },
264
+ "forward_ms": {
265
+ "300": 11,
266
+ "556": 41
267
+ },
268
+ "tfjs_webgpu_vs_ort_webgpu_556": {
269
+ "max_abs": 9.06e-06,
270
+ "flips": 0
271
+ }
272
+ }
273
+ }
274
+ },
275
+ "source_repo": "cellmap/mito-aff-unetiso-setup-53-2d"
276
  }
setup_54/finetune/initializers.json ADDED
The diff for this file is too large to render. See raw diff
 
setup_54/finetune/weight_map.json ADDED
@@ -0,0 +1,438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stem.conv1.convs.0.weight": {
3
+ "torch": "stem.conv1.weight",
4
+ "transform": "[:, :, 0]"
5
+ },
6
+ "stem.conv1.convs.0.bias": {
7
+ "torch": "stem.conv1.bias",
8
+ "transform": "identity"
9
+ },
10
+ "stem.conv1.convs.1.weight": {
11
+ "torch": "stem.conv1.weight",
12
+ "transform": "[:, :, 1]"
13
+ },
14
+ "stem.conv1.convs.2.weight": {
15
+ "torch": "stem.conv1.weight",
16
+ "transform": "[:, :, 2]"
17
+ },
18
+ "stem.norm1.weight": {
19
+ "torch": "stem.norm1.weight",
20
+ "transform": "identity"
21
+ },
22
+ "stem.norm1.bias": {
23
+ "torch": "stem.norm1.bias",
24
+ "transform": "identity"
25
+ },
26
+ "stem.conv2.convs.0.weight": {
27
+ "torch": "stem.conv2.weight",
28
+ "transform": "[:, :, 0]"
29
+ },
30
+ "stem.conv2.convs.0.bias": {
31
+ "torch": "stem.conv2.bias",
32
+ "transform": "identity"
33
+ },
34
+ "stem.conv2.convs.1.weight": {
35
+ "torch": "stem.conv2.weight",
36
+ "transform": "[:, :, 1]"
37
+ },
38
+ "stem.conv2.convs.2.weight": {
39
+ "torch": "stem.conv2.weight",
40
+ "transform": "[:, :, 2]"
41
+ },
42
+ "stem.norm2.weight": {
43
+ "torch": "stem.norm2.weight",
44
+ "transform": "identity"
45
+ },
46
+ "stem.norm2.bias": {
47
+ "torch": "stem.norm2.bias",
48
+ "transform": "identity"
49
+ },
50
+ "stem.skip.convs.0.weight": {
51
+ "torch": "stem.skip.weight",
52
+ "transform": "[:, :, 0]"
53
+ },
54
+ "stem.skip.convs.0.bias": {
55
+ "torch": "stem.skip.bias",
56
+ "transform": "identity"
57
+ },
58
+ "downs.0.conv.convs.0.weight": {
59
+ "torch": "downs.0.conv.weight",
60
+ "transform": "[:, :, 0]"
61
+ },
62
+ "downs.0.conv.convs.0.bias": {
63
+ "torch": "downs.0.conv.bias",
64
+ "transform": "identity"
65
+ },
66
+ "downs.0.conv.convs.1.weight": {
67
+ "torch": "downs.0.conv.weight",
68
+ "transform": "[:, :, 1]"
69
+ },
70
+ "downs.1.conv.convs.0.weight": {
71
+ "torch": "downs.1.conv.weight",
72
+ "transform": "[:, :, 0]"
73
+ },
74
+ "downs.1.conv.convs.0.bias": {
75
+ "torch": "downs.1.conv.bias",
76
+ "transform": "identity"
77
+ },
78
+ "downs.1.conv.convs.1.weight": {
79
+ "torch": "downs.1.conv.weight",
80
+ "transform": "[:, :, 1]"
81
+ },
82
+ "downs.2.conv.convs.0.weight": {
83
+ "torch": "downs.2.conv.weight",
84
+ "transform": "[:, :, 0]"
85
+ },
86
+ "downs.2.conv.convs.0.bias": {
87
+ "torch": "downs.2.conv.bias",
88
+ "transform": "identity"
89
+ },
90
+ "downs.2.conv.convs.1.weight": {
91
+ "torch": "downs.2.conv.weight",
92
+ "transform": "[:, :, 1]"
93
+ },
94
+ "enc_blocks.0.0.conv1.convs.0.weight": {
95
+ "torch": "enc_blocks.0.0.conv1.weight",
96
+ "transform": "[:, :, 0]"
97
+ },
98
+ "enc_blocks.0.0.conv1.convs.0.bias": {
99
+ "torch": "enc_blocks.0.0.conv1.bias",
100
+ "transform": "identity"
101
+ },
102
+ "enc_blocks.0.0.conv1.convs.1.weight": {
103
+ "torch": "enc_blocks.0.0.conv1.weight",
104
+ "transform": "[:, :, 1]"
105
+ },
106
+ "enc_blocks.0.0.conv1.convs.2.weight": {
107
+ "torch": "enc_blocks.0.0.conv1.weight",
108
+ "transform": "[:, :, 2]"
109
+ },
110
+ "enc_blocks.0.0.norm1.weight": {
111
+ "torch": "enc_blocks.0.0.norm1.weight",
112
+ "transform": "identity"
113
+ },
114
+ "enc_blocks.0.0.norm1.bias": {
115
+ "torch": "enc_blocks.0.0.norm1.bias",
116
+ "transform": "identity"
117
+ },
118
+ "enc_blocks.0.0.conv2.convs.0.weight": {
119
+ "torch": "enc_blocks.0.0.conv2.weight",
120
+ "transform": "[:, :, 0]"
121
+ },
122
+ "enc_blocks.0.0.conv2.convs.0.bias": {
123
+ "torch": "enc_blocks.0.0.conv2.bias",
124
+ "transform": "identity"
125
+ },
126
+ "enc_blocks.0.0.conv2.convs.1.weight": {
127
+ "torch": "enc_blocks.0.0.conv2.weight",
128
+ "transform": "[:, :, 1]"
129
+ },
130
+ "enc_blocks.0.0.conv2.convs.2.weight": {
131
+ "torch": "enc_blocks.0.0.conv2.weight",
132
+ "transform": "[:, :, 2]"
133
+ },
134
+ "enc_blocks.0.0.norm2.weight": {
135
+ "torch": "enc_blocks.0.0.norm2.weight",
136
+ "transform": "identity"
137
+ },
138
+ "enc_blocks.0.0.norm2.bias": {
139
+ "torch": "enc_blocks.0.0.norm2.bias",
140
+ "transform": "identity"
141
+ },
142
+ "enc_blocks.1.0.conv1.convs.0.weight": {
143
+ "torch": "enc_blocks.1.0.conv1.weight",
144
+ "transform": "[:, :, 0]"
145
+ },
146
+ "enc_blocks.1.0.conv1.convs.0.bias": {
147
+ "torch": "enc_blocks.1.0.conv1.bias",
148
+ "transform": "identity"
149
+ },
150
+ "enc_blocks.1.0.conv1.convs.1.weight": {
151
+ "torch": "enc_blocks.1.0.conv1.weight",
152
+ "transform": "[:, :, 1]"
153
+ },
154
+ "enc_blocks.1.0.conv1.convs.2.weight": {
155
+ "torch": "enc_blocks.1.0.conv1.weight",
156
+ "transform": "[:, :, 2]"
157
+ },
158
+ "enc_blocks.1.0.norm1.weight": {
159
+ "torch": "enc_blocks.1.0.norm1.weight",
160
+ "transform": "identity"
161
+ },
162
+ "enc_blocks.1.0.norm1.bias": {
163
+ "torch": "enc_blocks.1.0.norm1.bias",
164
+ "transform": "identity"
165
+ },
166
+ "enc_blocks.1.0.conv2.convs.0.weight": {
167
+ "torch": "enc_blocks.1.0.conv2.weight",
168
+ "transform": "[:, :, 0]"
169
+ },
170
+ "enc_blocks.1.0.conv2.convs.0.bias": {
171
+ "torch": "enc_blocks.1.0.conv2.bias",
172
+ "transform": "identity"
173
+ },
174
+ "enc_blocks.1.0.conv2.convs.1.weight": {
175
+ "torch": "enc_blocks.1.0.conv2.weight",
176
+ "transform": "[:, :, 1]"
177
+ },
178
+ "enc_blocks.1.0.conv2.convs.2.weight": {
179
+ "torch": "enc_blocks.1.0.conv2.weight",
180
+ "transform": "[:, :, 2]"
181
+ },
182
+ "enc_blocks.1.0.norm2.weight": {
183
+ "torch": "enc_blocks.1.0.norm2.weight",
184
+ "transform": "identity"
185
+ },
186
+ "enc_blocks.1.0.norm2.bias": {
187
+ "torch": "enc_blocks.1.0.norm2.bias",
188
+ "transform": "identity"
189
+ },
190
+ "enc_blocks.2.0.conv1.convs.0.weight": {
191
+ "torch": "enc_blocks.2.0.conv1.weight",
192
+ "transform": "[:, :, 0]"
193
+ },
194
+ "enc_blocks.2.0.conv1.convs.0.bias": {
195
+ "torch": "enc_blocks.2.0.conv1.bias",
196
+ "transform": "identity"
197
+ },
198
+ "enc_blocks.2.0.conv1.convs.1.weight": {
199
+ "torch": "enc_blocks.2.0.conv1.weight",
200
+ "transform": "[:, :, 1]"
201
+ },
202
+ "enc_blocks.2.0.conv1.convs.2.weight": {
203
+ "torch": "enc_blocks.2.0.conv1.weight",
204
+ "transform": "[:, :, 2]"
205
+ },
206
+ "enc_blocks.2.0.norm1.weight": {
207
+ "torch": "enc_blocks.2.0.norm1.weight",
208
+ "transform": "identity"
209
+ },
210
+ "enc_blocks.2.0.norm1.bias": {
211
+ "torch": "enc_blocks.2.0.norm1.bias",
212
+ "transform": "identity"
213
+ },
214
+ "enc_blocks.2.0.conv2.convs.0.weight": {
215
+ "torch": "enc_blocks.2.0.conv2.weight",
216
+ "transform": "[:, :, 0]"
217
+ },
218
+ "enc_blocks.2.0.conv2.convs.0.bias": {
219
+ "torch": "enc_blocks.2.0.conv2.bias",
220
+ "transform": "identity"
221
+ },
222
+ "enc_blocks.2.0.conv2.convs.1.weight": {
223
+ "torch": "enc_blocks.2.0.conv2.weight",
224
+ "transform": "[:, :, 1]"
225
+ },
226
+ "enc_blocks.2.0.conv2.convs.2.weight": {
227
+ "torch": "enc_blocks.2.0.conv2.weight",
228
+ "transform": "[:, :, 2]"
229
+ },
230
+ "enc_blocks.2.0.norm2.weight": {
231
+ "torch": "enc_blocks.2.0.norm2.weight",
232
+ "transform": "identity"
233
+ },
234
+ "enc_blocks.2.0.norm2.bias": {
235
+ "torch": "enc_blocks.2.0.norm2.bias",
236
+ "transform": "identity"
237
+ },
238
+ "ups.0.reduce.convs.0.weight": {
239
+ "torch": "ups.0.reduce.weight",
240
+ "transform": "[:, :, 0]"
241
+ },
242
+ "ups.0.reduce.convs.0.bias": {
243
+ "torch": "ups.0.reduce.bias",
244
+ "transform": "identity"
245
+ },
246
+ "ups.1.reduce.convs.0.weight": {
247
+ "torch": "ups.1.reduce.weight",
248
+ "transform": "[:, :, 0]"
249
+ },
250
+ "ups.1.reduce.convs.0.bias": {
251
+ "torch": "ups.1.reduce.bias",
252
+ "transform": "identity"
253
+ },
254
+ "ups.2.reduce.convs.0.weight": {
255
+ "torch": "ups.2.reduce.weight",
256
+ "transform": "[:, :, 0]"
257
+ },
258
+ "ups.2.reduce.convs.0.bias": {
259
+ "torch": "ups.2.reduce.bias",
260
+ "transform": "identity"
261
+ },
262
+ "dec_blocks.0.0.conv1.convs.0.weight": {
263
+ "torch": "dec_blocks.0.0.conv1.weight",
264
+ "transform": "[:, :, 0]"
265
+ },
266
+ "dec_blocks.0.0.conv1.convs.0.bias": {
267
+ "torch": "dec_blocks.0.0.conv1.bias",
268
+ "transform": "identity"
269
+ },
270
+ "dec_blocks.0.0.conv1.convs.1.weight": {
271
+ "torch": "dec_blocks.0.0.conv1.weight",
272
+ "transform": "[:, :, 1]"
273
+ },
274
+ "dec_blocks.0.0.conv1.convs.2.weight": {
275
+ "torch": "dec_blocks.0.0.conv1.weight",
276
+ "transform": "[:, :, 2]"
277
+ },
278
+ "dec_blocks.0.0.norm1.weight": {
279
+ "torch": "dec_blocks.0.0.norm1.weight",
280
+ "transform": "identity"
281
+ },
282
+ "dec_blocks.0.0.norm1.bias": {
283
+ "torch": "dec_blocks.0.0.norm1.bias",
284
+ "transform": "identity"
285
+ },
286
+ "dec_blocks.0.0.conv2.convs.0.weight": {
287
+ "torch": "dec_blocks.0.0.conv2.weight",
288
+ "transform": "[:, :, 0]"
289
+ },
290
+ "dec_blocks.0.0.conv2.convs.0.bias": {
291
+ "torch": "dec_blocks.0.0.conv2.bias",
292
+ "transform": "identity"
293
+ },
294
+ "dec_blocks.0.0.conv2.convs.1.weight": {
295
+ "torch": "dec_blocks.0.0.conv2.weight",
296
+ "transform": "[:, :, 1]"
297
+ },
298
+ "dec_blocks.0.0.conv2.convs.2.weight": {
299
+ "torch": "dec_blocks.0.0.conv2.weight",
300
+ "transform": "[:, :, 2]"
301
+ },
302
+ "dec_blocks.0.0.norm2.weight": {
303
+ "torch": "dec_blocks.0.0.norm2.weight",
304
+ "transform": "identity"
305
+ },
306
+ "dec_blocks.0.0.norm2.bias": {
307
+ "torch": "dec_blocks.0.0.norm2.bias",
308
+ "transform": "identity"
309
+ },
310
+ "dec_blocks.0.0.skip.convs.0.weight": {
311
+ "torch": "dec_blocks.0.0.skip.weight",
312
+ "transform": "[:, :, 0]"
313
+ },
314
+ "dec_blocks.0.0.skip.convs.0.bias": {
315
+ "torch": "dec_blocks.0.0.skip.bias",
316
+ "transform": "identity"
317
+ },
318
+ "dec_blocks.1.0.conv1.convs.0.weight": {
319
+ "torch": "dec_blocks.1.0.conv1.weight",
320
+ "transform": "[:, :, 0]"
321
+ },
322
+ "dec_blocks.1.0.conv1.convs.0.bias": {
323
+ "torch": "dec_blocks.1.0.conv1.bias",
324
+ "transform": "identity"
325
+ },
326
+ "dec_blocks.1.0.conv1.convs.1.weight": {
327
+ "torch": "dec_blocks.1.0.conv1.weight",
328
+ "transform": "[:, :, 1]"
329
+ },
330
+ "dec_blocks.1.0.conv1.convs.2.weight": {
331
+ "torch": "dec_blocks.1.0.conv1.weight",
332
+ "transform": "[:, :, 2]"
333
+ },
334
+ "dec_blocks.1.0.norm1.weight": {
335
+ "torch": "dec_blocks.1.0.norm1.weight",
336
+ "transform": "identity"
337
+ },
338
+ "dec_blocks.1.0.norm1.bias": {
339
+ "torch": "dec_blocks.1.0.norm1.bias",
340
+ "transform": "identity"
341
+ },
342
+ "dec_blocks.1.0.conv2.convs.0.weight": {
343
+ "torch": "dec_blocks.1.0.conv2.weight",
344
+ "transform": "[:, :, 0]"
345
+ },
346
+ "dec_blocks.1.0.conv2.convs.0.bias": {
347
+ "torch": "dec_blocks.1.0.conv2.bias",
348
+ "transform": "identity"
349
+ },
350
+ "dec_blocks.1.0.conv2.convs.1.weight": {
351
+ "torch": "dec_blocks.1.0.conv2.weight",
352
+ "transform": "[:, :, 1]"
353
+ },
354
+ "dec_blocks.1.0.conv2.convs.2.weight": {
355
+ "torch": "dec_blocks.1.0.conv2.weight",
356
+ "transform": "[:, :, 2]"
357
+ },
358
+ "dec_blocks.1.0.norm2.weight": {
359
+ "torch": "dec_blocks.1.0.norm2.weight",
360
+ "transform": "identity"
361
+ },
362
+ "dec_blocks.1.0.norm2.bias": {
363
+ "torch": "dec_blocks.1.0.norm2.bias",
364
+ "transform": "identity"
365
+ },
366
+ "dec_blocks.1.0.skip.convs.0.weight": {
367
+ "torch": "dec_blocks.1.0.skip.weight",
368
+ "transform": "[:, :, 0]"
369
+ },
370
+ "dec_blocks.1.0.skip.convs.0.bias": {
371
+ "torch": "dec_blocks.1.0.skip.bias",
372
+ "transform": "identity"
373
+ },
374
+ "dec_blocks.2.0.conv1.convs.0.weight": {
375
+ "torch": "dec_blocks.2.0.conv1.weight",
376
+ "transform": "[:, :, 0]"
377
+ },
378
+ "dec_blocks.2.0.conv1.convs.0.bias": {
379
+ "torch": "dec_blocks.2.0.conv1.bias",
380
+ "transform": "identity"
381
+ },
382
+ "dec_blocks.2.0.conv1.convs.1.weight": {
383
+ "torch": "dec_blocks.2.0.conv1.weight",
384
+ "transform": "[:, :, 1]"
385
+ },
386
+ "dec_blocks.2.0.conv1.convs.2.weight": {
387
+ "torch": "dec_blocks.2.0.conv1.weight",
388
+ "transform": "[:, :, 2]"
389
+ },
390
+ "dec_blocks.2.0.norm1.weight": {
391
+ "torch": "dec_blocks.2.0.norm1.weight",
392
+ "transform": "identity"
393
+ },
394
+ "dec_blocks.2.0.norm1.bias": {
395
+ "torch": "dec_blocks.2.0.norm1.bias",
396
+ "transform": "identity"
397
+ },
398
+ "dec_blocks.2.0.conv2.convs.0.weight": {
399
+ "torch": "dec_blocks.2.0.conv2.weight",
400
+ "transform": "[:, :, 0]"
401
+ },
402
+ "dec_blocks.2.0.conv2.convs.0.bias": {
403
+ "torch": "dec_blocks.2.0.conv2.bias",
404
+ "transform": "identity"
405
+ },
406
+ "dec_blocks.2.0.conv2.convs.1.weight": {
407
+ "torch": "dec_blocks.2.0.conv2.weight",
408
+ "transform": "[:, :, 1]"
409
+ },
410
+ "dec_blocks.2.0.conv2.convs.2.weight": {
411
+ "torch": "dec_blocks.2.0.conv2.weight",
412
+ "transform": "[:, :, 2]"
413
+ },
414
+ "dec_blocks.2.0.norm2.weight": {
415
+ "torch": "dec_blocks.2.0.norm2.weight",
416
+ "transform": "identity"
417
+ },
418
+ "dec_blocks.2.0.norm2.bias": {
419
+ "torch": "dec_blocks.2.0.norm2.bias",
420
+ "transform": "identity"
421
+ },
422
+ "dec_blocks.2.0.skip.convs.0.weight": {
423
+ "torch": "dec_blocks.2.0.skip.weight",
424
+ "transform": "[:, :, 0]"
425
+ },
426
+ "dec_blocks.2.0.skip.convs.0.bias": {
427
+ "torch": "dec_blocks.2.0.skip.bias",
428
+ "transform": "identity"
429
+ },
430
+ "final_conv.convs.0.weight": {
431
+ "torch": "final_conv.weight",
432
+ "transform": "[:, :, 0]"
433
+ },
434
+ "final_conv.convs.0.bias": {
435
+ "torch": "final_conv.bias",
436
+ "transform": "identity"
437
+ }
438
+ }
setup_54/manifest.json CHANGED
@@ -178,5 +178,40 @@
178
  "ort_cpu_s": 0.96
179
  }
180
  ],
181
- "source_repo": "cellmap/mito-aff-resunet-setup-54"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  }
 
178
  "ort_cpu_s": 0.96
179
  }
180
  ],
181
+ "source_repo": "cellmap/mito-aff-resunet-setup-54",
182
+ "torch_version": "2.9.1",
183
+ "exporter": "torch.onnx.export (TorchScript, dynamo=False)",
184
+ "opset": 18,
185
+ "finetune": {
186
+ "head": {
187
+ "final_layer": "final_conv.convs.0",
188
+ "onnx_node": "/final_conv/convs.0/Conv",
189
+ "features": "/final_conv/Slice_output_0",
190
+ "weight": "final_conv.convs.0.weight",
191
+ "bias": "final_conv.convs.0.bias",
192
+ "in_channels": 40,
193
+ "out_channels": 3,
194
+ "activation": "none (logits)",
195
+ "files": [
196
+ "setup_54_mito_affinities_16nm_in116_fp16.onnx",
197
+ "setup_54_mito_affinities_16nm_in116_fp32.onnx",
198
+ "setup_54_mito_affinities_16nm_in132_fp16.onnx",
199
+ "setup_54_mito_affinities_16nm_in132_fp32.onnx",
200
+ "setup_54_mito_affinities_16nm_in148_fp16.onnx",
201
+ "setup_54_mito_affinities_16nm_in148_fp32.onnx"
202
+ ],
203
+ "initializers": "finetune/initializers.json",
204
+ "loss": "masked BCE on logits",
205
+ "note": "train the final 1x1 conv on frozen features",
206
+ "torch_weight": {
207
+ "torch": "final_conv.weight",
208
+ "transform": "[:, :, 0]"
209
+ },
210
+ "torch_bias": {
211
+ "torch": "final_conv.bias",
212
+ "transform": "identity"
213
+ },
214
+ "weight_map": "finetune/weight_map.json"
215
+ }
216
+ }
217
  }
setup_54_2d/finetune/cellmap_tfjs_train.js ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Reference runtime for cellmap-flow browser finetuning ("full" mode, library tfjs).
2
+ // Builds a trainable TF.js network from finetune/train_graph.json, takes its weights from the served .onnx
3
+ // (finetune/initializers.json gives the byte offset of every initializer), and writes trained weights back into
4
+ // the .onnx bytes in place, so the result is served by onnxruntime-web exactly as before.
5
+ //
6
+ // const g = await (await fetch(base + "finetune/train_graph.json")).json();
7
+ // const offs = (await (await fetch(base + "finetune/initializers.json")).json())[onnxFile];
8
+ // const onnxBytes = new Uint8Array(await (await fetch(base + onnxFile)).arrayBuffer());
9
+ // const net = buildNet(tf, g, readOnnxWeights(onnxBytes, offs, Object.keys(g.params)));
10
+ // const opt = tf.train.adam(1e-4);
11
+ // const loss = trainStep(tf, net, opt, x, target, mask); // x [1,H,W,1]; target/mask [1,H-ctx,W-ctx,C]
12
+ // const newBytes = writeOnnxWeights(onnxBytes, offs, net.exportWeights());
13
+ //
14
+ // Tensors are NHWC. ONNX conv weights [O,I,kh,kw] -> tf [kh,kw,I,O]; ConvTranspose [I,O,kh,kw] -> tf [kh,kw,O,I].
15
+
16
+ function f16ToF32(h) {
17
+ const s = (h & 0x8000) ? -1 : 1, e = (h >> 10) & 0x1f, f = h & 0x3ff;
18
+ if (e === 0) return s * Math.pow(2, -14) * (f / 1024);
19
+ if (e === 31) return f ? NaN : s * Infinity;
20
+ return s * Math.pow(2, e - 15) * (1 + f / 1024);
21
+ }
22
+ const _f = new Float32Array(1), _u = new Uint32Array(_f.buffer);
23
+ function f32ToF16(v) {
24
+ _f[0] = v; const x = _u[0];
25
+ const s = (x >>> 16) & 0x8000; let e = ((x >>> 23) & 0xff) - 112; let m = x & 0x7fffff;
26
+ if (e <= 0) { if (e < -10) return s; m |= 0x800000; const t = 14 - e; const r = (m >> t) + ((m >> (t - 1)) & 1); return s | r; }
27
+ if (e >= 31) return s | 0x7c00 | (((x >>> 23) & 0xff) === 0xff && m ? 0x200 : 0);
28
+ let r = s | (e << 10) | (m >> 13);
29
+ if (m & 0x1000) r += 1; // round half up on the dropped bits (good enough for weights)
30
+ return r;
31
+ }
32
+
33
+ export function readOnnxWeights(bytes, offs, names) {
34
+ const out = {};
35
+ for (const n of names) {
36
+ const o = offs[n];
37
+ if (!o) throw new Error(`initializer ${n} not in file`);
38
+ const dv = new DataView(bytes.buffer, bytes.byteOffset + o.offset, o.nbytes);
39
+ if (o.dtype === "float32") {
40
+ const a = new Float32Array(o.nbytes / 4);
41
+ for (let i = 0; i < a.length; i++) a[i] = dv.getFloat32(4 * i, true);
42
+ out[n] = a;
43
+ } else if (o.dtype === "float16") {
44
+ const a = new Float32Array(o.nbytes / 2);
45
+ for (let i = 0; i < a.length; i++) a[i] = f16ToF32(dv.getUint16(2 * i, true));
46
+ out[n] = a;
47
+ } else throw new Error(`${n}: dtype ${o.dtype} is not writable`);
48
+ }
49
+ return out;
50
+ }
51
+
52
+ export function writeOnnxWeights(bytes, offs, weights) {
53
+ const b = new Uint8Array(bytes); // copy
54
+ for (const [n, a] of Object.entries(weights)) {
55
+ const o = offs[n];
56
+ const dv = new DataView(b.buffer, b.byteOffset + o.offset, o.nbytes);
57
+ if (o.dtype === "float32") { if (a.length * 4 !== o.nbytes) throw new Error(n); a.forEach((v, i) => dv.setFloat32(4 * i, v, true)); }
58
+ else if (o.dtype === "float16") { if (a.length * 2 !== o.nbytes) throw new Error(n); a.forEach((v, i) => dv.setUint16(2 * i, f32ToF16(v), true)); }
59
+ else throw new Error(`${n}: dtype ${o.dtype} is not writable`);
60
+ }
61
+ return b;
62
+ }
63
+
64
+ export function buildNet(tf, graph, weights, { trainable = null } = {}) {
65
+ // trainable: optional Set of param names to train (default: graph's trainable flags); e.g. head only.
66
+ const P = {};
67
+ const kind = {};
68
+ for (const op of graph.ops) {
69
+ if (op.op === "conv") kind[op.w] = "conv";
70
+ if (op.op === "conv_t") kind[op.w] = "conv_t";
71
+ }
72
+ for (const [n, meta] of Object.entries(graph.params)) {
73
+ let t = tf.tensor(weights[n], meta.shape, "float32");
74
+ if (kind[n] === "conv") t = tf.transpose(t, [2, 3, 1, 0]);
75
+ else if (kind[n] === "conv_t") t = tf.transpose(t, [2, 3, 1, 0]);
76
+ const train = trainable ? trainable.has(n) : meta.trainable;
77
+ P[n] = train ? tf.variable(t, true) : t; // unnamed: tf variable names are global, several nets may coexist
78
+ if (train) t.dispose();
79
+ }
80
+ function forward(x) {
81
+ const T = { [graph.input]: x };
82
+ for (const op of graph.ops) {
83
+ const a = T[op.x];
84
+ let y;
85
+ switch (op.op) {
86
+ case "conv": y = tf.conv2d(a, P[op.w], op.stride, "valid"); if (op.b) y = tf.add(y, P[op.b]); break;
87
+ case "conv_t": {
88
+ const [kh, kw, o] = P[op.w].shape, [n, h, w] = a.shape;
89
+ y = tf.conv2dTranspose(a, P[op.w], [n, (h - 1) * op.stride[0] + kh, (w - 1) * op.stride[1] + kw, o], op.stride, "valid");
90
+ if (op.b) y = tf.add(y, P[op.b]); break;
91
+ }
92
+ case "maxpool": y = tf.maxPool(a, op.k, op.stride, "valid"); break;
93
+ case "bn": y = tf.batchNorm(a, P[op.mean], P[op.var], P[op.bias], P[op.scale], op.eps); break; // frozen stats
94
+ case "inorm": { const { mean, variance } = tf.moments(a, [1, 2], true);
95
+ y = tf.add(tf.mul(tf.div(tf.sub(a, mean), tf.sqrt(tf.add(variance, op.eps))), P[op.scale]), P[op.bias]); break; }
96
+ case "relu": y = tf.relu(a); break;
97
+ case "add": y = tf.add(a, T[op.x2]); break;
98
+ case "concat": y = tf.concat(op.xs.map(k => T[k]), 3); break;
99
+ case "crop": { const s = a.shape, ax = op.axis === "h" ? 1 : 2, begin = [0, 0, 0, 0], size = [-1, -1, -1, -1];
100
+ begin[ax] = op.start; size[ax] = s[ax] - op.start - op.end_margin; y = tf.slice(a, begin, size); break; }
101
+ case "upsample": { const [n, h, w, c] = a.shape, f = op.factor; // nearest = repeat; rank-3 tiles (tf has no
102
+ const yw = tf.reshape(tf.tile(tf.reshape(a, [n * h * w, 1, c]), [1, f, 1]), [n * h, 1, w * f * c]); // rank-6 tile grad)
103
+ y = tf.reshape(tf.tile(yw, [1, f, 1]), [n, h * f, w * f, c]); break; }
104
+ default: throw new Error(`op ${op.op}`);
105
+ }
106
+ T[op.y] = y;
107
+ }
108
+ return T[graph.output];
109
+ }
110
+ function exportWeights() { // back to ONNX layout, trainable params only
111
+ const out = {};
112
+ for (const [n, t] of Object.entries(P)) {
113
+ if (!(t instanceof tf.Variable)) continue;
114
+ const v = kind[n] ? tf.transpose(t, [3, 2, 0, 1]) : t;
115
+ out[n] = v.dataSync().slice();
116
+ if (v !== t) v.dispose();
117
+ }
118
+ return out;
119
+ }
120
+ const vars = Object.values(P).filter(t => t instanceof tf.Variable);
121
+ return { forward, exportWeights, vars, params: P, context: graph.context };
122
+ }
123
+
124
+ // masked BCE on logits: mean over mask>0 of max(z,0) - z*t + log(1+exp(-|z|))
125
+ export function maskedBce(tf, z, t, m) {
126
+ return tf.tidy(() => {
127
+ const l = tf.add(tf.sub(tf.relu(z), tf.mul(z, t)), tf.log1p(tf.exp(tf.neg(tf.abs(z)))));
128
+ return tf.div(tf.sum(tf.mul(l, m)), tf.maximum(tf.sum(m), 1));
129
+ });
130
+ }
131
+
132
+ export function trainStep(tf, net, opt, x, target, mask) {
133
+ return opt.minimize(() => maskedBce(tf, net.forward(x), target, mask), true, net.vars);
134
+ }
setup_54_2d/finetune/finetune_spike.html ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <meta charset="utf-8">
3
+ <title>cellmap-flow finetune spike</title>
4
+ <!-- Times one full-network training step (masked BCE on logits, Adam, batch 1, fp32) of a 2D student in TF.js WebGPU,
5
+ built from the model folder's finetune/ files, and checks the TF.js forward against onnxruntime-web.
6
+ Open over https (WebGPU needs a secure context), keep the tab in the foreground.
7
+ ?model=setup_53_2d&sizes=300,556 (repo cellmap/onnx-web-models) -->
8
+ <pre id="log">loading…</pre>
9
+ <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@4.22.0/dist/tf.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-webgpu@4.22.0/dist/tf-backend-webgpu.min.js"></script>
11
+ <script type="module">
12
+ const q = new URLSearchParams(location.search);
13
+ const model = q.get("model") || "setup_53_2d", sizes = (q.get("sizes") || "300,556").split(",").map(Number);
14
+ const repo = q.get("repo") || "https://huggingface.co/cellmap/onnx-web-models/resolve/main/";
15
+ const base = repo + model + "/";
16
+ const log = s => { document.getElementById("log").textContent += "\n" + s; console.log(s); };
17
+ const rt = await import(base + "finetune/cellmap_tfjs_train.js");
18
+ await tf.setBackend("webgpu"); await tf.ready();
19
+ const man = await (await fetch(base + "manifest.json")).json();
20
+ const graph = await (await fetch(base + "finetune/train_graph.json")).json();
21
+ const offsAll = await (await fetch(base + "finetune/initializers.json")).json();
22
+ const ort = await import("https://cdn.jsdelivr.net/npm/onnxruntime-web@1.27.0-dev.20260506-673c3320fc/dist/ort.webgpu.bundle.min.mjs");
23
+ const results = [];
24
+ for (const N of sizes) {
25
+ const file = man.variants.find(v => v.variant === "fp32" && v.input_size[1] === N)?.file;
26
+ if (!file) { log(`no fp32 file for ${N}`); continue; }
27
+ const bytes = new Uint8Array(await (await fetch(base + file)).arrayBuffer());
28
+ const net = rt.buildNet(tf, graph, rt.readOnnxWeights(bytes, offsAll[file], Object.keys(graph.params)));
29
+ const M = N - graph.context;
30
+ // forward check vs onnxruntime-web on a smooth synthetic slice
31
+ const xa = new Float32Array(N * N).map((_, i) => Math.sin(Math.floor(i / N) / 9) * Math.cos((i % N) / 13) * 0.8);
32
+ const s = await ort.InferenceSession.create(bytes, { executionProviders: ["webgpu"] });
33
+ const ro = (await s.run({ input: new ort.Tensor("float32", xa, [1, 1, 1, N, N]) })).output.data;
34
+ const zd = await tf.tidy(() => tf.transpose(net.forward(tf.tensor(xa, [1, N, N, 1])), [0, 3, 1, 2])).data();
35
+ let maxAbs = 0, flips = 0;
36
+ zd.forEach((v, i) => { maxAbs = Math.max(maxAbs, Math.abs(v - ro[i])); flips += (v > 0) !== (ro[i] > 0); });
37
+ // training steps
38
+ const C = man.channels.length;
39
+ const x = tf.randomUniform([1, N, N, 1], -1, 1);
40
+ const t = tf.cast(tf.greater(tf.randomUniform([1, M, M, C]), 0.5), "float32");
41
+ const m = tf.cast(tf.greater(tf.randomUniform([1, M, M, C]), 0.7), "float32");
42
+ const opt = tf.train.adam(1e-4);
43
+ const step = () => rt.trainStep(tf, net, opt, x, t, m);
44
+ for (let i = 0; i < 2; i++) { const l = step(); await l.data(); l.dispose(); }
45
+ const base0 = tf.memory().numBytes;
46
+ const prof = await tf.profile(async () => { const l = step(); await l.data(); l.dispose(); });
47
+ const times = [];
48
+ for (let i = 0; i < 8; i++) { const t0 = performance.now(); const l = step(); await l.data(); times.push(performance.now() - t0); l.dispose(); }
49
+ times.sort((a, b) => a - b);
50
+ const r = { model, N, step_ms_median: Math.round(times[4]), step_ms_min: Math.round(times[0]),
51
+ train_peak_mb: Math.round((prof.peakBytes - base0) / 1e6), vs_ort_max_abs: maxAbs, vs_ort_flips: flips };
52
+ results.push(r); log(JSON.stringify(r));
53
+ [x, t, m].forEach(a => a.dispose()); opt.dispose(); net.vars.forEach(v => v.dispose());
54
+ }
55
+ window.SPIKE = results;
56
+ log("done");
57
+ </script>
setup_54_2d/finetune/initializers.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"setup_54_mito_affinities_16nm_2d_in1060_fp16.onnx":{"stem.conv1.c.weight":{"offset":42327,"nbytes":720,"dtype":"float16","shape":[40,1,3,3]},"stem.conv1.c.bias":{"offset":43074,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm1.weight":{"offset":43181,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm1.bias":{"offset":43286,"nbytes":80,"dtype":"float16","shape":[40]},"stem.conv2.c.weight":{"offset":43405,"nbytes":28800,"dtype":"float16","shape":[40,40,3,3]},"stem.conv2.c.bias":{"offset":72232,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm2.weight":{"offset":72339,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm2.bias":{"offset":72444,"nbytes":80,"dtype":"float16","shape":[40]},"stem.skip.c.weight":{"offset":72558,"nbytes":80,"dtype":"float16","shape":[40,1,1,1]},"stem.skip.c.bias":{"offset":72664,"nbytes":80,"dtype":"float16","shape":[40]},"downs.0.conv.c.weight":{"offset":72785,"nbytes":25600,"dtype":"float16","shape":[80,40,2,2]},"downs.0.conv.c.bias":{"offset":98416,"nbytes":160,"dtype":"float16","shape":[80]},"downs.1.conv.c.weight":{"offset":98618,"nbytes":102400,"dtype":"float16","shape":[160,80,2,2]},"downs.1.conv.c.bias":{"offset":201050,"nbytes":320,"dtype":"float16","shape":[160]},"downs.2.conv.c.weight":{"offset":201413,"nbytes":409600,"dtype":"float16","shape":[320,160,2,2]},"downs.2.conv.c.bias":{"offset":611045,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.0.0.conv1.c.weight":{"offset":611734,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"enc_blocks.0.0.conv1.c.bias":{"offset":726973,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm1.weight":{"offset":727172,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm1.bias":{"offset":727369,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.conv2.c.weight":{"offset":727578,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"enc_blocks.0.0.conv2.c.bias":{"offset":842817,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm2.weight":{"offset":843016,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm2.bias":{"offset":843213,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.1.0.conv1.c.weight":{"offset":843424,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"enc_blocks.1.0.conv1.c.bias":{"offset":1304264,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm1.weight":{"offset":1304624,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm1.bias":{"offset":1304982,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.conv2.c.weight":{"offset":1305353,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"enc_blocks.1.0.conv2.c.bias":{"offset":1766193,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm2.weight":{"offset":1766553,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm2.bias":{"offset":1766911,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.2.0.conv1.c.weight":{"offset":1767282,"nbytes":1843200,"dtype":"float16","shape":[320,320,3,3]},"enc_blocks.2.0.conv1.c.bias":{"offset":3610522,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm1.weight":{"offset":3611202,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm1.bias":{"offset":3611880,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.conv2.c.weight":{"offset":3612571,"nbytes":1843200,"dtype":"float16","shape":[320,320,3,3]},"enc_blocks.2.0.conv2.c.bias":{"offset":5455811,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm2.weight":{"offset":5456491,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm2.bias":{"offset":5457169,"nbytes":640,"dtype":"float16","shape":[320]},"ups.0.reduce.c.weight":{"offset":5457852,"nbytes":102400,"dtype":"float16","shape":[160,320,1,1]},"ups.0.reduce.c.bias":{"offset":5560284,"nbytes":320,"dtype":"float16","shape":[160]},"ups.1.reduce.c.weight":{"offset":5560646,"nbytes":25600,"dtype":"float16","shape":[80,160,1,1]},"ups.1.reduce.c.bias":{"offset":5586277,"nbytes":160,"dtype":"float16","shape":[80]},"ups.2.reduce.c.weight":{"offset":5586476,"nbytes":6400,"dtype":"float16","shape":[40,80,1,1]},"ups.2.reduce.c.bias":{"offset":5592905,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.0.0.conv1.c.weight":{"offset":5593036,"nbytes":921600,"dtype":"float16","shape":[160,320,3,3]},"dec_blocks.0.0.conv1.c.bias":{"offset":6514676,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm1.weight":{"offset":6515036,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm1.bias":{"offset":6515394,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.conv2.c.weight":{"offset":6515765,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"dec_blocks.0.0.conv2.c.bias":{"offset":6976605,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm2.weight":{"offset":6976965,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm2.bias":{"offset":6977323,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.skip.c.weight":{"offset":6977693,"nbytes":102400,"dtype":"float16","shape":[160,320,1,1]},"dec_blocks.0.0.skip.c.bias":{"offset":7080132,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.1.0.conv1.c.weight":{"offset":7080502,"nbytes":230400,"dtype":"float16","shape":[80,160,3,3]},"dec_blocks.1.0.conv1.c.bias":{"offset":7310941,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm1.weight":{"offset":7311140,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm1.bias":{"offset":7311337,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.conv2.c.weight":{"offset":7311546,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"dec_blocks.1.0.conv2.c.bias":{"offset":7426785,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm2.weight":{"offset":7426984,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm2.bias":{"offset":7427181,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.skip.c.weight":{"offset":7427390,"nbytes":25600,"dtype":"float16","shape":[80,160,1,1]},"dec_blocks.1.0.skip.c.bias":{"offset":7453028,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.2.0.conv1.c.weight":{"offset":7453237,"nbytes":57600,"dtype":"float16","shape":[40,80,3,3]},"dec_blocks.2.0.conv1.c.bias":{"offset":7510874,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm1.weight":{"offset":7510991,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm1.bias":{"offset":7511106,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.conv2.c.weight":{"offset":7511235,"nbytes":28800,"dtype":"float16","shape":[40,40,3,3]},"dec_blocks.2.0.conv2.c.bias":{"offset":7540072,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm2.weight":{"offset":7540189,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm2.bias":{"offset":7540304,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.skip.c.weight":{"offset":7540430,"nbytes":6400,"dtype":"float16","shape":[40,80,1,1]},"dec_blocks.2.0.skip.c.bias":{"offset":7546866,"nbytes":80,"dtype":"float16","shape":[40]},"final_conv.c.weight":{"offset":7546983,"nbytes":240,"dtype":"float16","shape":[3,40,1,1]},"final_conv.c.bias":{"offset":7547250,"nbytes":6,"dtype":"float16","shape":[3]}},"setup_54_mito_affinities_16nm_2d_in1060_fp32.onnx":{"stem.conv1.c.weight":{"offset":41769,"nbytes":1440,"dtype":"float32","shape":[40,1,3,3]},"stem.conv1.c.bias":{"offset":43238,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm1.weight":{"offset":43427,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm1.bias":{"offset":43614,"nbytes":160,"dtype":"float32","shape":[40]},"stem.conv2.c.weight":{"offset":43813,"nbytes":57600,"dtype":"float32","shape":[40,40,3,3]},"stem.conv2.c.bias":{"offset":101442,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm2.weight":{"offset":101631,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm2.bias":{"offset":101818,"nbytes":160,"dtype":"float32","shape":[40]},"stem.skip.c.weight":{"offset":102014,"nbytes":160,"dtype":"float32","shape":[40,1,1,1]},"stem.skip.c.bias":{"offset":102202,"nbytes":160,"dtype":"float32","shape":[40]},"downs.0.conv.c.weight":{"offset":102403,"nbytes":51200,"dtype":"float32","shape":[80,40,2,2]},"downs.0.conv.c.bias":{"offset":153634,"nbytes":320,"dtype":"float32","shape":[80]},"downs.1.conv.c.weight":{"offset":153996,"nbytes":204800,"dtype":"float32","shape":[160,80,2,2]},"downs.1.conv.c.bias":{"offset":358828,"nbytes":640,"dtype":"float32","shape":[160]},"downs.2.conv.c.weight":{"offset":359511,"nbytes":819200,"dtype":"float32","shape":[320,160,2,2]},"downs.2.conv.c.bias":{"offset":1178743,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.0.0.conv1.c.weight":{"offset":1180072,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"enc_blocks.0.0.conv1.c.bias":{"offset":1410511,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm1.weight":{"offset":1410870,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm1.bias":{"offset":1411227,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.conv2.c.weight":{"offset":1411596,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"enc_blocks.0.0.conv2.c.bias":{"offset":1642035,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm2.weight":{"offset":1642394,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm2.bias":{"offset":1642751,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.1.0.conv1.c.weight":{"offset":1643122,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"enc_blocks.1.0.conv1.c.bias":{"offset":2564762,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm1.weight":{"offset":2565442,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm1.bias":{"offset":2566120,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.conv2.c.weight":{"offset":2566811,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"enc_blocks.1.0.conv2.c.bias":{"offset":3488451,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm2.weight":{"offset":3489131,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm2.bias":{"offset":3489809,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.2.0.conv1.c.weight":{"offset":3490502,"nbytes":3686400,"dtype":"float32","shape":[320,320,3,3]},"enc_blocks.2.0.conv1.c.bias":{"offset":7176942,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm1.weight":{"offset":7178262,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm1.bias":{"offset":7179580,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.conv2.c.weight":{"offset":7180913,"nbytes":3686400,"dtype":"float32","shape":[320,320,3,3]},"enc_blocks.2.0.conv2.c.bias":{"offset":10867353,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm2.weight":{"offset":10868673,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm2.bias":{"offset":10869991,"nbytes":1280,"dtype":"float32","shape":[320]},"ups.0.reduce.c.weight":{"offset":10871314,"nbytes":204800,"dtype":"float32","shape":[160,320,1,1]},"ups.0.reduce.c.bias":{"offset":11076146,"nbytes":640,"dtype":"float32","shape":[160]},"ups.1.reduce.c.weight":{"offset":11076828,"nbytes":51200,"dtype":"float32","shape":[80,160,1,1]},"ups.1.reduce.c.bias":{"offset":11128059,"nbytes":320,"dtype":"float32","shape":[80]},"ups.2.reduce.c.weight":{"offset":11128418,"nbytes":12800,"dtype":"float32","shape":[40,80,1,1]},"ups.2.reduce.c.bias":{"offset":11141249,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.0.0.conv1.c.weight":{"offset":11141460,"nbytes":1843200,"dtype":"float32","shape":[160,320,3,3]},"dec_blocks.0.0.conv1.c.bias":{"offset":12984700,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm1.weight":{"offset":12985380,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm1.bias":{"offset":12986058,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.conv2.c.weight":{"offset":12986749,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"dec_blocks.0.0.conv2.c.bias":{"offset":13908389,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm2.weight":{"offset":13909069,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm2.bias":{"offset":13909747,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.skip.c.weight":{"offset":13910437,"nbytes":204800,"dtype":"float32","shape":[160,320,1,1]},"dec_blocks.0.0.skip.c.bias":{"offset":14115276,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.1.0.conv1.c.weight":{"offset":14115966,"nbytes":460800,"dtype":"float32","shape":[80,160,3,3]},"dec_blocks.1.0.conv1.c.bias":{"offset":14576805,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm1.weight":{"offset":14577164,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm1.bias":{"offset":14577521,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.conv2.c.weight":{"offset":14577890,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"dec_blocks.1.0.conv2.c.bias":{"offset":14808329,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm2.weight":{"offset":14808688,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm2.bias":{"offset":14809045,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.skip.c.weight":{"offset":14809414,"nbytes":51200,"dtype":"float32","shape":[80,160,1,1]},"dec_blocks.1.0.skip.c.bias":{"offset":14860652,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.2.0.conv1.c.weight":{"offset":14861021,"nbytes":115200,"dtype":"float32","shape":[40,80,3,3]},"dec_blocks.2.0.conv1.c.bias":{"offset":14976260,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm1.weight":{"offset":14976459,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm1.bias":{"offset":14976656,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.conv2.c.weight":{"offset":14976865,"nbytes":57600,"dtype":"float32","shape":[40,40,3,3]},"dec_blocks.2.0.conv2.c.bias":{"offset":15034504,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm2.weight":{"offset":15034703,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm2.bias":{"offset":15034900,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.skip.c.weight":{"offset":15035106,"nbytes":12800,"dtype":"float32","shape":[40,80,1,1]},"dec_blocks.2.0.skip.c.bias":{"offset":15047944,"nbytes":160,"dtype":"float32","shape":[40]},"final_conv.c.weight":{"offset":15048141,"nbytes":480,"dtype":"float32","shape":[3,40,1,1]},"final_conv.c.bias":{"offset":15048648,"nbytes":12,"dtype":"float32","shape":[3]}},"setup_54_mito_affinities_16nm_2d_in300_fp16.onnx":{"stem.conv1.c.weight":{"offset":42327,"nbytes":720,"dtype":"float16","shape":[40,1,3,3]},"stem.conv1.c.bias":{"offset":43074,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm1.weight":{"offset":43181,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm1.bias":{"offset":43286,"nbytes":80,"dtype":"float16","shape":[40]},"stem.conv2.c.weight":{"offset":43405,"nbytes":28800,"dtype":"float16","shape":[40,40,3,3]},"stem.conv2.c.bias":{"offset":72232,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm2.weight":{"offset":72339,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm2.bias":{"offset":72444,"nbytes":80,"dtype":"float16","shape":[40]},"stem.skip.c.weight":{"offset":72558,"nbytes":80,"dtype":"float16","shape":[40,1,1,1]},"stem.skip.c.bias":{"offset":72664,"nbytes":80,"dtype":"float16","shape":[40]},"downs.0.conv.c.weight":{"offset":72785,"nbytes":25600,"dtype":"float16","shape":[80,40,2,2]},"downs.0.conv.c.bias":{"offset":98416,"nbytes":160,"dtype":"float16","shape":[80]},"downs.1.conv.c.weight":{"offset":98618,"nbytes":102400,"dtype":"float16","shape":[160,80,2,2]},"downs.1.conv.c.bias":{"offset":201050,"nbytes":320,"dtype":"float16","shape":[160]},"downs.2.conv.c.weight":{"offset":201413,"nbytes":409600,"dtype":"float16","shape":[320,160,2,2]},"downs.2.conv.c.bias":{"offset":611045,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.0.0.conv1.c.weight":{"offset":611734,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"enc_blocks.0.0.conv1.c.bias":{"offset":726973,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm1.weight":{"offset":727172,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm1.bias":{"offset":727369,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.conv2.c.weight":{"offset":727578,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"enc_blocks.0.0.conv2.c.bias":{"offset":842817,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm2.weight":{"offset":843016,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm2.bias":{"offset":843213,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.1.0.conv1.c.weight":{"offset":843424,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"enc_blocks.1.0.conv1.c.bias":{"offset":1304264,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm1.weight":{"offset":1304624,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm1.bias":{"offset":1304982,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.conv2.c.weight":{"offset":1305353,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"enc_blocks.1.0.conv2.c.bias":{"offset":1766193,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm2.weight":{"offset":1766553,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm2.bias":{"offset":1766911,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.2.0.conv1.c.weight":{"offset":1767282,"nbytes":1843200,"dtype":"float16","shape":[320,320,3,3]},"enc_blocks.2.0.conv1.c.bias":{"offset":3610522,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm1.weight":{"offset":3611202,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm1.bias":{"offset":3611880,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.conv2.c.weight":{"offset":3612571,"nbytes":1843200,"dtype":"float16","shape":[320,320,3,3]},"enc_blocks.2.0.conv2.c.bias":{"offset":5455811,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm2.weight":{"offset":5456491,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm2.bias":{"offset":5457169,"nbytes":640,"dtype":"float16","shape":[320]},"ups.0.reduce.c.weight":{"offset":5457852,"nbytes":102400,"dtype":"float16","shape":[160,320,1,1]},"ups.0.reduce.c.bias":{"offset":5560284,"nbytes":320,"dtype":"float16","shape":[160]},"ups.1.reduce.c.weight":{"offset":5560646,"nbytes":25600,"dtype":"float16","shape":[80,160,1,1]},"ups.1.reduce.c.bias":{"offset":5586277,"nbytes":160,"dtype":"float16","shape":[80]},"ups.2.reduce.c.weight":{"offset":5586476,"nbytes":6400,"dtype":"float16","shape":[40,80,1,1]},"ups.2.reduce.c.bias":{"offset":5592905,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.0.0.conv1.c.weight":{"offset":5593036,"nbytes":921600,"dtype":"float16","shape":[160,320,3,3]},"dec_blocks.0.0.conv1.c.bias":{"offset":6514676,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm1.weight":{"offset":6515036,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm1.bias":{"offset":6515394,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.conv2.c.weight":{"offset":6515765,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"dec_blocks.0.0.conv2.c.bias":{"offset":6976605,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm2.weight":{"offset":6976965,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm2.bias":{"offset":6977323,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.skip.c.weight":{"offset":6977693,"nbytes":102400,"dtype":"float16","shape":[160,320,1,1]},"dec_blocks.0.0.skip.c.bias":{"offset":7080132,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.1.0.conv1.c.weight":{"offset":7080502,"nbytes":230400,"dtype":"float16","shape":[80,160,3,3]},"dec_blocks.1.0.conv1.c.bias":{"offset":7310941,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm1.weight":{"offset":7311140,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm1.bias":{"offset":7311337,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.conv2.c.weight":{"offset":7311546,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"dec_blocks.1.0.conv2.c.bias":{"offset":7426785,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm2.weight":{"offset":7426984,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm2.bias":{"offset":7427181,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.skip.c.weight":{"offset":7427390,"nbytes":25600,"dtype":"float16","shape":[80,160,1,1]},"dec_blocks.1.0.skip.c.bias":{"offset":7453028,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.2.0.conv1.c.weight":{"offset":7453237,"nbytes":57600,"dtype":"float16","shape":[40,80,3,3]},"dec_blocks.2.0.conv1.c.bias":{"offset":7510874,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm1.weight":{"offset":7510991,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm1.bias":{"offset":7511106,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.conv2.c.weight":{"offset":7511235,"nbytes":28800,"dtype":"float16","shape":[40,40,3,3]},"dec_blocks.2.0.conv2.c.bias":{"offset":7540072,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm2.weight":{"offset":7540189,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm2.bias":{"offset":7540304,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.skip.c.weight":{"offset":7540430,"nbytes":6400,"dtype":"float16","shape":[40,80,1,1]},"dec_blocks.2.0.skip.c.bias":{"offset":7546866,"nbytes":80,"dtype":"float16","shape":[40]},"final_conv.c.weight":{"offset":7546983,"nbytes":240,"dtype":"float16","shape":[3,40,1,1]},"final_conv.c.bias":{"offset":7547250,"nbytes":6,"dtype":"float16","shape":[3]}},"setup_54_mito_affinities_16nm_2d_in300_fp32.onnx":{"stem.conv1.c.weight":{"offset":41769,"nbytes":1440,"dtype":"float32","shape":[40,1,3,3]},"stem.conv1.c.bias":{"offset":43238,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm1.weight":{"offset":43427,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm1.bias":{"offset":43614,"nbytes":160,"dtype":"float32","shape":[40]},"stem.conv2.c.weight":{"offset":43813,"nbytes":57600,"dtype":"float32","shape":[40,40,3,3]},"stem.conv2.c.bias":{"offset":101442,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm2.weight":{"offset":101631,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm2.bias":{"offset":101818,"nbytes":160,"dtype":"float32","shape":[40]},"stem.skip.c.weight":{"offset":102014,"nbytes":160,"dtype":"float32","shape":[40,1,1,1]},"stem.skip.c.bias":{"offset":102202,"nbytes":160,"dtype":"float32","shape":[40]},"downs.0.conv.c.weight":{"offset":102403,"nbytes":51200,"dtype":"float32","shape":[80,40,2,2]},"downs.0.conv.c.bias":{"offset":153634,"nbytes":320,"dtype":"float32","shape":[80]},"downs.1.conv.c.weight":{"offset":153996,"nbytes":204800,"dtype":"float32","shape":[160,80,2,2]},"downs.1.conv.c.bias":{"offset":358828,"nbytes":640,"dtype":"float32","shape":[160]},"downs.2.conv.c.weight":{"offset":359511,"nbytes":819200,"dtype":"float32","shape":[320,160,2,2]},"downs.2.conv.c.bias":{"offset":1178743,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.0.0.conv1.c.weight":{"offset":1180072,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"enc_blocks.0.0.conv1.c.bias":{"offset":1410511,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm1.weight":{"offset":1410870,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm1.bias":{"offset":1411227,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.conv2.c.weight":{"offset":1411596,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"enc_blocks.0.0.conv2.c.bias":{"offset":1642035,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm2.weight":{"offset":1642394,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm2.bias":{"offset":1642751,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.1.0.conv1.c.weight":{"offset":1643122,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"enc_blocks.1.0.conv1.c.bias":{"offset":2564762,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm1.weight":{"offset":2565442,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm1.bias":{"offset":2566120,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.conv2.c.weight":{"offset":2566811,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"enc_blocks.1.0.conv2.c.bias":{"offset":3488451,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm2.weight":{"offset":3489131,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm2.bias":{"offset":3489809,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.2.0.conv1.c.weight":{"offset":3490502,"nbytes":3686400,"dtype":"float32","shape":[320,320,3,3]},"enc_blocks.2.0.conv1.c.bias":{"offset":7176942,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm1.weight":{"offset":7178262,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm1.bias":{"offset":7179580,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.conv2.c.weight":{"offset":7180913,"nbytes":3686400,"dtype":"float32","shape":[320,320,3,3]},"enc_blocks.2.0.conv2.c.bias":{"offset":10867353,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm2.weight":{"offset":10868673,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm2.bias":{"offset":10869991,"nbytes":1280,"dtype":"float32","shape":[320]},"ups.0.reduce.c.weight":{"offset":10871314,"nbytes":204800,"dtype":"float32","shape":[160,320,1,1]},"ups.0.reduce.c.bias":{"offset":11076146,"nbytes":640,"dtype":"float32","shape":[160]},"ups.1.reduce.c.weight":{"offset":11076828,"nbytes":51200,"dtype":"float32","shape":[80,160,1,1]},"ups.1.reduce.c.bias":{"offset":11128059,"nbytes":320,"dtype":"float32","shape":[80]},"ups.2.reduce.c.weight":{"offset":11128418,"nbytes":12800,"dtype":"float32","shape":[40,80,1,1]},"ups.2.reduce.c.bias":{"offset":11141249,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.0.0.conv1.c.weight":{"offset":11141460,"nbytes":1843200,"dtype":"float32","shape":[160,320,3,3]},"dec_blocks.0.0.conv1.c.bias":{"offset":12984700,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm1.weight":{"offset":12985380,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm1.bias":{"offset":12986058,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.conv2.c.weight":{"offset":12986749,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"dec_blocks.0.0.conv2.c.bias":{"offset":13908389,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm2.weight":{"offset":13909069,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm2.bias":{"offset":13909747,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.skip.c.weight":{"offset":13910437,"nbytes":204800,"dtype":"float32","shape":[160,320,1,1]},"dec_blocks.0.0.skip.c.bias":{"offset":14115276,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.1.0.conv1.c.weight":{"offset":14115966,"nbytes":460800,"dtype":"float32","shape":[80,160,3,3]},"dec_blocks.1.0.conv1.c.bias":{"offset":14576805,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm1.weight":{"offset":14577164,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm1.bias":{"offset":14577521,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.conv2.c.weight":{"offset":14577890,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"dec_blocks.1.0.conv2.c.bias":{"offset":14808329,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm2.weight":{"offset":14808688,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm2.bias":{"offset":14809045,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.skip.c.weight":{"offset":14809414,"nbytes":51200,"dtype":"float32","shape":[80,160,1,1]},"dec_blocks.1.0.skip.c.bias":{"offset":14860652,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.2.0.conv1.c.weight":{"offset":14861021,"nbytes":115200,"dtype":"float32","shape":[40,80,3,3]},"dec_blocks.2.0.conv1.c.bias":{"offset":14976260,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm1.weight":{"offset":14976459,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm1.bias":{"offset":14976656,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.conv2.c.weight":{"offset":14976865,"nbytes":57600,"dtype":"float32","shape":[40,40,3,3]},"dec_blocks.2.0.conv2.c.bias":{"offset":15034504,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm2.weight":{"offset":15034703,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm2.bias":{"offset":15034900,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.skip.c.weight":{"offset":15035106,"nbytes":12800,"dtype":"float32","shape":[40,80,1,1]},"dec_blocks.2.0.skip.c.bias":{"offset":15047944,"nbytes":160,"dtype":"float32","shape":[40]},"final_conv.c.weight":{"offset":15048141,"nbytes":480,"dtype":"float32","shape":[3,40,1,1]},"final_conv.c.bias":{"offset":15048648,"nbytes":12,"dtype":"float32","shape":[3]}},"setup_54_mito_affinities_16nm_2d_in556_fp16.onnx":{"stem.conv1.c.weight":{"offset":42327,"nbytes":720,"dtype":"float16","shape":[40,1,3,3]},"stem.conv1.c.bias":{"offset":43074,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm1.weight":{"offset":43181,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm1.bias":{"offset":43286,"nbytes":80,"dtype":"float16","shape":[40]},"stem.conv2.c.weight":{"offset":43405,"nbytes":28800,"dtype":"float16","shape":[40,40,3,3]},"stem.conv2.c.bias":{"offset":72232,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm2.weight":{"offset":72339,"nbytes":80,"dtype":"float16","shape":[40]},"stem.norm2.bias":{"offset":72444,"nbytes":80,"dtype":"float16","shape":[40]},"stem.skip.c.weight":{"offset":72558,"nbytes":80,"dtype":"float16","shape":[40,1,1,1]},"stem.skip.c.bias":{"offset":72664,"nbytes":80,"dtype":"float16","shape":[40]},"downs.0.conv.c.weight":{"offset":72785,"nbytes":25600,"dtype":"float16","shape":[80,40,2,2]},"downs.0.conv.c.bias":{"offset":98416,"nbytes":160,"dtype":"float16","shape":[80]},"downs.1.conv.c.weight":{"offset":98618,"nbytes":102400,"dtype":"float16","shape":[160,80,2,2]},"downs.1.conv.c.bias":{"offset":201050,"nbytes":320,"dtype":"float16","shape":[160]},"downs.2.conv.c.weight":{"offset":201413,"nbytes":409600,"dtype":"float16","shape":[320,160,2,2]},"downs.2.conv.c.bias":{"offset":611045,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.0.0.conv1.c.weight":{"offset":611734,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"enc_blocks.0.0.conv1.c.bias":{"offset":726973,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm1.weight":{"offset":727172,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm1.bias":{"offset":727369,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.conv2.c.weight":{"offset":727578,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"enc_blocks.0.0.conv2.c.bias":{"offset":842817,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm2.weight":{"offset":843016,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.0.0.norm2.bias":{"offset":843213,"nbytes":160,"dtype":"float16","shape":[80]},"enc_blocks.1.0.conv1.c.weight":{"offset":843424,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"enc_blocks.1.0.conv1.c.bias":{"offset":1304264,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm1.weight":{"offset":1304624,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm1.bias":{"offset":1304982,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.conv2.c.weight":{"offset":1305353,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"enc_blocks.1.0.conv2.c.bias":{"offset":1766193,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm2.weight":{"offset":1766553,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.1.0.norm2.bias":{"offset":1766911,"nbytes":320,"dtype":"float16","shape":[160]},"enc_blocks.2.0.conv1.c.weight":{"offset":1767282,"nbytes":1843200,"dtype":"float16","shape":[320,320,3,3]},"enc_blocks.2.0.conv1.c.bias":{"offset":3610522,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm1.weight":{"offset":3611202,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm1.bias":{"offset":3611880,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.conv2.c.weight":{"offset":3612571,"nbytes":1843200,"dtype":"float16","shape":[320,320,3,3]},"enc_blocks.2.0.conv2.c.bias":{"offset":5455811,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm2.weight":{"offset":5456491,"nbytes":640,"dtype":"float16","shape":[320]},"enc_blocks.2.0.norm2.bias":{"offset":5457169,"nbytes":640,"dtype":"float16","shape":[320]},"ups.0.reduce.c.weight":{"offset":5457852,"nbytes":102400,"dtype":"float16","shape":[160,320,1,1]},"ups.0.reduce.c.bias":{"offset":5560284,"nbytes":320,"dtype":"float16","shape":[160]},"ups.1.reduce.c.weight":{"offset":5560646,"nbytes":25600,"dtype":"float16","shape":[80,160,1,1]},"ups.1.reduce.c.bias":{"offset":5586277,"nbytes":160,"dtype":"float16","shape":[80]},"ups.2.reduce.c.weight":{"offset":5586476,"nbytes":6400,"dtype":"float16","shape":[40,80,1,1]},"ups.2.reduce.c.bias":{"offset":5592905,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.0.0.conv1.c.weight":{"offset":5593036,"nbytes":921600,"dtype":"float16","shape":[160,320,3,3]},"dec_blocks.0.0.conv1.c.bias":{"offset":6514676,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm1.weight":{"offset":6515036,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm1.bias":{"offset":6515394,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.conv2.c.weight":{"offset":6515765,"nbytes":460800,"dtype":"float16","shape":[160,160,3,3]},"dec_blocks.0.0.conv2.c.bias":{"offset":6976605,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm2.weight":{"offset":6976965,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.norm2.bias":{"offset":6977323,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.0.0.skip.c.weight":{"offset":6977693,"nbytes":102400,"dtype":"float16","shape":[160,320,1,1]},"dec_blocks.0.0.skip.c.bias":{"offset":7080132,"nbytes":320,"dtype":"float16","shape":[160]},"dec_blocks.1.0.conv1.c.weight":{"offset":7080502,"nbytes":230400,"dtype":"float16","shape":[80,160,3,3]},"dec_blocks.1.0.conv1.c.bias":{"offset":7310941,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm1.weight":{"offset":7311140,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm1.bias":{"offset":7311337,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.conv2.c.weight":{"offset":7311546,"nbytes":115200,"dtype":"float16","shape":[80,80,3,3]},"dec_blocks.1.0.conv2.c.bias":{"offset":7426785,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm2.weight":{"offset":7426984,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.norm2.bias":{"offset":7427181,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.1.0.skip.c.weight":{"offset":7427390,"nbytes":25600,"dtype":"float16","shape":[80,160,1,1]},"dec_blocks.1.0.skip.c.bias":{"offset":7453028,"nbytes":160,"dtype":"float16","shape":[80]},"dec_blocks.2.0.conv1.c.weight":{"offset":7453237,"nbytes":57600,"dtype":"float16","shape":[40,80,3,3]},"dec_blocks.2.0.conv1.c.bias":{"offset":7510874,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm1.weight":{"offset":7510991,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm1.bias":{"offset":7511106,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.conv2.c.weight":{"offset":7511235,"nbytes":28800,"dtype":"float16","shape":[40,40,3,3]},"dec_blocks.2.0.conv2.c.bias":{"offset":7540072,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm2.weight":{"offset":7540189,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.norm2.bias":{"offset":7540304,"nbytes":80,"dtype":"float16","shape":[40]},"dec_blocks.2.0.skip.c.weight":{"offset":7540430,"nbytes":6400,"dtype":"float16","shape":[40,80,1,1]},"dec_blocks.2.0.skip.c.bias":{"offset":7546866,"nbytes":80,"dtype":"float16","shape":[40]},"final_conv.c.weight":{"offset":7546983,"nbytes":240,"dtype":"float16","shape":[3,40,1,1]},"final_conv.c.bias":{"offset":7547250,"nbytes":6,"dtype":"float16","shape":[3]}},"setup_54_mito_affinities_16nm_2d_in556_fp32.onnx":{"stem.conv1.c.weight":{"offset":41769,"nbytes":1440,"dtype":"float32","shape":[40,1,3,3]},"stem.conv1.c.bias":{"offset":43238,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm1.weight":{"offset":43427,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm1.bias":{"offset":43614,"nbytes":160,"dtype":"float32","shape":[40]},"stem.conv2.c.weight":{"offset":43813,"nbytes":57600,"dtype":"float32","shape":[40,40,3,3]},"stem.conv2.c.bias":{"offset":101442,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm2.weight":{"offset":101631,"nbytes":160,"dtype":"float32","shape":[40]},"stem.norm2.bias":{"offset":101818,"nbytes":160,"dtype":"float32","shape":[40]},"stem.skip.c.weight":{"offset":102014,"nbytes":160,"dtype":"float32","shape":[40,1,1,1]},"stem.skip.c.bias":{"offset":102202,"nbytes":160,"dtype":"float32","shape":[40]},"downs.0.conv.c.weight":{"offset":102403,"nbytes":51200,"dtype":"float32","shape":[80,40,2,2]},"downs.0.conv.c.bias":{"offset":153634,"nbytes":320,"dtype":"float32","shape":[80]},"downs.1.conv.c.weight":{"offset":153996,"nbytes":204800,"dtype":"float32","shape":[160,80,2,2]},"downs.1.conv.c.bias":{"offset":358828,"nbytes":640,"dtype":"float32","shape":[160]},"downs.2.conv.c.weight":{"offset":359511,"nbytes":819200,"dtype":"float32","shape":[320,160,2,2]},"downs.2.conv.c.bias":{"offset":1178743,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.0.0.conv1.c.weight":{"offset":1180072,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"enc_blocks.0.0.conv1.c.bias":{"offset":1410511,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm1.weight":{"offset":1410870,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm1.bias":{"offset":1411227,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.conv2.c.weight":{"offset":1411596,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"enc_blocks.0.0.conv2.c.bias":{"offset":1642035,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm2.weight":{"offset":1642394,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.0.0.norm2.bias":{"offset":1642751,"nbytes":320,"dtype":"float32","shape":[80]},"enc_blocks.1.0.conv1.c.weight":{"offset":1643122,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"enc_blocks.1.0.conv1.c.bias":{"offset":2564762,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm1.weight":{"offset":2565442,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm1.bias":{"offset":2566120,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.conv2.c.weight":{"offset":2566811,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"enc_blocks.1.0.conv2.c.bias":{"offset":3488451,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm2.weight":{"offset":3489131,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.1.0.norm2.bias":{"offset":3489809,"nbytes":640,"dtype":"float32","shape":[160]},"enc_blocks.2.0.conv1.c.weight":{"offset":3490502,"nbytes":3686400,"dtype":"float32","shape":[320,320,3,3]},"enc_blocks.2.0.conv1.c.bias":{"offset":7176942,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm1.weight":{"offset":7178262,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm1.bias":{"offset":7179580,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.conv2.c.weight":{"offset":7180913,"nbytes":3686400,"dtype":"float32","shape":[320,320,3,3]},"enc_blocks.2.0.conv2.c.bias":{"offset":10867353,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm2.weight":{"offset":10868673,"nbytes":1280,"dtype":"float32","shape":[320]},"enc_blocks.2.0.norm2.bias":{"offset":10869991,"nbytes":1280,"dtype":"float32","shape":[320]},"ups.0.reduce.c.weight":{"offset":10871314,"nbytes":204800,"dtype":"float32","shape":[160,320,1,1]},"ups.0.reduce.c.bias":{"offset":11076146,"nbytes":640,"dtype":"float32","shape":[160]},"ups.1.reduce.c.weight":{"offset":11076828,"nbytes":51200,"dtype":"float32","shape":[80,160,1,1]},"ups.1.reduce.c.bias":{"offset":11128059,"nbytes":320,"dtype":"float32","shape":[80]},"ups.2.reduce.c.weight":{"offset":11128418,"nbytes":12800,"dtype":"float32","shape":[40,80,1,1]},"ups.2.reduce.c.bias":{"offset":11141249,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.0.0.conv1.c.weight":{"offset":11141460,"nbytes":1843200,"dtype":"float32","shape":[160,320,3,3]},"dec_blocks.0.0.conv1.c.bias":{"offset":12984700,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm1.weight":{"offset":12985380,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm1.bias":{"offset":12986058,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.conv2.c.weight":{"offset":12986749,"nbytes":921600,"dtype":"float32","shape":[160,160,3,3]},"dec_blocks.0.0.conv2.c.bias":{"offset":13908389,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm2.weight":{"offset":13909069,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.norm2.bias":{"offset":13909747,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.0.0.skip.c.weight":{"offset":13910437,"nbytes":204800,"dtype":"float32","shape":[160,320,1,1]},"dec_blocks.0.0.skip.c.bias":{"offset":14115276,"nbytes":640,"dtype":"float32","shape":[160]},"dec_blocks.1.0.conv1.c.weight":{"offset":14115966,"nbytes":460800,"dtype":"float32","shape":[80,160,3,3]},"dec_blocks.1.0.conv1.c.bias":{"offset":14576805,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm1.weight":{"offset":14577164,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm1.bias":{"offset":14577521,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.conv2.c.weight":{"offset":14577890,"nbytes":230400,"dtype":"float32","shape":[80,80,3,3]},"dec_blocks.1.0.conv2.c.bias":{"offset":14808329,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm2.weight":{"offset":14808688,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.norm2.bias":{"offset":14809045,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.1.0.skip.c.weight":{"offset":14809414,"nbytes":51200,"dtype":"float32","shape":[80,160,1,1]},"dec_blocks.1.0.skip.c.bias":{"offset":14860652,"nbytes":320,"dtype":"float32","shape":[80]},"dec_blocks.2.0.conv1.c.weight":{"offset":14861021,"nbytes":115200,"dtype":"float32","shape":[40,80,3,3]},"dec_blocks.2.0.conv1.c.bias":{"offset":14976260,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm1.weight":{"offset":14976459,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm1.bias":{"offset":14976656,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.conv2.c.weight":{"offset":14976865,"nbytes":57600,"dtype":"float32","shape":[40,40,3,3]},"dec_blocks.2.0.conv2.c.bias":{"offset":15034504,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm2.weight":{"offset":15034703,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.norm2.bias":{"offset":15034900,"nbytes":160,"dtype":"float32","shape":[40]},"dec_blocks.2.0.skip.c.weight":{"offset":15035106,"nbytes":12800,"dtype":"float32","shape":[40,80,1,1]},"dec_blocks.2.0.skip.c.bias":{"offset":15047944,"nbytes":160,"dtype":"float32","shape":[40]},"final_conv.c.weight":{"offset":15048141,"nbytes":480,"dtype":"float32","shape":[3,40,1,1]},"final_conv.c.bias":{"offset":15048648,"nbytes":12,"dtype":"float32","shape":[3]}}}
setup_54_2d/finetune/train_graph.json ADDED
@@ -0,0 +1,1255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "cellmap-train-graph/1",
3
+ "layout": "NHWC",
4
+ "input": "input",
5
+ "output": "/final_conv/c/Conv_output_0",
6
+ "context": 88,
7
+ "params": {
8
+ "stem.conv1.c.weight": {
9
+ "shape": [
10
+ 40,
11
+ 1,
12
+ 3,
13
+ 3
14
+ ],
15
+ "trainable": true
16
+ },
17
+ "stem.conv1.c.bias": {
18
+ "shape": [
19
+ 40
20
+ ],
21
+ "trainable": true
22
+ },
23
+ "stem.norm1.weight": {
24
+ "shape": [
25
+ 40
26
+ ],
27
+ "trainable": true
28
+ },
29
+ "stem.norm1.bias": {
30
+ "shape": [
31
+ 40
32
+ ],
33
+ "trainable": true
34
+ },
35
+ "stem.conv2.c.weight": {
36
+ "shape": [
37
+ 40,
38
+ 40,
39
+ 3,
40
+ 3
41
+ ],
42
+ "trainable": true
43
+ },
44
+ "stem.conv2.c.bias": {
45
+ "shape": [
46
+ 40
47
+ ],
48
+ "trainable": true
49
+ },
50
+ "stem.norm2.weight": {
51
+ "shape": [
52
+ 40
53
+ ],
54
+ "trainable": true
55
+ },
56
+ "stem.norm2.bias": {
57
+ "shape": [
58
+ 40
59
+ ],
60
+ "trainable": true
61
+ },
62
+ "stem.skip.c.weight": {
63
+ "shape": [
64
+ 40,
65
+ 1,
66
+ 1,
67
+ 1
68
+ ],
69
+ "trainable": true
70
+ },
71
+ "stem.skip.c.bias": {
72
+ "shape": [
73
+ 40
74
+ ],
75
+ "trainable": true
76
+ },
77
+ "downs.0.conv.c.weight": {
78
+ "shape": [
79
+ 80,
80
+ 40,
81
+ 2,
82
+ 2
83
+ ],
84
+ "trainable": true
85
+ },
86
+ "downs.0.conv.c.bias": {
87
+ "shape": [
88
+ 80
89
+ ],
90
+ "trainable": true
91
+ },
92
+ "downs.1.conv.c.weight": {
93
+ "shape": [
94
+ 160,
95
+ 80,
96
+ 2,
97
+ 2
98
+ ],
99
+ "trainable": true
100
+ },
101
+ "downs.1.conv.c.bias": {
102
+ "shape": [
103
+ 160
104
+ ],
105
+ "trainable": true
106
+ },
107
+ "downs.2.conv.c.weight": {
108
+ "shape": [
109
+ 320,
110
+ 160,
111
+ 2,
112
+ 2
113
+ ],
114
+ "trainable": true
115
+ },
116
+ "downs.2.conv.c.bias": {
117
+ "shape": [
118
+ 320
119
+ ],
120
+ "trainable": true
121
+ },
122
+ "enc_blocks.0.0.conv1.c.weight": {
123
+ "shape": [
124
+ 80,
125
+ 80,
126
+ 3,
127
+ 3
128
+ ],
129
+ "trainable": true
130
+ },
131
+ "enc_blocks.0.0.conv1.c.bias": {
132
+ "shape": [
133
+ 80
134
+ ],
135
+ "trainable": true
136
+ },
137
+ "enc_blocks.0.0.norm1.weight": {
138
+ "shape": [
139
+ 80
140
+ ],
141
+ "trainable": true
142
+ },
143
+ "enc_blocks.0.0.norm1.bias": {
144
+ "shape": [
145
+ 80
146
+ ],
147
+ "trainable": true
148
+ },
149
+ "enc_blocks.0.0.conv2.c.weight": {
150
+ "shape": [
151
+ 80,
152
+ 80,
153
+ 3,
154
+ 3
155
+ ],
156
+ "trainable": true
157
+ },
158
+ "enc_blocks.0.0.conv2.c.bias": {
159
+ "shape": [
160
+ 80
161
+ ],
162
+ "trainable": true
163
+ },
164
+ "enc_blocks.0.0.norm2.weight": {
165
+ "shape": [
166
+ 80
167
+ ],
168
+ "trainable": true
169
+ },
170
+ "enc_blocks.0.0.norm2.bias": {
171
+ "shape": [
172
+ 80
173
+ ],
174
+ "trainable": true
175
+ },
176
+ "enc_blocks.1.0.conv1.c.weight": {
177
+ "shape": [
178
+ 160,
179
+ 160,
180
+ 3,
181
+ 3
182
+ ],
183
+ "trainable": true
184
+ },
185
+ "enc_blocks.1.0.conv1.c.bias": {
186
+ "shape": [
187
+ 160
188
+ ],
189
+ "trainable": true
190
+ },
191
+ "enc_blocks.1.0.norm1.weight": {
192
+ "shape": [
193
+ 160
194
+ ],
195
+ "trainable": true
196
+ },
197
+ "enc_blocks.1.0.norm1.bias": {
198
+ "shape": [
199
+ 160
200
+ ],
201
+ "trainable": true
202
+ },
203
+ "enc_blocks.1.0.conv2.c.weight": {
204
+ "shape": [
205
+ 160,
206
+ 160,
207
+ 3,
208
+ 3
209
+ ],
210
+ "trainable": true
211
+ },
212
+ "enc_blocks.1.0.conv2.c.bias": {
213
+ "shape": [
214
+ 160
215
+ ],
216
+ "trainable": true
217
+ },
218
+ "enc_blocks.1.0.norm2.weight": {
219
+ "shape": [
220
+ 160
221
+ ],
222
+ "trainable": true
223
+ },
224
+ "enc_blocks.1.0.norm2.bias": {
225
+ "shape": [
226
+ 160
227
+ ],
228
+ "trainable": true
229
+ },
230
+ "enc_blocks.2.0.conv1.c.weight": {
231
+ "shape": [
232
+ 320,
233
+ 320,
234
+ 3,
235
+ 3
236
+ ],
237
+ "trainable": true
238
+ },
239
+ "enc_blocks.2.0.conv1.c.bias": {
240
+ "shape": [
241
+ 320
242
+ ],
243
+ "trainable": true
244
+ },
245
+ "enc_blocks.2.0.norm1.weight": {
246
+ "shape": [
247
+ 320
248
+ ],
249
+ "trainable": true
250
+ },
251
+ "enc_blocks.2.0.norm1.bias": {
252
+ "shape": [
253
+ 320
254
+ ],
255
+ "trainable": true
256
+ },
257
+ "enc_blocks.2.0.conv2.c.weight": {
258
+ "shape": [
259
+ 320,
260
+ 320,
261
+ 3,
262
+ 3
263
+ ],
264
+ "trainable": true
265
+ },
266
+ "enc_blocks.2.0.conv2.c.bias": {
267
+ "shape": [
268
+ 320
269
+ ],
270
+ "trainable": true
271
+ },
272
+ "enc_blocks.2.0.norm2.weight": {
273
+ "shape": [
274
+ 320
275
+ ],
276
+ "trainable": true
277
+ },
278
+ "enc_blocks.2.0.norm2.bias": {
279
+ "shape": [
280
+ 320
281
+ ],
282
+ "trainable": true
283
+ },
284
+ "ups.0.reduce.c.weight": {
285
+ "shape": [
286
+ 160,
287
+ 320,
288
+ 1,
289
+ 1
290
+ ],
291
+ "trainable": true
292
+ },
293
+ "ups.0.reduce.c.bias": {
294
+ "shape": [
295
+ 160
296
+ ],
297
+ "trainable": true
298
+ },
299
+ "ups.1.reduce.c.weight": {
300
+ "shape": [
301
+ 80,
302
+ 160,
303
+ 1,
304
+ 1
305
+ ],
306
+ "trainable": true
307
+ },
308
+ "ups.1.reduce.c.bias": {
309
+ "shape": [
310
+ 80
311
+ ],
312
+ "trainable": true
313
+ },
314
+ "ups.2.reduce.c.weight": {
315
+ "shape": [
316
+ 40,
317
+ 80,
318
+ 1,
319
+ 1
320
+ ],
321
+ "trainable": true
322
+ },
323
+ "ups.2.reduce.c.bias": {
324
+ "shape": [
325
+ 40
326
+ ],
327
+ "trainable": true
328
+ },
329
+ "dec_blocks.0.0.conv1.c.weight": {
330
+ "shape": [
331
+ 160,
332
+ 320,
333
+ 3,
334
+ 3
335
+ ],
336
+ "trainable": true
337
+ },
338
+ "dec_blocks.0.0.conv1.c.bias": {
339
+ "shape": [
340
+ 160
341
+ ],
342
+ "trainable": true
343
+ },
344
+ "dec_blocks.0.0.norm1.weight": {
345
+ "shape": [
346
+ 160
347
+ ],
348
+ "trainable": true
349
+ },
350
+ "dec_blocks.0.0.norm1.bias": {
351
+ "shape": [
352
+ 160
353
+ ],
354
+ "trainable": true
355
+ },
356
+ "dec_blocks.0.0.conv2.c.weight": {
357
+ "shape": [
358
+ 160,
359
+ 160,
360
+ 3,
361
+ 3
362
+ ],
363
+ "trainable": true
364
+ },
365
+ "dec_blocks.0.0.conv2.c.bias": {
366
+ "shape": [
367
+ 160
368
+ ],
369
+ "trainable": true
370
+ },
371
+ "dec_blocks.0.0.norm2.weight": {
372
+ "shape": [
373
+ 160
374
+ ],
375
+ "trainable": true
376
+ },
377
+ "dec_blocks.0.0.norm2.bias": {
378
+ "shape": [
379
+ 160
380
+ ],
381
+ "trainable": true
382
+ },
383
+ "dec_blocks.0.0.skip.c.weight": {
384
+ "shape": [
385
+ 160,
386
+ 320,
387
+ 1,
388
+ 1
389
+ ],
390
+ "trainable": true
391
+ },
392
+ "dec_blocks.0.0.skip.c.bias": {
393
+ "shape": [
394
+ 160
395
+ ],
396
+ "trainable": true
397
+ },
398
+ "dec_blocks.1.0.conv1.c.weight": {
399
+ "shape": [
400
+ 80,
401
+ 160,
402
+ 3,
403
+ 3
404
+ ],
405
+ "trainable": true
406
+ },
407
+ "dec_blocks.1.0.conv1.c.bias": {
408
+ "shape": [
409
+ 80
410
+ ],
411
+ "trainable": true
412
+ },
413
+ "dec_blocks.1.0.norm1.weight": {
414
+ "shape": [
415
+ 80
416
+ ],
417
+ "trainable": true
418
+ },
419
+ "dec_blocks.1.0.norm1.bias": {
420
+ "shape": [
421
+ 80
422
+ ],
423
+ "trainable": true
424
+ },
425
+ "dec_blocks.1.0.conv2.c.weight": {
426
+ "shape": [
427
+ 80,
428
+ 80,
429
+ 3,
430
+ 3
431
+ ],
432
+ "trainable": true
433
+ },
434
+ "dec_blocks.1.0.conv2.c.bias": {
435
+ "shape": [
436
+ 80
437
+ ],
438
+ "trainable": true
439
+ },
440
+ "dec_blocks.1.0.norm2.weight": {
441
+ "shape": [
442
+ 80
443
+ ],
444
+ "trainable": true
445
+ },
446
+ "dec_blocks.1.0.norm2.bias": {
447
+ "shape": [
448
+ 80
449
+ ],
450
+ "trainable": true
451
+ },
452
+ "dec_blocks.1.0.skip.c.weight": {
453
+ "shape": [
454
+ 80,
455
+ 160,
456
+ 1,
457
+ 1
458
+ ],
459
+ "trainable": true
460
+ },
461
+ "dec_blocks.1.0.skip.c.bias": {
462
+ "shape": [
463
+ 80
464
+ ],
465
+ "trainable": true
466
+ },
467
+ "dec_blocks.2.0.conv1.c.weight": {
468
+ "shape": [
469
+ 40,
470
+ 80,
471
+ 3,
472
+ 3
473
+ ],
474
+ "trainable": true
475
+ },
476
+ "dec_blocks.2.0.conv1.c.bias": {
477
+ "shape": [
478
+ 40
479
+ ],
480
+ "trainable": true
481
+ },
482
+ "dec_blocks.2.0.norm1.weight": {
483
+ "shape": [
484
+ 40
485
+ ],
486
+ "trainable": true
487
+ },
488
+ "dec_blocks.2.0.norm1.bias": {
489
+ "shape": [
490
+ 40
491
+ ],
492
+ "trainable": true
493
+ },
494
+ "dec_blocks.2.0.conv2.c.weight": {
495
+ "shape": [
496
+ 40,
497
+ 40,
498
+ 3,
499
+ 3
500
+ ],
501
+ "trainable": true
502
+ },
503
+ "dec_blocks.2.0.conv2.c.bias": {
504
+ "shape": [
505
+ 40
506
+ ],
507
+ "trainable": true
508
+ },
509
+ "dec_blocks.2.0.norm2.weight": {
510
+ "shape": [
511
+ 40
512
+ ],
513
+ "trainable": true
514
+ },
515
+ "dec_blocks.2.0.norm2.bias": {
516
+ "shape": [
517
+ 40
518
+ ],
519
+ "trainable": true
520
+ },
521
+ "dec_blocks.2.0.skip.c.weight": {
522
+ "shape": [
523
+ 40,
524
+ 80,
525
+ 1,
526
+ 1
527
+ ],
528
+ "trainable": true
529
+ },
530
+ "dec_blocks.2.0.skip.c.bias": {
531
+ "shape": [
532
+ 40
533
+ ],
534
+ "trainable": true
535
+ },
536
+ "final_conv.c.weight": {
537
+ "shape": [
538
+ 3,
539
+ 40,
540
+ 1,
541
+ 1
542
+ ],
543
+ "trainable": true
544
+ },
545
+ "final_conv.c.bias": {
546
+ "shape": [
547
+ 3
548
+ ],
549
+ "trainable": true
550
+ }
551
+ },
552
+ "ops": [
553
+ {
554
+ "op": "conv",
555
+ "x": "input",
556
+ "y": "/stem/skip/c/Conv_output_0",
557
+ "w": "stem.skip.c.weight",
558
+ "b": "stem.skip.c.bias",
559
+ "stride": [
560
+ 1,
561
+ 1
562
+ ]
563
+ },
564
+ {
565
+ "op": "conv",
566
+ "x": "input",
567
+ "y": "/stem/conv1/c/Conv_output_0",
568
+ "w": "stem.conv1.c.weight",
569
+ "b": "stem.conv1.c.bias",
570
+ "stride": [
571
+ 1,
572
+ 1
573
+ ]
574
+ },
575
+ {
576
+ "op": "inorm",
577
+ "x": "/stem/conv1/c/Conv_output_0",
578
+ "y": "/stem/norm1/InstanceNormalization_output_0",
579
+ "scale": "stem.norm1.weight",
580
+ "bias": "stem.norm1.bias",
581
+ "eps": 9.999999747378752e-06
582
+ },
583
+ {
584
+ "op": "relu",
585
+ "x": "/stem/norm1/InstanceNormalization_output_0",
586
+ "y": "/stem/act/Relu_output_0"
587
+ },
588
+ {
589
+ "op": "conv",
590
+ "x": "/stem/act/Relu_output_0",
591
+ "y": "/stem/conv2/c/Conv_output_0",
592
+ "w": "stem.conv2.c.weight",
593
+ "b": "stem.conv2.c.bias",
594
+ "stride": [
595
+ 1,
596
+ 1
597
+ ]
598
+ },
599
+ {
600
+ "op": "inorm",
601
+ "x": "/stem/conv2/c/Conv_output_0",
602
+ "y": "/stem/norm2/InstanceNormalization_output_0",
603
+ "scale": "stem.norm2.weight",
604
+ "bias": "stem.norm2.bias",
605
+ "eps": 9.999999747378752e-06
606
+ },
607
+ {
608
+ "op": "crop",
609
+ "x": "/stem/skip/c/Conv_output_0",
610
+ "y": "/stem/Slice_1_output_0",
611
+ "axis": "h",
612
+ "start": 2,
613
+ "end_margin": 2
614
+ },
615
+ {
616
+ "op": "crop",
617
+ "x": "/stem/Slice_1_output_0",
618
+ "y": "/stem/Slice_2_output_0",
619
+ "axis": "w",
620
+ "start": 2,
621
+ "end_margin": 2
622
+ },
623
+ {
624
+ "op": "add",
625
+ "x": "/stem/norm2/InstanceNormalization_output_0",
626
+ "x2": "/stem/Slice_2_output_0",
627
+ "y": "/stem/Add_output_0"
628
+ },
629
+ {
630
+ "op": "relu",
631
+ "x": "/stem/Add_output_0",
632
+ "y": "/stem/act_1/Relu_output_0"
633
+ },
634
+ {
635
+ "op": "conv",
636
+ "x": "/stem/act_1/Relu_output_0",
637
+ "y": "/downs.0/conv/c/Conv_output_0",
638
+ "w": "downs.0.conv.c.weight",
639
+ "b": "downs.0.conv.c.bias",
640
+ "stride": [
641
+ 2,
642
+ 2
643
+ ]
644
+ },
645
+ {
646
+ "op": "conv",
647
+ "x": "/downs.0/conv/c/Conv_output_0",
648
+ "y": "/enc_blocks.0.0/conv1/c/Conv_output_0",
649
+ "w": "enc_blocks.0.0.conv1.c.weight",
650
+ "b": "enc_blocks.0.0.conv1.c.bias",
651
+ "stride": [
652
+ 1,
653
+ 1
654
+ ]
655
+ },
656
+ {
657
+ "op": "inorm",
658
+ "x": "/enc_blocks.0.0/conv1/c/Conv_output_0",
659
+ "y": "/enc_blocks.0.0/norm1/InstanceNormalization_output_0",
660
+ "scale": "enc_blocks.0.0.norm1.weight",
661
+ "bias": "enc_blocks.0.0.norm1.bias",
662
+ "eps": 9.999999747378752e-06
663
+ },
664
+ {
665
+ "op": "relu",
666
+ "x": "/enc_blocks.0.0/norm1/InstanceNormalization_output_0",
667
+ "y": "/enc_blocks.0.0/act/Relu_output_0"
668
+ },
669
+ {
670
+ "op": "conv",
671
+ "x": "/enc_blocks.0.0/act/Relu_output_0",
672
+ "y": "/enc_blocks.0.0/conv2/c/Conv_output_0",
673
+ "w": "enc_blocks.0.0.conv2.c.weight",
674
+ "b": "enc_blocks.0.0.conv2.c.bias",
675
+ "stride": [
676
+ 1,
677
+ 1
678
+ ]
679
+ },
680
+ {
681
+ "op": "inorm",
682
+ "x": "/enc_blocks.0.0/conv2/c/Conv_output_0",
683
+ "y": "/enc_blocks.0.0/norm2/InstanceNormalization_output_0",
684
+ "scale": "enc_blocks.0.0.norm2.weight",
685
+ "bias": "enc_blocks.0.0.norm2.bias",
686
+ "eps": 9.999999747378752e-06
687
+ },
688
+ {
689
+ "op": "crop",
690
+ "x": "/downs.0/conv/c/Conv_output_0",
691
+ "y": "/enc_blocks.0.0/Slice_1_output_0",
692
+ "axis": "h",
693
+ "start": 2,
694
+ "end_margin": 2
695
+ },
696
+ {
697
+ "op": "crop",
698
+ "x": "/enc_blocks.0.0/Slice_1_output_0",
699
+ "y": "/enc_blocks.0.0/Slice_2_output_0",
700
+ "axis": "w",
701
+ "start": 2,
702
+ "end_margin": 2
703
+ },
704
+ {
705
+ "op": "add",
706
+ "x": "/enc_blocks.0.0/norm2/InstanceNormalization_output_0",
707
+ "x2": "/enc_blocks.0.0/Slice_2_output_0",
708
+ "y": "/enc_blocks.0.0/Add_output_0"
709
+ },
710
+ {
711
+ "op": "relu",
712
+ "x": "/enc_blocks.0.0/Add_output_0",
713
+ "y": "/enc_blocks.0.0/act_1/Relu_output_0"
714
+ },
715
+ {
716
+ "op": "conv",
717
+ "x": "/enc_blocks.0.0/act_1/Relu_output_0",
718
+ "y": "/downs.1/conv/c/Conv_output_0",
719
+ "w": "downs.1.conv.c.weight",
720
+ "b": "downs.1.conv.c.bias",
721
+ "stride": [
722
+ 2,
723
+ 2
724
+ ]
725
+ },
726
+ {
727
+ "op": "conv",
728
+ "x": "/downs.1/conv/c/Conv_output_0",
729
+ "y": "/enc_blocks.1.0/conv1/c/Conv_output_0",
730
+ "w": "enc_blocks.1.0.conv1.c.weight",
731
+ "b": "enc_blocks.1.0.conv1.c.bias",
732
+ "stride": [
733
+ 1,
734
+ 1
735
+ ]
736
+ },
737
+ {
738
+ "op": "inorm",
739
+ "x": "/enc_blocks.1.0/conv1/c/Conv_output_0",
740
+ "y": "/enc_blocks.1.0/norm1/InstanceNormalization_output_0",
741
+ "scale": "enc_blocks.1.0.norm1.weight",
742
+ "bias": "enc_blocks.1.0.norm1.bias",
743
+ "eps": 9.999999747378752e-06
744
+ },
745
+ {
746
+ "op": "relu",
747
+ "x": "/enc_blocks.1.0/norm1/InstanceNormalization_output_0",
748
+ "y": "/enc_blocks.1.0/act/Relu_output_0"
749
+ },
750
+ {
751
+ "op": "conv",
752
+ "x": "/enc_blocks.1.0/act/Relu_output_0",
753
+ "y": "/enc_blocks.1.0/conv2/c/Conv_output_0",
754
+ "w": "enc_blocks.1.0.conv2.c.weight",
755
+ "b": "enc_blocks.1.0.conv2.c.bias",
756
+ "stride": [
757
+ 1,
758
+ 1
759
+ ]
760
+ },
761
+ {
762
+ "op": "inorm",
763
+ "x": "/enc_blocks.1.0/conv2/c/Conv_output_0",
764
+ "y": "/enc_blocks.1.0/norm2/InstanceNormalization_output_0",
765
+ "scale": "enc_blocks.1.0.norm2.weight",
766
+ "bias": "enc_blocks.1.0.norm2.bias",
767
+ "eps": 9.999999747378752e-06
768
+ },
769
+ {
770
+ "op": "crop",
771
+ "x": "/downs.1/conv/c/Conv_output_0",
772
+ "y": "/enc_blocks.1.0/Slice_1_output_0",
773
+ "axis": "h",
774
+ "start": 2,
775
+ "end_margin": 2
776
+ },
777
+ {
778
+ "op": "crop",
779
+ "x": "/enc_blocks.1.0/Slice_1_output_0",
780
+ "y": "/enc_blocks.1.0/Slice_2_output_0",
781
+ "axis": "w",
782
+ "start": 2,
783
+ "end_margin": 2
784
+ },
785
+ {
786
+ "op": "add",
787
+ "x": "/enc_blocks.1.0/norm2/InstanceNormalization_output_0",
788
+ "x2": "/enc_blocks.1.0/Slice_2_output_0",
789
+ "y": "/enc_blocks.1.0/Add_output_0"
790
+ },
791
+ {
792
+ "op": "relu",
793
+ "x": "/enc_blocks.1.0/Add_output_0",
794
+ "y": "/enc_blocks.1.0/act_1/Relu_output_0"
795
+ },
796
+ {
797
+ "op": "conv",
798
+ "x": "/enc_blocks.1.0/act_1/Relu_output_0",
799
+ "y": "/downs.2/conv/c/Conv_output_0",
800
+ "w": "downs.2.conv.c.weight",
801
+ "b": "downs.2.conv.c.bias",
802
+ "stride": [
803
+ 2,
804
+ 2
805
+ ]
806
+ },
807
+ {
808
+ "op": "conv",
809
+ "x": "/downs.2/conv/c/Conv_output_0",
810
+ "y": "/enc_blocks.2.0/conv1/c/Conv_output_0",
811
+ "w": "enc_blocks.2.0.conv1.c.weight",
812
+ "b": "enc_blocks.2.0.conv1.c.bias",
813
+ "stride": [
814
+ 1,
815
+ 1
816
+ ]
817
+ },
818
+ {
819
+ "op": "inorm",
820
+ "x": "/enc_blocks.2.0/conv1/c/Conv_output_0",
821
+ "y": "/enc_blocks.2.0/norm1/InstanceNormalization_output_0",
822
+ "scale": "enc_blocks.2.0.norm1.weight",
823
+ "bias": "enc_blocks.2.0.norm1.bias",
824
+ "eps": 9.999999747378752e-06
825
+ },
826
+ {
827
+ "op": "relu",
828
+ "x": "/enc_blocks.2.0/norm1/InstanceNormalization_output_0",
829
+ "y": "/enc_blocks.2.0/act/Relu_output_0"
830
+ },
831
+ {
832
+ "op": "conv",
833
+ "x": "/enc_blocks.2.0/act/Relu_output_0",
834
+ "y": "/enc_blocks.2.0/conv2/c/Conv_output_0",
835
+ "w": "enc_blocks.2.0.conv2.c.weight",
836
+ "b": "enc_blocks.2.0.conv2.c.bias",
837
+ "stride": [
838
+ 1,
839
+ 1
840
+ ]
841
+ },
842
+ {
843
+ "op": "inorm",
844
+ "x": "/enc_blocks.2.0/conv2/c/Conv_output_0",
845
+ "y": "/enc_blocks.2.0/norm2/InstanceNormalization_output_0",
846
+ "scale": "enc_blocks.2.0.norm2.weight",
847
+ "bias": "enc_blocks.2.0.norm2.bias",
848
+ "eps": 9.999999747378752e-06
849
+ },
850
+ {
851
+ "op": "crop",
852
+ "x": "/downs.2/conv/c/Conv_output_0",
853
+ "y": "/enc_blocks.2.0/Slice_1_output_0",
854
+ "axis": "h",
855
+ "start": 2,
856
+ "end_margin": 2
857
+ },
858
+ {
859
+ "op": "crop",
860
+ "x": "/enc_blocks.2.0/Slice_1_output_0",
861
+ "y": "/enc_blocks.2.0/Slice_2_output_0",
862
+ "axis": "w",
863
+ "start": 2,
864
+ "end_margin": 2
865
+ },
866
+ {
867
+ "op": "add",
868
+ "x": "/enc_blocks.2.0/norm2/InstanceNormalization_output_0",
869
+ "x2": "/enc_blocks.2.0/Slice_2_output_0",
870
+ "y": "/enc_blocks.2.0/Add_output_0"
871
+ },
872
+ {
873
+ "op": "relu",
874
+ "x": "/enc_blocks.2.0/Add_output_0",
875
+ "y": "/enc_blocks.2.0/act_1/Relu_output_0"
876
+ },
877
+ {
878
+ "op": "upsample",
879
+ "x": "/enc_blocks.2.0/act_1/Relu_output_0",
880
+ "y": "/ups.0/Resize_output_0",
881
+ "factor": 2
882
+ },
883
+ {
884
+ "op": "conv",
885
+ "x": "/ups.0/Resize_output_0",
886
+ "y": "/ups.0/reduce/c/Conv_output_0",
887
+ "w": "ups.0.reduce.c.weight",
888
+ "b": "ups.0.reduce.c.bias",
889
+ "stride": [
890
+ 1,
891
+ 1
892
+ ]
893
+ },
894
+ {
895
+ "op": "crop",
896
+ "x": "/enc_blocks.1.0/act_1/Relu_output_0",
897
+ "y": "/Slice_1_output_0",
898
+ "axis": "h",
899
+ "start": 4,
900
+ "end_margin": 4
901
+ },
902
+ {
903
+ "op": "crop",
904
+ "x": "/Slice_1_output_0",
905
+ "y": "/Slice_2_output_0",
906
+ "axis": "w",
907
+ "start": 4,
908
+ "end_margin": 4
909
+ },
910
+ {
911
+ "op": "concat",
912
+ "xs": [
913
+ "/ups.0/reduce/c/Conv_output_0",
914
+ "/Slice_2_output_0"
915
+ ],
916
+ "y": "/Concat_output_0"
917
+ },
918
+ {
919
+ "op": "conv",
920
+ "x": "/Concat_output_0",
921
+ "y": "/dec_blocks.0.0/skip/c/Conv_output_0",
922
+ "w": "dec_blocks.0.0.skip.c.weight",
923
+ "b": "dec_blocks.0.0.skip.c.bias",
924
+ "stride": [
925
+ 1,
926
+ 1
927
+ ]
928
+ },
929
+ {
930
+ "op": "conv",
931
+ "x": "/Concat_output_0",
932
+ "y": "/dec_blocks.0.0/conv1/c/Conv_output_0",
933
+ "w": "dec_blocks.0.0.conv1.c.weight",
934
+ "b": "dec_blocks.0.0.conv1.c.bias",
935
+ "stride": [
936
+ 1,
937
+ 1
938
+ ]
939
+ },
940
+ {
941
+ "op": "inorm",
942
+ "x": "/dec_blocks.0.0/conv1/c/Conv_output_0",
943
+ "y": "/dec_blocks.0.0/norm1/InstanceNormalization_output_0",
944
+ "scale": "dec_blocks.0.0.norm1.weight",
945
+ "bias": "dec_blocks.0.0.norm1.bias",
946
+ "eps": 9.999999747378752e-06
947
+ },
948
+ {
949
+ "op": "relu",
950
+ "x": "/dec_blocks.0.0/norm1/InstanceNormalization_output_0",
951
+ "y": "/dec_blocks.0.0/act/Relu_output_0"
952
+ },
953
+ {
954
+ "op": "conv",
955
+ "x": "/dec_blocks.0.0/act/Relu_output_0",
956
+ "y": "/dec_blocks.0.0/conv2/c/Conv_output_0",
957
+ "w": "dec_blocks.0.0.conv2.c.weight",
958
+ "b": "dec_blocks.0.0.conv2.c.bias",
959
+ "stride": [
960
+ 1,
961
+ 1
962
+ ]
963
+ },
964
+ {
965
+ "op": "inorm",
966
+ "x": "/dec_blocks.0.0/conv2/c/Conv_output_0",
967
+ "y": "/dec_blocks.0.0/norm2/InstanceNormalization_output_0",
968
+ "scale": "dec_blocks.0.0.norm2.weight",
969
+ "bias": "dec_blocks.0.0.norm2.bias",
970
+ "eps": 9.999999747378752e-06
971
+ },
972
+ {
973
+ "op": "crop",
974
+ "x": "/dec_blocks.0.0/skip/c/Conv_output_0",
975
+ "y": "/dec_blocks.0.0/Slice_1_output_0",
976
+ "axis": "h",
977
+ "start": 2,
978
+ "end_margin": 2
979
+ },
980
+ {
981
+ "op": "crop",
982
+ "x": "/dec_blocks.0.0/Slice_1_output_0",
983
+ "y": "/dec_blocks.0.0/Slice_2_output_0",
984
+ "axis": "w",
985
+ "start": 2,
986
+ "end_margin": 2
987
+ },
988
+ {
989
+ "op": "add",
990
+ "x": "/dec_blocks.0.0/norm2/InstanceNormalization_output_0",
991
+ "x2": "/dec_blocks.0.0/Slice_2_output_0",
992
+ "y": "/dec_blocks.0.0/Add_output_0"
993
+ },
994
+ {
995
+ "op": "relu",
996
+ "x": "/dec_blocks.0.0/Add_output_0",
997
+ "y": "/dec_blocks.0.0/act_1/Relu_output_0"
998
+ },
999
+ {
1000
+ "op": "upsample",
1001
+ "x": "/dec_blocks.0.0/act_1/Relu_output_0",
1002
+ "y": "/ups.1/Resize_output_0",
1003
+ "factor": 2
1004
+ },
1005
+ {
1006
+ "op": "conv",
1007
+ "x": "/ups.1/Resize_output_0",
1008
+ "y": "/ups.1/reduce/c/Conv_output_0",
1009
+ "w": "ups.1.reduce.c.weight",
1010
+ "b": "ups.1.reduce.c.bias",
1011
+ "stride": [
1012
+ 1,
1013
+ 1
1014
+ ]
1015
+ },
1016
+ {
1017
+ "op": "crop",
1018
+ "x": "/enc_blocks.0.0/act_1/Relu_output_0",
1019
+ "y": "/Slice_4_output_0",
1020
+ "axis": "h",
1021
+ "start": 16,
1022
+ "end_margin": 16
1023
+ },
1024
+ {
1025
+ "op": "crop",
1026
+ "x": "/Slice_4_output_0",
1027
+ "y": "/Slice_5_output_0",
1028
+ "axis": "w",
1029
+ "start": 16,
1030
+ "end_margin": 16
1031
+ },
1032
+ {
1033
+ "op": "concat",
1034
+ "xs": [
1035
+ "/ups.1/reduce/c/Conv_output_0",
1036
+ "/Slice_5_output_0"
1037
+ ],
1038
+ "y": "/Concat_1_output_0"
1039
+ },
1040
+ {
1041
+ "op": "conv",
1042
+ "x": "/Concat_1_output_0",
1043
+ "y": "/dec_blocks.1.0/skip/c/Conv_output_0",
1044
+ "w": "dec_blocks.1.0.skip.c.weight",
1045
+ "b": "dec_blocks.1.0.skip.c.bias",
1046
+ "stride": [
1047
+ 1,
1048
+ 1
1049
+ ]
1050
+ },
1051
+ {
1052
+ "op": "conv",
1053
+ "x": "/Concat_1_output_0",
1054
+ "y": "/dec_blocks.1.0/conv1/c/Conv_output_0",
1055
+ "w": "dec_blocks.1.0.conv1.c.weight",
1056
+ "b": "dec_blocks.1.0.conv1.c.bias",
1057
+ "stride": [
1058
+ 1,
1059
+ 1
1060
+ ]
1061
+ },
1062
+ {
1063
+ "op": "inorm",
1064
+ "x": "/dec_blocks.1.0/conv1/c/Conv_output_0",
1065
+ "y": "/dec_blocks.1.0/norm1/InstanceNormalization_output_0",
1066
+ "scale": "dec_blocks.1.0.norm1.weight",
1067
+ "bias": "dec_blocks.1.0.norm1.bias",
1068
+ "eps": 9.999999747378752e-06
1069
+ },
1070
+ {
1071
+ "op": "relu",
1072
+ "x": "/dec_blocks.1.0/norm1/InstanceNormalization_output_0",
1073
+ "y": "/dec_blocks.1.0/act/Relu_output_0"
1074
+ },
1075
+ {
1076
+ "op": "conv",
1077
+ "x": "/dec_blocks.1.0/act/Relu_output_0",
1078
+ "y": "/dec_blocks.1.0/conv2/c/Conv_output_0",
1079
+ "w": "dec_blocks.1.0.conv2.c.weight",
1080
+ "b": "dec_blocks.1.0.conv2.c.bias",
1081
+ "stride": [
1082
+ 1,
1083
+ 1
1084
+ ]
1085
+ },
1086
+ {
1087
+ "op": "inorm",
1088
+ "x": "/dec_blocks.1.0/conv2/c/Conv_output_0",
1089
+ "y": "/dec_blocks.1.0/norm2/InstanceNormalization_output_0",
1090
+ "scale": "dec_blocks.1.0.norm2.weight",
1091
+ "bias": "dec_blocks.1.0.norm2.bias",
1092
+ "eps": 9.999999747378752e-06
1093
+ },
1094
+ {
1095
+ "op": "crop",
1096
+ "x": "/dec_blocks.1.0/skip/c/Conv_output_0",
1097
+ "y": "/dec_blocks.1.0/Slice_1_output_0",
1098
+ "axis": "h",
1099
+ "start": 2,
1100
+ "end_margin": 2
1101
+ },
1102
+ {
1103
+ "op": "crop",
1104
+ "x": "/dec_blocks.1.0/Slice_1_output_0",
1105
+ "y": "/dec_blocks.1.0/Slice_2_output_0",
1106
+ "axis": "w",
1107
+ "start": 2,
1108
+ "end_margin": 2
1109
+ },
1110
+ {
1111
+ "op": "add",
1112
+ "x": "/dec_blocks.1.0/norm2/InstanceNormalization_output_0",
1113
+ "x2": "/dec_blocks.1.0/Slice_2_output_0",
1114
+ "y": "/dec_blocks.1.0/Add_output_0"
1115
+ },
1116
+ {
1117
+ "op": "relu",
1118
+ "x": "/dec_blocks.1.0/Add_output_0",
1119
+ "y": "/dec_blocks.1.0/act_1/Relu_output_0"
1120
+ },
1121
+ {
1122
+ "op": "upsample",
1123
+ "x": "/dec_blocks.1.0/act_1/Relu_output_0",
1124
+ "y": "/ups.2/Resize_output_0",
1125
+ "factor": 2
1126
+ },
1127
+ {
1128
+ "op": "conv",
1129
+ "x": "/ups.2/Resize_output_0",
1130
+ "y": "/ups.2/reduce/c/Conv_output_0",
1131
+ "w": "ups.2.reduce.c.weight",
1132
+ "b": "ups.2.reduce.c.bias",
1133
+ "stride": [
1134
+ 1,
1135
+ 1
1136
+ ]
1137
+ },
1138
+ {
1139
+ "op": "crop",
1140
+ "x": "/stem/act_1/Relu_output_0",
1141
+ "y": "/Slice_7_output_0",
1142
+ "axis": "h",
1143
+ "start": 40,
1144
+ "end_margin": 40
1145
+ },
1146
+ {
1147
+ "op": "crop",
1148
+ "x": "/Slice_7_output_0",
1149
+ "y": "/Slice_8_output_0",
1150
+ "axis": "w",
1151
+ "start": 40,
1152
+ "end_margin": 40
1153
+ },
1154
+ {
1155
+ "op": "concat",
1156
+ "xs": [
1157
+ "/ups.2/reduce/c/Conv_output_0",
1158
+ "/Slice_8_output_0"
1159
+ ],
1160
+ "y": "/Concat_2_output_0"
1161
+ },
1162
+ {
1163
+ "op": "conv",
1164
+ "x": "/Concat_2_output_0",
1165
+ "y": "/dec_blocks.2.0/skip/c/Conv_output_0",
1166
+ "w": "dec_blocks.2.0.skip.c.weight",
1167
+ "b": "dec_blocks.2.0.skip.c.bias",
1168
+ "stride": [
1169
+ 1,
1170
+ 1
1171
+ ]
1172
+ },
1173
+ {
1174
+ "op": "conv",
1175
+ "x": "/Concat_2_output_0",
1176
+ "y": "/dec_blocks.2.0/conv1/c/Conv_output_0",
1177
+ "w": "dec_blocks.2.0.conv1.c.weight",
1178
+ "b": "dec_blocks.2.0.conv1.c.bias",
1179
+ "stride": [
1180
+ 1,
1181
+ 1
1182
+ ]
1183
+ },
1184
+ {
1185
+ "op": "inorm",
1186
+ "x": "/dec_blocks.2.0/conv1/c/Conv_output_0",
1187
+ "y": "/dec_blocks.2.0/norm1/InstanceNormalization_output_0",
1188
+ "scale": "dec_blocks.2.0.norm1.weight",
1189
+ "bias": "dec_blocks.2.0.norm1.bias",
1190
+ "eps": 9.999999747378752e-06
1191
+ },
1192
+ {
1193
+ "op": "relu",
1194
+ "x": "/dec_blocks.2.0/norm1/InstanceNormalization_output_0",
1195
+ "y": "/dec_blocks.2.0/act/Relu_output_0"
1196
+ },
1197
+ {
1198
+ "op": "conv",
1199
+ "x": "/dec_blocks.2.0/act/Relu_output_0",
1200
+ "y": "/dec_blocks.2.0/conv2/c/Conv_output_0",
1201
+ "w": "dec_blocks.2.0.conv2.c.weight",
1202
+ "b": "dec_blocks.2.0.conv2.c.bias",
1203
+ "stride": [
1204
+ 1,
1205
+ 1
1206
+ ]
1207
+ },
1208
+ {
1209
+ "op": "inorm",
1210
+ "x": "/dec_blocks.2.0/conv2/c/Conv_output_0",
1211
+ "y": "/dec_blocks.2.0/norm2/InstanceNormalization_output_0",
1212
+ "scale": "dec_blocks.2.0.norm2.weight",
1213
+ "bias": "dec_blocks.2.0.norm2.bias",
1214
+ "eps": 9.999999747378752e-06
1215
+ },
1216
+ {
1217
+ "op": "crop",
1218
+ "x": "/dec_blocks.2.0/skip/c/Conv_output_0",
1219
+ "y": "/dec_blocks.2.0/Slice_1_output_0",
1220
+ "axis": "h",
1221
+ "start": 2,
1222
+ "end_margin": 2
1223
+ },
1224
+ {
1225
+ "op": "crop",
1226
+ "x": "/dec_blocks.2.0/Slice_1_output_0",
1227
+ "y": "/dec_blocks.2.0/Slice_2_output_0",
1228
+ "axis": "w",
1229
+ "start": 2,
1230
+ "end_margin": 2
1231
+ },
1232
+ {
1233
+ "op": "add",
1234
+ "x": "/dec_blocks.2.0/norm2/InstanceNormalization_output_0",
1235
+ "x2": "/dec_blocks.2.0/Slice_2_output_0",
1236
+ "y": "/dec_blocks.2.0/Add_output_0"
1237
+ },
1238
+ {
1239
+ "op": "relu",
1240
+ "x": "/dec_blocks.2.0/Add_output_0",
1241
+ "y": "/dec_blocks.2.0/act_1/Relu_output_0"
1242
+ },
1243
+ {
1244
+ "op": "conv",
1245
+ "x": "/dec_blocks.2.0/act_1/Relu_output_0",
1246
+ "y": "/final_conv/c/Conv_output_0",
1247
+ "w": "final_conv.c.weight",
1248
+ "b": "final_conv.c.bias",
1249
+ "stride": [
1250
+ 1,
1251
+ 1
1252
+ ]
1253
+ }
1254
+ ]
1255
+ }
setup_54_2d/manifest.json CHANGED
@@ -166,5 +166,74 @@
166
  "crop1081": 0.9582
167
  },
168
  "teacher_3d_mean": 0.9576
169
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  }
 
166
  "crop1081": 0.9582
167
  },
168
  "teacher_3d_mean": 0.9576
169
+ },
170
+ "torch_version": "2.9.1",
171
+ "exporter": "torch.onnx.export (TorchScript, dynamo=False)",
172
+ "opset": 18,
173
+ "finetune": {
174
+ "head": {
175
+ "final_layer": "final_conv.c",
176
+ "onnx_node": "/final_conv/c/Conv",
177
+ "features": "/final_conv/Gather_output_0",
178
+ "weight": "final_conv.c.weight",
179
+ "bias": "final_conv.c.bias",
180
+ "in_channels": 40,
181
+ "out_channels": 3,
182
+ "activation": "none (logits)",
183
+ "files": [
184
+ "setup_54_mito_affinities_16nm_2d_in1060_fp16.onnx",
185
+ "setup_54_mito_affinities_16nm_2d_in1060_fp32.onnx",
186
+ "setup_54_mito_affinities_16nm_2d_in300_fp16.onnx",
187
+ "setup_54_mito_affinities_16nm_2d_in300_fp32.onnx",
188
+ "setup_54_mito_affinities_16nm_2d_in556_fp16.onnx",
189
+ "setup_54_mito_affinities_16nm_2d_in556_fp32.onnx"
190
+ ],
191
+ "initializers": "finetune/initializers.json",
192
+ "loss": "masked BCE on logits",
193
+ "note": "train the final 1x1 conv on frozen features"
194
+ },
195
+ "full": {
196
+ "library": "tfjs",
197
+ "files": [
198
+ "finetune/train_graph.json",
199
+ "finetune/cellmap_tfjs_train.js"
200
+ ],
201
+ "weight_map": "identity",
202
+ "initializers": "finetune/initializers.json",
203
+ "write_back": [
204
+ "setup_54_mito_affinities_16nm_2d_in1060_fp16.onnx",
205
+ "setup_54_mito_affinities_16nm_2d_in1060_fp32.onnx",
206
+ "setup_54_mito_affinities_16nm_2d_in300_fp16.onnx",
207
+ "setup_54_mito_affinities_16nm_2d_in300_fp32.onnx",
208
+ "setup_54_mito_affinities_16nm_2d_in556_fp16.onnx",
209
+ "setup_54_mito_affinities_16nm_2d_in556_fp32.onnx"
210
+ ],
211
+ "frozen": [],
212
+ "note": "params named as the ONNX initializers; BatchNorm running stats frozen",
213
+ "spike": {
214
+ "setup": "TF.js 4.22.0 WebGPU backend, Chrome on macOS, Apple GPU (metal-3, unified memory); batch 1, fp32, masked BCE on logits, Adam lr 1e-4; graph = finetune/train_graph.json, weights read from the served fp32 .onnx; median of 8 steps after 2 warm-up; peak = tf.profile peakBytes above baseline (tracked tensors; the WebGPU buffer pool holds more)",
215
+ "date": "2026-10-16",
216
+ "params": 3750963,
217
+ "full": {
218
+ "300": {
219
+ "step_ms": 462,
220
+ "peak_mb": 908
221
+ },
222
+ "556": {
223
+ "step_ms": 1919,
224
+ "peak_mb": 3702
225
+ }
226
+ },
227
+ "forward_ms": {
228
+ "300": 31,
229
+ "556": 123
230
+ },
231
+ "tfjs_webgpu_vs_ort_webgpu_556": {
232
+ "max_abs": 3.43e-05,
233
+ "flips": 0
234
+ }
235
+ }
236
+ }
237
+ },
238
+ "source_repo": "cellmap/mito-aff-resunet-setup-54-2d"
239
  }
setup_55/finetune/initializers.json ADDED
The diff for this file is too large to render. See raw diff
 
setup_55/finetune/weight_map.json ADDED
@@ -0,0 +1,482 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "encoder0.conv1.convs.0.weight": {
3
+ "torch": "encoder0.conv1.weight",
4
+ "transform": "[:, :, 0]"
5
+ },
6
+ "encoder0.conv1.convs.0.bias": {
7
+ "torch": "encoder0.conv1.bias",
8
+ "transform": "identity"
9
+ },
10
+ "encoder0.conv1.convs.1.weight": {
11
+ "torch": "encoder0.conv1.weight",
12
+ "transform": "[:, :, 1]"
13
+ },
14
+ "encoder0.conv1.convs.2.weight": {
15
+ "torch": "encoder0.conv1.weight",
16
+ "transform": "[:, :, 2]"
17
+ },
18
+ "encoder0.bn1.weight": {
19
+ "torch": "encoder0.bn1.weight",
20
+ "transform": "identity"
21
+ },
22
+ "encoder0.bn1.bias": {
23
+ "torch": "encoder0.bn1.bias",
24
+ "transform": "identity"
25
+ },
26
+ "encoder0.bn1.running_mean": {
27
+ "torch": "encoder0.bn1.running_mean",
28
+ "transform": "identity"
29
+ },
30
+ "encoder0.bn1.running_var": {
31
+ "torch": "encoder0.bn1.running_var",
32
+ "transform": "identity"
33
+ },
34
+ "encoder0.conv2.convs.0.weight": {
35
+ "torch": "encoder0.conv2.weight",
36
+ "transform": "[:, :, 0]"
37
+ },
38
+ "encoder0.conv2.convs.0.bias": {
39
+ "torch": "encoder0.conv2.bias",
40
+ "transform": "identity"
41
+ },
42
+ "encoder0.conv2.convs.1.weight": {
43
+ "torch": "encoder0.conv2.weight",
44
+ "transform": "[:, :, 1]"
45
+ },
46
+ "encoder0.conv2.convs.2.weight": {
47
+ "torch": "encoder0.conv2.weight",
48
+ "transform": "[:, :, 2]"
49
+ },
50
+ "encoder0.bn2.weight": {
51
+ "torch": "encoder0.bn2.weight",
52
+ "transform": "identity"
53
+ },
54
+ "encoder0.bn2.bias": {
55
+ "torch": "encoder0.bn2.bias",
56
+ "transform": "identity"
57
+ },
58
+ "encoder0.bn2.running_mean": {
59
+ "torch": "encoder0.bn2.running_mean",
60
+ "transform": "identity"
61
+ },
62
+ "encoder0.bn2.running_var": {
63
+ "torch": "encoder0.bn2.running_var",
64
+ "transform": "identity"
65
+ },
66
+ "encoder1.conv1.convs.0.weight": {
67
+ "torch": "encoder1.conv1.weight",
68
+ "transform": "[:, :, 0]"
69
+ },
70
+ "encoder1.conv1.convs.0.bias": {
71
+ "torch": "encoder1.conv1.bias",
72
+ "transform": "identity"
73
+ },
74
+ "encoder1.conv1.convs.1.weight": {
75
+ "torch": "encoder1.conv1.weight",
76
+ "transform": "[:, :, 1]"
77
+ },
78
+ "encoder1.conv1.convs.2.weight": {
79
+ "torch": "encoder1.conv1.weight",
80
+ "transform": "[:, :, 2]"
81
+ },
82
+ "encoder1.bn1.weight": {
83
+ "torch": "encoder1.bn1.weight",
84
+ "transform": "identity"
85
+ },
86
+ "encoder1.bn1.bias": {
87
+ "torch": "encoder1.bn1.bias",
88
+ "transform": "identity"
89
+ },
90
+ "encoder1.bn1.running_mean": {
91
+ "torch": "encoder1.bn1.running_mean",
92
+ "transform": "identity"
93
+ },
94
+ "encoder1.bn1.running_var": {
95
+ "torch": "encoder1.bn1.running_var",
96
+ "transform": "identity"
97
+ },
98
+ "encoder1.conv2.convs.0.weight": {
99
+ "torch": "encoder1.conv2.weight",
100
+ "transform": "[:, :, 0]"
101
+ },
102
+ "encoder1.conv2.convs.0.bias": {
103
+ "torch": "encoder1.conv2.bias",
104
+ "transform": "identity"
105
+ },
106
+ "encoder1.conv2.convs.1.weight": {
107
+ "torch": "encoder1.conv2.weight",
108
+ "transform": "[:, :, 1]"
109
+ },
110
+ "encoder1.conv2.convs.2.weight": {
111
+ "torch": "encoder1.conv2.weight",
112
+ "transform": "[:, :, 2]"
113
+ },
114
+ "encoder1.bn2.weight": {
115
+ "torch": "encoder1.bn2.weight",
116
+ "transform": "identity"
117
+ },
118
+ "encoder1.bn2.bias": {
119
+ "torch": "encoder1.bn2.bias",
120
+ "transform": "identity"
121
+ },
122
+ "encoder1.bn2.running_mean": {
123
+ "torch": "encoder1.bn2.running_mean",
124
+ "transform": "identity"
125
+ },
126
+ "encoder1.bn2.running_var": {
127
+ "torch": "encoder1.bn2.running_var",
128
+ "transform": "identity"
129
+ },
130
+ "encoder2.conv1.convs.0.weight": {
131
+ "torch": "encoder2.conv1.weight",
132
+ "transform": "[:, :, 0]"
133
+ },
134
+ "encoder2.conv1.convs.0.bias": {
135
+ "torch": "encoder2.conv1.bias",
136
+ "transform": "identity"
137
+ },
138
+ "encoder2.conv1.convs.1.weight": {
139
+ "torch": "encoder2.conv1.weight",
140
+ "transform": "[:, :, 1]"
141
+ },
142
+ "encoder2.conv1.convs.2.weight": {
143
+ "torch": "encoder2.conv1.weight",
144
+ "transform": "[:, :, 2]"
145
+ },
146
+ "encoder2.bn1.weight": {
147
+ "torch": "encoder2.bn1.weight",
148
+ "transform": "identity"
149
+ },
150
+ "encoder2.bn1.bias": {
151
+ "torch": "encoder2.bn1.bias",
152
+ "transform": "identity"
153
+ },
154
+ "encoder2.bn1.running_mean": {
155
+ "torch": "encoder2.bn1.running_mean",
156
+ "transform": "identity"
157
+ },
158
+ "encoder2.bn1.running_var": {
159
+ "torch": "encoder2.bn1.running_var",
160
+ "transform": "identity"
161
+ },
162
+ "encoder2.conv2.convs.0.weight": {
163
+ "torch": "encoder2.conv2.weight",
164
+ "transform": "[:, :, 0]"
165
+ },
166
+ "encoder2.conv2.convs.0.bias": {
167
+ "torch": "encoder2.conv2.bias",
168
+ "transform": "identity"
169
+ },
170
+ "encoder2.conv2.convs.1.weight": {
171
+ "torch": "encoder2.conv2.weight",
172
+ "transform": "[:, :, 1]"
173
+ },
174
+ "encoder2.conv2.convs.2.weight": {
175
+ "torch": "encoder2.conv2.weight",
176
+ "transform": "[:, :, 2]"
177
+ },
178
+ "encoder2.bn2.weight": {
179
+ "torch": "encoder2.bn2.weight",
180
+ "transform": "identity"
181
+ },
182
+ "encoder2.bn2.bias": {
183
+ "torch": "encoder2.bn2.bias",
184
+ "transform": "identity"
185
+ },
186
+ "encoder2.bn2.running_mean": {
187
+ "torch": "encoder2.bn2.running_mean",
188
+ "transform": "identity"
189
+ },
190
+ "encoder2.bn2.running_var": {
191
+ "torch": "encoder2.bn2.running_var",
192
+ "transform": "identity"
193
+ },
194
+ "bottleneck.conv1.convs.0.weight": {
195
+ "torch": "bottleneck.conv1.weight",
196
+ "transform": "[:, :, 0]"
197
+ },
198
+ "bottleneck.conv1.convs.0.bias": {
199
+ "torch": "bottleneck.conv1.bias",
200
+ "transform": "identity"
201
+ },
202
+ "bottleneck.conv1.convs.1.weight": {
203
+ "torch": "bottleneck.conv1.weight",
204
+ "transform": "[:, :, 1]"
205
+ },
206
+ "bottleneck.conv1.convs.2.weight": {
207
+ "torch": "bottleneck.conv1.weight",
208
+ "transform": "[:, :, 2]"
209
+ },
210
+ "bottleneck.bn1.weight": {
211
+ "torch": "bottleneck.bn1.weight",
212
+ "transform": "identity"
213
+ },
214
+ "bottleneck.bn1.bias": {
215
+ "torch": "bottleneck.bn1.bias",
216
+ "transform": "identity"
217
+ },
218
+ "bottleneck.bn1.running_mean": {
219
+ "torch": "bottleneck.bn1.running_mean",
220
+ "transform": "identity"
221
+ },
222
+ "bottleneck.bn1.running_var": {
223
+ "torch": "bottleneck.bn1.running_var",
224
+ "transform": "identity"
225
+ },
226
+ "bottleneck.conv2.convs.0.weight": {
227
+ "torch": "bottleneck.conv2.weight",
228
+ "transform": "[:, :, 0]"
229
+ },
230
+ "bottleneck.conv2.convs.0.bias": {
231
+ "torch": "bottleneck.conv2.bias",
232
+ "transform": "identity"
233
+ },
234
+ "bottleneck.conv2.convs.1.weight": {
235
+ "torch": "bottleneck.conv2.weight",
236
+ "transform": "[:, :, 1]"
237
+ },
238
+ "bottleneck.conv2.convs.2.weight": {
239
+ "torch": "bottleneck.conv2.weight",
240
+ "transform": "[:, :, 2]"
241
+ },
242
+ "bottleneck.bn2.weight": {
243
+ "torch": "bottleneck.bn2.weight",
244
+ "transform": "identity"
245
+ },
246
+ "bottleneck.bn2.bias": {
247
+ "torch": "bottleneck.bn2.bias",
248
+ "transform": "identity"
249
+ },
250
+ "bottleneck.bn2.running_mean": {
251
+ "torch": "bottleneck.bn2.running_mean",
252
+ "transform": "identity"
253
+ },
254
+ "bottleneck.bn2.running_var": {
255
+ "torch": "bottleneck.bn2.running_var",
256
+ "transform": "identity"
257
+ },
258
+ "upconv2.conv.convs.0.weight": {
259
+ "torch": "upconv2.weight",
260
+ "transform": "permute(1,2,3,4,0).reshape(Cout*8, Cin, 1, 1)"
261
+ },
262
+ "upconv2.conv.convs.0.bias": {
263
+ "torch": "upconv2.bias",
264
+ "transform": "repeat_interleave(8)"
265
+ },
266
+ "decoder2.conv1.convs.0.weight": {
267
+ "torch": "decoder2.conv1.weight",
268
+ "transform": "[:, :, 0]"
269
+ },
270
+ "decoder2.conv1.convs.0.bias": {
271
+ "torch": "decoder2.conv1.bias",
272
+ "transform": "identity"
273
+ },
274
+ "decoder2.conv1.convs.1.weight": {
275
+ "torch": "decoder2.conv1.weight",
276
+ "transform": "[:, :, 1]"
277
+ },
278
+ "decoder2.conv1.convs.2.weight": {
279
+ "torch": "decoder2.conv1.weight",
280
+ "transform": "[:, :, 2]"
281
+ },
282
+ "decoder2.bn1.weight": {
283
+ "torch": "decoder2.bn1.weight",
284
+ "transform": "identity"
285
+ },
286
+ "decoder2.bn1.bias": {
287
+ "torch": "decoder2.bn1.bias",
288
+ "transform": "identity"
289
+ },
290
+ "decoder2.bn1.running_mean": {
291
+ "torch": "decoder2.bn1.running_mean",
292
+ "transform": "identity"
293
+ },
294
+ "decoder2.bn1.running_var": {
295
+ "torch": "decoder2.bn1.running_var",
296
+ "transform": "identity"
297
+ },
298
+ "decoder2.conv2.convs.0.weight": {
299
+ "torch": "decoder2.conv2.weight",
300
+ "transform": "[:, :, 0]"
301
+ },
302
+ "decoder2.conv2.convs.0.bias": {
303
+ "torch": "decoder2.conv2.bias",
304
+ "transform": "identity"
305
+ },
306
+ "decoder2.conv2.convs.1.weight": {
307
+ "torch": "decoder2.conv2.weight",
308
+ "transform": "[:, :, 1]"
309
+ },
310
+ "decoder2.conv2.convs.2.weight": {
311
+ "torch": "decoder2.conv2.weight",
312
+ "transform": "[:, :, 2]"
313
+ },
314
+ "decoder2.bn2.weight": {
315
+ "torch": "decoder2.bn2.weight",
316
+ "transform": "identity"
317
+ },
318
+ "decoder2.bn2.bias": {
319
+ "torch": "decoder2.bn2.bias",
320
+ "transform": "identity"
321
+ },
322
+ "decoder2.bn2.running_mean": {
323
+ "torch": "decoder2.bn2.running_mean",
324
+ "transform": "identity"
325
+ },
326
+ "decoder2.bn2.running_var": {
327
+ "torch": "decoder2.bn2.running_var",
328
+ "transform": "identity"
329
+ },
330
+ "upconv1.conv.convs.0.weight": {
331
+ "torch": "upconv1.weight",
332
+ "transform": "permute(1,2,3,4,0).reshape(Cout*8, Cin, 1, 1)"
333
+ },
334
+ "upconv1.conv.convs.0.bias": {
335
+ "torch": "upconv1.bias",
336
+ "transform": "repeat_interleave(8)"
337
+ },
338
+ "decoder1.conv1.convs.0.weight": {
339
+ "torch": "decoder1.conv1.weight",
340
+ "transform": "[:, :, 0]"
341
+ },
342
+ "decoder1.conv1.convs.0.bias": {
343
+ "torch": "decoder1.conv1.bias",
344
+ "transform": "identity"
345
+ },
346
+ "decoder1.conv1.convs.1.weight": {
347
+ "torch": "decoder1.conv1.weight",
348
+ "transform": "[:, :, 1]"
349
+ },
350
+ "decoder1.conv1.convs.2.weight": {
351
+ "torch": "decoder1.conv1.weight",
352
+ "transform": "[:, :, 2]"
353
+ },
354
+ "decoder1.bn1.weight": {
355
+ "torch": "decoder1.bn1.weight",
356
+ "transform": "identity"
357
+ },
358
+ "decoder1.bn1.bias": {
359
+ "torch": "decoder1.bn1.bias",
360
+ "transform": "identity"
361
+ },
362
+ "decoder1.bn1.running_mean": {
363
+ "torch": "decoder1.bn1.running_mean",
364
+ "transform": "identity"
365
+ },
366
+ "decoder1.bn1.running_var": {
367
+ "torch": "decoder1.bn1.running_var",
368
+ "transform": "identity"
369
+ },
370
+ "decoder1.conv2.convs.0.weight": {
371
+ "torch": "decoder1.conv2.weight",
372
+ "transform": "[:, :, 0]"
373
+ },
374
+ "decoder1.conv2.convs.0.bias": {
375
+ "torch": "decoder1.conv2.bias",
376
+ "transform": "identity"
377
+ },
378
+ "decoder1.conv2.convs.1.weight": {
379
+ "torch": "decoder1.conv2.weight",
380
+ "transform": "[:, :, 1]"
381
+ },
382
+ "decoder1.conv2.convs.2.weight": {
383
+ "torch": "decoder1.conv2.weight",
384
+ "transform": "[:, :, 2]"
385
+ },
386
+ "decoder1.bn2.weight": {
387
+ "torch": "decoder1.bn2.weight",
388
+ "transform": "identity"
389
+ },
390
+ "decoder1.bn2.bias": {
391
+ "torch": "decoder1.bn2.bias",
392
+ "transform": "identity"
393
+ },
394
+ "decoder1.bn2.running_mean": {
395
+ "torch": "decoder1.bn2.running_mean",
396
+ "transform": "identity"
397
+ },
398
+ "decoder1.bn2.running_var": {
399
+ "torch": "decoder1.bn2.running_var",
400
+ "transform": "identity"
401
+ },
402
+ "upconv0.conv.convs.0.weight": {
403
+ "torch": "upconv0.weight",
404
+ "transform": "permute(1,2,3,4,0).reshape(Cout*8, Cin, 1, 1)"
405
+ },
406
+ "upconv0.conv.convs.0.bias": {
407
+ "torch": "upconv0.bias",
408
+ "transform": "repeat_interleave(8)"
409
+ },
410
+ "decoder0.conv1.convs.0.weight": {
411
+ "torch": "decoder0.conv1.weight",
412
+ "transform": "[:, :, 0]"
413
+ },
414
+ "decoder0.conv1.convs.0.bias": {
415
+ "torch": "decoder0.conv1.bias",
416
+ "transform": "identity"
417
+ },
418
+ "decoder0.conv1.convs.1.weight": {
419
+ "torch": "decoder0.conv1.weight",
420
+ "transform": "[:, :, 1]"
421
+ },
422
+ "decoder0.conv1.convs.2.weight": {
423
+ "torch": "decoder0.conv1.weight",
424
+ "transform": "[:, :, 2]"
425
+ },
426
+ "decoder0.bn1.weight": {
427
+ "torch": "decoder0.bn1.weight",
428
+ "transform": "identity"
429
+ },
430
+ "decoder0.bn1.bias": {
431
+ "torch": "decoder0.bn1.bias",
432
+ "transform": "identity"
433
+ },
434
+ "decoder0.bn1.running_mean": {
435
+ "torch": "decoder0.bn1.running_mean",
436
+ "transform": "identity"
437
+ },
438
+ "decoder0.bn1.running_var": {
439
+ "torch": "decoder0.bn1.running_var",
440
+ "transform": "identity"
441
+ },
442
+ "decoder0.conv2.convs.0.weight": {
443
+ "torch": "decoder0.conv2.weight",
444
+ "transform": "[:, :, 0]"
445
+ },
446
+ "decoder0.conv2.convs.0.bias": {
447
+ "torch": "decoder0.conv2.bias",
448
+ "transform": "identity"
449
+ },
450
+ "decoder0.conv2.convs.1.weight": {
451
+ "torch": "decoder0.conv2.weight",
452
+ "transform": "[:, :, 1]"
453
+ },
454
+ "decoder0.conv2.convs.2.weight": {
455
+ "torch": "decoder0.conv2.weight",
456
+ "transform": "[:, :, 2]"
457
+ },
458
+ "decoder0.bn2.weight": {
459
+ "torch": "decoder0.bn2.weight",
460
+ "transform": "identity"
461
+ },
462
+ "decoder0.bn2.bias": {
463
+ "torch": "decoder0.bn2.bias",
464
+ "transform": "identity"
465
+ },
466
+ "decoder0.bn2.running_mean": {
467
+ "torch": "decoder0.bn2.running_mean",
468
+ "transform": "identity"
469
+ },
470
+ "decoder0.bn2.running_var": {
471
+ "torch": "decoder0.bn2.running_var",
472
+ "transform": "identity"
473
+ },
474
+ "final_conv.convs.0.weight": {
475
+ "torch": "final_conv.weight",
476
+ "transform": "[:, :, 0]"
477
+ },
478
+ "final_conv.convs.0.bias": {
479
+ "torch": "final_conv.bias",
480
+ "transform": "identity"
481
+ }
482
+ }
setup_55/manifest.json CHANGED
@@ -176,5 +176,40 @@
176
  "ort_cpu_s": 0.72
177
  }
178
  ],
179
- "source_repo": "cellmap/nuc-unetiso-setup-55"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  }
 
176
  "ort_cpu_s": 0.72
177
  }
178
  ],
179
+ "source_repo": "cellmap/nuc-unetiso-setup-55",
180
+ "torch_version": "2.9.1",
181
+ "exporter": "torch.onnx.export (TorchScript, dynamo=False)",
182
+ "opset": 18,
183
+ "finetune": {
184
+ "head": {
185
+ "final_layer": "final_conv.convs.0",
186
+ "onnx_node": "/final_conv/convs.0/Conv",
187
+ "features": "/final_conv/Slice_output_0",
188
+ "weight": "final_conv.convs.0.weight",
189
+ "bias": "final_conv.convs.0.bias",
190
+ "in_channels": 32,
191
+ "out_channels": 1,
192
+ "activation": "none (logits)",
193
+ "files": [
194
+ "setup_55_nuc_128nm_in124_fp16.onnx",
195
+ "setup_55_nuc_128nm_in124_fp32.onnx",
196
+ "setup_55_nuc_128nm_in140_fp16.onnx",
197
+ "setup_55_nuc_128nm_in140_fp32.onnx",
198
+ "setup_55_nuc_128nm_in172_fp16.onnx",
199
+ "setup_55_nuc_128nm_in172_fp32.onnx"
200
+ ],
201
+ "initializers": "finetune/initializers.json",
202
+ "loss": "masked BCE on logits",
203
+ "note": "train the final 1x1 conv on frozen features",
204
+ "torch_weight": {
205
+ "torch": "final_conv.weight",
206
+ "transform": "[:, :, 0]"
207
+ },
208
+ "torch_bias": {
209
+ "torch": "final_conv.bias",
210
+ "transform": "identity"
211
+ },
212
+ "weight_map": "finetune/weight_map.json"
213
+ }
214
+ }
215
  }
setup_56/finetune/initializers.json ADDED
The diff for this file is too large to render. See raw diff
 
setup_56/finetune/weight_map.json ADDED
@@ -0,0 +1,438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stem.conv1.convs.0.weight": {
3
+ "torch": "stem.conv1.weight",
4
+ "transform": "[:, :, 0]"
5
+ },
6
+ "stem.conv1.convs.0.bias": {
7
+ "torch": "stem.conv1.bias",
8
+ "transform": "identity"
9
+ },
10
+ "stem.conv1.convs.1.weight": {
11
+ "torch": "stem.conv1.weight",
12
+ "transform": "[:, :, 1]"
13
+ },
14
+ "stem.conv1.convs.2.weight": {
15
+ "torch": "stem.conv1.weight",
16
+ "transform": "[:, :, 2]"
17
+ },
18
+ "stem.norm1.weight": {
19
+ "torch": "stem.norm1.weight",
20
+ "transform": "identity"
21
+ },
22
+ "stem.norm1.bias": {
23
+ "torch": "stem.norm1.bias",
24
+ "transform": "identity"
25
+ },
26
+ "stem.conv2.convs.0.weight": {
27
+ "torch": "stem.conv2.weight",
28
+ "transform": "[:, :, 0]"
29
+ },
30
+ "stem.conv2.convs.0.bias": {
31
+ "torch": "stem.conv2.bias",
32
+ "transform": "identity"
33
+ },
34
+ "stem.conv2.convs.1.weight": {
35
+ "torch": "stem.conv2.weight",
36
+ "transform": "[:, :, 1]"
37
+ },
38
+ "stem.conv2.convs.2.weight": {
39
+ "torch": "stem.conv2.weight",
40
+ "transform": "[:, :, 2]"
41
+ },
42
+ "stem.norm2.weight": {
43
+ "torch": "stem.norm2.weight",
44
+ "transform": "identity"
45
+ },
46
+ "stem.norm2.bias": {
47
+ "torch": "stem.norm2.bias",
48
+ "transform": "identity"
49
+ },
50
+ "stem.skip.convs.0.weight": {
51
+ "torch": "stem.skip.weight",
52
+ "transform": "[:, :, 0]"
53
+ },
54
+ "stem.skip.convs.0.bias": {
55
+ "torch": "stem.skip.bias",
56
+ "transform": "identity"
57
+ },
58
+ "downs.0.conv.convs.0.weight": {
59
+ "torch": "downs.0.conv.weight",
60
+ "transform": "[:, :, 0]"
61
+ },
62
+ "downs.0.conv.convs.0.bias": {
63
+ "torch": "downs.0.conv.bias",
64
+ "transform": "identity"
65
+ },
66
+ "downs.0.conv.convs.1.weight": {
67
+ "torch": "downs.0.conv.weight",
68
+ "transform": "[:, :, 1]"
69
+ },
70
+ "downs.1.conv.convs.0.weight": {
71
+ "torch": "downs.1.conv.weight",
72
+ "transform": "[:, :, 0]"
73
+ },
74
+ "downs.1.conv.convs.0.bias": {
75
+ "torch": "downs.1.conv.bias",
76
+ "transform": "identity"
77
+ },
78
+ "downs.1.conv.convs.1.weight": {
79
+ "torch": "downs.1.conv.weight",
80
+ "transform": "[:, :, 1]"
81
+ },
82
+ "downs.2.conv.convs.0.weight": {
83
+ "torch": "downs.2.conv.weight",
84
+ "transform": "[:, :, 0]"
85
+ },
86
+ "downs.2.conv.convs.0.bias": {
87
+ "torch": "downs.2.conv.bias",
88
+ "transform": "identity"
89
+ },
90
+ "downs.2.conv.convs.1.weight": {
91
+ "torch": "downs.2.conv.weight",
92
+ "transform": "[:, :, 1]"
93
+ },
94
+ "enc_blocks.0.0.conv1.convs.0.weight": {
95
+ "torch": "enc_blocks.0.0.conv1.weight",
96
+ "transform": "[:, :, 0]"
97
+ },
98
+ "enc_blocks.0.0.conv1.convs.0.bias": {
99
+ "torch": "enc_blocks.0.0.conv1.bias",
100
+ "transform": "identity"
101
+ },
102
+ "enc_blocks.0.0.conv1.convs.1.weight": {
103
+ "torch": "enc_blocks.0.0.conv1.weight",
104
+ "transform": "[:, :, 1]"
105
+ },
106
+ "enc_blocks.0.0.conv1.convs.2.weight": {
107
+ "torch": "enc_blocks.0.0.conv1.weight",
108
+ "transform": "[:, :, 2]"
109
+ },
110
+ "enc_blocks.0.0.norm1.weight": {
111
+ "torch": "enc_blocks.0.0.norm1.weight",
112
+ "transform": "identity"
113
+ },
114
+ "enc_blocks.0.0.norm1.bias": {
115
+ "torch": "enc_blocks.0.0.norm1.bias",
116
+ "transform": "identity"
117
+ },
118
+ "enc_blocks.0.0.conv2.convs.0.weight": {
119
+ "torch": "enc_blocks.0.0.conv2.weight",
120
+ "transform": "[:, :, 0]"
121
+ },
122
+ "enc_blocks.0.0.conv2.convs.0.bias": {
123
+ "torch": "enc_blocks.0.0.conv2.bias",
124
+ "transform": "identity"
125
+ },
126
+ "enc_blocks.0.0.conv2.convs.1.weight": {
127
+ "torch": "enc_blocks.0.0.conv2.weight",
128
+ "transform": "[:, :, 1]"
129
+ },
130
+ "enc_blocks.0.0.conv2.convs.2.weight": {
131
+ "torch": "enc_blocks.0.0.conv2.weight",
132
+ "transform": "[:, :, 2]"
133
+ },
134
+ "enc_blocks.0.0.norm2.weight": {
135
+ "torch": "enc_blocks.0.0.norm2.weight",
136
+ "transform": "identity"
137
+ },
138
+ "enc_blocks.0.0.norm2.bias": {
139
+ "torch": "enc_blocks.0.0.norm2.bias",
140
+ "transform": "identity"
141
+ },
142
+ "enc_blocks.1.0.conv1.convs.0.weight": {
143
+ "torch": "enc_blocks.1.0.conv1.weight",
144
+ "transform": "[:, :, 0]"
145
+ },
146
+ "enc_blocks.1.0.conv1.convs.0.bias": {
147
+ "torch": "enc_blocks.1.0.conv1.bias",
148
+ "transform": "identity"
149
+ },
150
+ "enc_blocks.1.0.conv1.convs.1.weight": {
151
+ "torch": "enc_blocks.1.0.conv1.weight",
152
+ "transform": "[:, :, 1]"
153
+ },
154
+ "enc_blocks.1.0.conv1.convs.2.weight": {
155
+ "torch": "enc_blocks.1.0.conv1.weight",
156
+ "transform": "[:, :, 2]"
157
+ },
158
+ "enc_blocks.1.0.norm1.weight": {
159
+ "torch": "enc_blocks.1.0.norm1.weight",
160
+ "transform": "identity"
161
+ },
162
+ "enc_blocks.1.0.norm1.bias": {
163
+ "torch": "enc_blocks.1.0.norm1.bias",
164
+ "transform": "identity"
165
+ },
166
+ "enc_blocks.1.0.conv2.convs.0.weight": {
167
+ "torch": "enc_blocks.1.0.conv2.weight",
168
+ "transform": "[:, :, 0]"
169
+ },
170
+ "enc_blocks.1.0.conv2.convs.0.bias": {
171
+ "torch": "enc_blocks.1.0.conv2.bias",
172
+ "transform": "identity"
173
+ },
174
+ "enc_blocks.1.0.conv2.convs.1.weight": {
175
+ "torch": "enc_blocks.1.0.conv2.weight",
176
+ "transform": "[:, :, 1]"
177
+ },
178
+ "enc_blocks.1.0.conv2.convs.2.weight": {
179
+ "torch": "enc_blocks.1.0.conv2.weight",
180
+ "transform": "[:, :, 2]"
181
+ },
182
+ "enc_blocks.1.0.norm2.weight": {
183
+ "torch": "enc_blocks.1.0.norm2.weight",
184
+ "transform": "identity"
185
+ },
186
+ "enc_blocks.1.0.norm2.bias": {
187
+ "torch": "enc_blocks.1.0.norm2.bias",
188
+ "transform": "identity"
189
+ },
190
+ "enc_blocks.2.0.conv1.convs.0.weight": {
191
+ "torch": "enc_blocks.2.0.conv1.weight",
192
+ "transform": "[:, :, 0]"
193
+ },
194
+ "enc_blocks.2.0.conv1.convs.0.bias": {
195
+ "torch": "enc_blocks.2.0.conv1.bias",
196
+ "transform": "identity"
197
+ },
198
+ "enc_blocks.2.0.conv1.convs.1.weight": {
199
+ "torch": "enc_blocks.2.0.conv1.weight",
200
+ "transform": "[:, :, 1]"
201
+ },
202
+ "enc_blocks.2.0.conv1.convs.2.weight": {
203
+ "torch": "enc_blocks.2.0.conv1.weight",
204
+ "transform": "[:, :, 2]"
205
+ },
206
+ "enc_blocks.2.0.norm1.weight": {
207
+ "torch": "enc_blocks.2.0.norm1.weight",
208
+ "transform": "identity"
209
+ },
210
+ "enc_blocks.2.0.norm1.bias": {
211
+ "torch": "enc_blocks.2.0.norm1.bias",
212
+ "transform": "identity"
213
+ },
214
+ "enc_blocks.2.0.conv2.convs.0.weight": {
215
+ "torch": "enc_blocks.2.0.conv2.weight",
216
+ "transform": "[:, :, 0]"
217
+ },
218
+ "enc_blocks.2.0.conv2.convs.0.bias": {
219
+ "torch": "enc_blocks.2.0.conv2.bias",
220
+ "transform": "identity"
221
+ },
222
+ "enc_blocks.2.0.conv2.convs.1.weight": {
223
+ "torch": "enc_blocks.2.0.conv2.weight",
224
+ "transform": "[:, :, 1]"
225
+ },
226
+ "enc_blocks.2.0.conv2.convs.2.weight": {
227
+ "torch": "enc_blocks.2.0.conv2.weight",
228
+ "transform": "[:, :, 2]"
229
+ },
230
+ "enc_blocks.2.0.norm2.weight": {
231
+ "torch": "enc_blocks.2.0.norm2.weight",
232
+ "transform": "identity"
233
+ },
234
+ "enc_blocks.2.0.norm2.bias": {
235
+ "torch": "enc_blocks.2.0.norm2.bias",
236
+ "transform": "identity"
237
+ },
238
+ "ups.0.reduce.convs.0.weight": {
239
+ "torch": "ups.0.reduce.weight",
240
+ "transform": "[:, :, 0]"
241
+ },
242
+ "ups.0.reduce.convs.0.bias": {
243
+ "torch": "ups.0.reduce.bias",
244
+ "transform": "identity"
245
+ },
246
+ "ups.1.reduce.convs.0.weight": {
247
+ "torch": "ups.1.reduce.weight",
248
+ "transform": "[:, :, 0]"
249
+ },
250
+ "ups.1.reduce.convs.0.bias": {
251
+ "torch": "ups.1.reduce.bias",
252
+ "transform": "identity"
253
+ },
254
+ "ups.2.reduce.convs.0.weight": {
255
+ "torch": "ups.2.reduce.weight",
256
+ "transform": "[:, :, 0]"
257
+ },
258
+ "ups.2.reduce.convs.0.bias": {
259
+ "torch": "ups.2.reduce.bias",
260
+ "transform": "identity"
261
+ },
262
+ "dec_blocks.0.0.conv1.convs.0.weight": {
263
+ "torch": "dec_blocks.0.0.conv1.weight",
264
+ "transform": "[:, :, 0]"
265
+ },
266
+ "dec_blocks.0.0.conv1.convs.0.bias": {
267
+ "torch": "dec_blocks.0.0.conv1.bias",
268
+ "transform": "identity"
269
+ },
270
+ "dec_blocks.0.0.conv1.convs.1.weight": {
271
+ "torch": "dec_blocks.0.0.conv1.weight",
272
+ "transform": "[:, :, 1]"
273
+ },
274
+ "dec_blocks.0.0.conv1.convs.2.weight": {
275
+ "torch": "dec_blocks.0.0.conv1.weight",
276
+ "transform": "[:, :, 2]"
277
+ },
278
+ "dec_blocks.0.0.norm1.weight": {
279
+ "torch": "dec_blocks.0.0.norm1.weight",
280
+ "transform": "identity"
281
+ },
282
+ "dec_blocks.0.0.norm1.bias": {
283
+ "torch": "dec_blocks.0.0.norm1.bias",
284
+ "transform": "identity"
285
+ },
286
+ "dec_blocks.0.0.conv2.convs.0.weight": {
287
+ "torch": "dec_blocks.0.0.conv2.weight",
288
+ "transform": "[:, :, 0]"
289
+ },
290
+ "dec_blocks.0.0.conv2.convs.0.bias": {
291
+ "torch": "dec_blocks.0.0.conv2.bias",
292
+ "transform": "identity"
293
+ },
294
+ "dec_blocks.0.0.conv2.convs.1.weight": {
295
+ "torch": "dec_blocks.0.0.conv2.weight",
296
+ "transform": "[:, :, 1]"
297
+ },
298
+ "dec_blocks.0.0.conv2.convs.2.weight": {
299
+ "torch": "dec_blocks.0.0.conv2.weight",
300
+ "transform": "[:, :, 2]"
301
+ },
302
+ "dec_blocks.0.0.norm2.weight": {
303
+ "torch": "dec_blocks.0.0.norm2.weight",
304
+ "transform": "identity"
305
+ },
306
+ "dec_blocks.0.0.norm2.bias": {
307
+ "torch": "dec_blocks.0.0.norm2.bias",
308
+ "transform": "identity"
309
+ },
310
+ "dec_blocks.0.0.skip.convs.0.weight": {
311
+ "torch": "dec_blocks.0.0.skip.weight",
312
+ "transform": "[:, :, 0]"
313
+ },
314
+ "dec_blocks.0.0.skip.convs.0.bias": {
315
+ "torch": "dec_blocks.0.0.skip.bias",
316
+ "transform": "identity"
317
+ },
318
+ "dec_blocks.1.0.conv1.convs.0.weight": {
319
+ "torch": "dec_blocks.1.0.conv1.weight",
320
+ "transform": "[:, :, 0]"
321
+ },
322
+ "dec_blocks.1.0.conv1.convs.0.bias": {
323
+ "torch": "dec_blocks.1.0.conv1.bias",
324
+ "transform": "identity"
325
+ },
326
+ "dec_blocks.1.0.conv1.convs.1.weight": {
327
+ "torch": "dec_blocks.1.0.conv1.weight",
328
+ "transform": "[:, :, 1]"
329
+ },
330
+ "dec_blocks.1.0.conv1.convs.2.weight": {
331
+ "torch": "dec_blocks.1.0.conv1.weight",
332
+ "transform": "[:, :, 2]"
333
+ },
334
+ "dec_blocks.1.0.norm1.weight": {
335
+ "torch": "dec_blocks.1.0.norm1.weight",
336
+ "transform": "identity"
337
+ },
338
+ "dec_blocks.1.0.norm1.bias": {
339
+ "torch": "dec_blocks.1.0.norm1.bias",
340
+ "transform": "identity"
341
+ },
342
+ "dec_blocks.1.0.conv2.convs.0.weight": {
343
+ "torch": "dec_blocks.1.0.conv2.weight",
344
+ "transform": "[:, :, 0]"
345
+ },
346
+ "dec_blocks.1.0.conv2.convs.0.bias": {
347
+ "torch": "dec_blocks.1.0.conv2.bias",
348
+ "transform": "identity"
349
+ },
350
+ "dec_blocks.1.0.conv2.convs.1.weight": {
351
+ "torch": "dec_blocks.1.0.conv2.weight",
352
+ "transform": "[:, :, 1]"
353
+ },
354
+ "dec_blocks.1.0.conv2.convs.2.weight": {
355
+ "torch": "dec_blocks.1.0.conv2.weight",
356
+ "transform": "[:, :, 2]"
357
+ },
358
+ "dec_blocks.1.0.norm2.weight": {
359
+ "torch": "dec_blocks.1.0.norm2.weight",
360
+ "transform": "identity"
361
+ },
362
+ "dec_blocks.1.0.norm2.bias": {
363
+ "torch": "dec_blocks.1.0.norm2.bias",
364
+ "transform": "identity"
365
+ },
366
+ "dec_blocks.1.0.skip.convs.0.weight": {
367
+ "torch": "dec_blocks.1.0.skip.weight",
368
+ "transform": "[:, :, 0]"
369
+ },
370
+ "dec_blocks.1.0.skip.convs.0.bias": {
371
+ "torch": "dec_blocks.1.0.skip.bias",
372
+ "transform": "identity"
373
+ },
374
+ "dec_blocks.2.0.conv1.convs.0.weight": {
375
+ "torch": "dec_blocks.2.0.conv1.weight",
376
+ "transform": "[:, :, 0]"
377
+ },
378
+ "dec_blocks.2.0.conv1.convs.0.bias": {
379
+ "torch": "dec_blocks.2.0.conv1.bias",
380
+ "transform": "identity"
381
+ },
382
+ "dec_blocks.2.0.conv1.convs.1.weight": {
383
+ "torch": "dec_blocks.2.0.conv1.weight",
384
+ "transform": "[:, :, 1]"
385
+ },
386
+ "dec_blocks.2.0.conv1.convs.2.weight": {
387
+ "torch": "dec_blocks.2.0.conv1.weight",
388
+ "transform": "[:, :, 2]"
389
+ },
390
+ "dec_blocks.2.0.norm1.weight": {
391
+ "torch": "dec_blocks.2.0.norm1.weight",
392
+ "transform": "identity"
393
+ },
394
+ "dec_blocks.2.0.norm1.bias": {
395
+ "torch": "dec_blocks.2.0.norm1.bias",
396
+ "transform": "identity"
397
+ },
398
+ "dec_blocks.2.0.conv2.convs.0.weight": {
399
+ "torch": "dec_blocks.2.0.conv2.weight",
400
+ "transform": "[:, :, 0]"
401
+ },
402
+ "dec_blocks.2.0.conv2.convs.0.bias": {
403
+ "torch": "dec_blocks.2.0.conv2.bias",
404
+ "transform": "identity"
405
+ },
406
+ "dec_blocks.2.0.conv2.convs.1.weight": {
407
+ "torch": "dec_blocks.2.0.conv2.weight",
408
+ "transform": "[:, :, 1]"
409
+ },
410
+ "dec_blocks.2.0.conv2.convs.2.weight": {
411
+ "torch": "dec_blocks.2.0.conv2.weight",
412
+ "transform": "[:, :, 2]"
413
+ },
414
+ "dec_blocks.2.0.norm2.weight": {
415
+ "torch": "dec_blocks.2.0.norm2.weight",
416
+ "transform": "identity"
417
+ },
418
+ "dec_blocks.2.0.norm2.bias": {
419
+ "torch": "dec_blocks.2.0.norm2.bias",
420
+ "transform": "identity"
421
+ },
422
+ "dec_blocks.2.0.skip.convs.0.weight": {
423
+ "torch": "dec_blocks.2.0.skip.weight",
424
+ "transform": "[:, :, 0]"
425
+ },
426
+ "dec_blocks.2.0.skip.convs.0.bias": {
427
+ "torch": "dec_blocks.2.0.skip.bias",
428
+ "transform": "identity"
429
+ },
430
+ "final_conv.convs.0.weight": {
431
+ "torch": "final_conv.weight",
432
+ "transform": "[:, :, 0]"
433
+ },
434
+ "final_conv.convs.0.bias": {
435
+ "torch": "final_conv.bias",
436
+ "transform": "identity"
437
+ }
438
+ }
setup_56/manifest.json CHANGED
@@ -176,5 +176,40 @@
176
  "ort_cpu_s": 0.88
177
  }
178
  ],
179
- "source_repo": "cellmap/nuc-resunet-setup-56"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  }
 
176
  "ort_cpu_s": 0.88
177
  }
178
  ],
179
+ "source_repo": "cellmap/nuc-resunet-setup-56",
180
+ "torch_version": "2.9.1",
181
+ "exporter": "torch.onnx.export (TorchScript, dynamo=False)",
182
+ "opset": 18,
183
+ "finetune": {
184
+ "head": {
185
+ "final_layer": "final_conv.convs.0",
186
+ "onnx_node": "/final_conv/convs.0/Conv",
187
+ "features": "/final_conv/Slice_output_0",
188
+ "weight": "final_conv.convs.0.weight",
189
+ "bias": "final_conv.convs.0.bias",
190
+ "in_channels": 40,
191
+ "out_channels": 1,
192
+ "activation": "none (logits)",
193
+ "files": [
194
+ "setup_56_nuc_128nm_in116_fp16.onnx",
195
+ "setup_56_nuc_128nm_in116_fp32.onnx",
196
+ "setup_56_nuc_128nm_in132_fp16.onnx",
197
+ "setup_56_nuc_128nm_in132_fp32.onnx",
198
+ "setup_56_nuc_128nm_in148_fp16.onnx",
199
+ "setup_56_nuc_128nm_in148_fp32.onnx"
200
+ ],
201
+ "initializers": "finetune/initializers.json",
202
+ "loss": "masked BCE on logits",
203
+ "note": "train the final 1x1 conv on frozen features",
204
+ "torch_weight": {
205
+ "torch": "final_conv.weight",
206
+ "transform": "[:, :, 0]"
207
+ },
208
+ "torch_bias": {
209
+ "torch": "final_conv.bias",
210
+ "transform": "identity"
211
+ },
212
+ "weight_map": "finetune/weight_map.json"
213
+ }
214
+ }
215
  }
setup_61/finetune/initializers.json ADDED
The diff for this file is too large to render. See raw diff
 
setup_61/finetune/weight_map.json ADDED
@@ -0,0 +1,438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stem.conv1.convs.0.weight": {
3
+ "torch": "stem.conv1.weight",
4
+ "transform": "[:, :, 0]"
5
+ },
6
+ "stem.conv1.convs.0.bias": {
7
+ "torch": "stem.conv1.bias",
8
+ "transform": "identity"
9
+ },
10
+ "stem.conv1.convs.1.weight": {
11
+ "torch": "stem.conv1.weight",
12
+ "transform": "[:, :, 1]"
13
+ },
14
+ "stem.conv1.convs.2.weight": {
15
+ "torch": "stem.conv1.weight",
16
+ "transform": "[:, :, 2]"
17
+ },
18
+ "stem.norm1.weight": {
19
+ "torch": "stem.norm1.weight",
20
+ "transform": "identity"
21
+ },
22
+ "stem.norm1.bias": {
23
+ "torch": "stem.norm1.bias",
24
+ "transform": "identity"
25
+ },
26
+ "stem.conv2.convs.0.weight": {
27
+ "torch": "stem.conv2.weight",
28
+ "transform": "[:, :, 0]"
29
+ },
30
+ "stem.conv2.convs.0.bias": {
31
+ "torch": "stem.conv2.bias",
32
+ "transform": "identity"
33
+ },
34
+ "stem.conv2.convs.1.weight": {
35
+ "torch": "stem.conv2.weight",
36
+ "transform": "[:, :, 1]"
37
+ },
38
+ "stem.conv2.convs.2.weight": {
39
+ "torch": "stem.conv2.weight",
40
+ "transform": "[:, :, 2]"
41
+ },
42
+ "stem.norm2.weight": {
43
+ "torch": "stem.norm2.weight",
44
+ "transform": "identity"
45
+ },
46
+ "stem.norm2.bias": {
47
+ "torch": "stem.norm2.bias",
48
+ "transform": "identity"
49
+ },
50
+ "stem.skip.convs.0.weight": {
51
+ "torch": "stem.skip.weight",
52
+ "transform": "[:, :, 0]"
53
+ },
54
+ "stem.skip.convs.0.bias": {
55
+ "torch": "stem.skip.bias",
56
+ "transform": "identity"
57
+ },
58
+ "downs.0.conv.convs.0.weight": {
59
+ "torch": "downs.0.conv.weight",
60
+ "transform": "[:, :, 0]"
61
+ },
62
+ "downs.0.conv.convs.0.bias": {
63
+ "torch": "downs.0.conv.bias",
64
+ "transform": "identity"
65
+ },
66
+ "downs.0.conv.convs.1.weight": {
67
+ "torch": "downs.0.conv.weight",
68
+ "transform": "[:, :, 1]"
69
+ },
70
+ "downs.1.conv.convs.0.weight": {
71
+ "torch": "downs.1.conv.weight",
72
+ "transform": "[:, :, 0]"
73
+ },
74
+ "downs.1.conv.convs.0.bias": {
75
+ "torch": "downs.1.conv.bias",
76
+ "transform": "identity"
77
+ },
78
+ "downs.1.conv.convs.1.weight": {
79
+ "torch": "downs.1.conv.weight",
80
+ "transform": "[:, :, 1]"
81
+ },
82
+ "downs.2.conv.convs.0.weight": {
83
+ "torch": "downs.2.conv.weight",
84
+ "transform": "[:, :, 0]"
85
+ },
86
+ "downs.2.conv.convs.0.bias": {
87
+ "torch": "downs.2.conv.bias",
88
+ "transform": "identity"
89
+ },
90
+ "downs.2.conv.convs.1.weight": {
91
+ "torch": "downs.2.conv.weight",
92
+ "transform": "[:, :, 1]"
93
+ },
94
+ "enc_blocks.0.0.conv1.convs.0.weight": {
95
+ "torch": "enc_blocks.0.0.conv1.weight",
96
+ "transform": "[:, :, 0]"
97
+ },
98
+ "enc_blocks.0.0.conv1.convs.0.bias": {
99
+ "torch": "enc_blocks.0.0.conv1.bias",
100
+ "transform": "identity"
101
+ },
102
+ "enc_blocks.0.0.conv1.convs.1.weight": {
103
+ "torch": "enc_blocks.0.0.conv1.weight",
104
+ "transform": "[:, :, 1]"
105
+ },
106
+ "enc_blocks.0.0.conv1.convs.2.weight": {
107
+ "torch": "enc_blocks.0.0.conv1.weight",
108
+ "transform": "[:, :, 2]"
109
+ },
110
+ "enc_blocks.0.0.norm1.weight": {
111
+ "torch": "enc_blocks.0.0.norm1.weight",
112
+ "transform": "identity"
113
+ },
114
+ "enc_blocks.0.0.norm1.bias": {
115
+ "torch": "enc_blocks.0.0.norm1.bias",
116
+ "transform": "identity"
117
+ },
118
+ "enc_blocks.0.0.conv2.convs.0.weight": {
119
+ "torch": "enc_blocks.0.0.conv2.weight",
120
+ "transform": "[:, :, 0]"
121
+ },
122
+ "enc_blocks.0.0.conv2.convs.0.bias": {
123
+ "torch": "enc_blocks.0.0.conv2.bias",
124
+ "transform": "identity"
125
+ },
126
+ "enc_blocks.0.0.conv2.convs.1.weight": {
127
+ "torch": "enc_blocks.0.0.conv2.weight",
128
+ "transform": "[:, :, 1]"
129
+ },
130
+ "enc_blocks.0.0.conv2.convs.2.weight": {
131
+ "torch": "enc_blocks.0.0.conv2.weight",
132
+ "transform": "[:, :, 2]"
133
+ },
134
+ "enc_blocks.0.0.norm2.weight": {
135
+ "torch": "enc_blocks.0.0.norm2.weight",
136
+ "transform": "identity"
137
+ },
138
+ "enc_blocks.0.0.norm2.bias": {
139
+ "torch": "enc_blocks.0.0.norm2.bias",
140
+ "transform": "identity"
141
+ },
142
+ "enc_blocks.1.0.conv1.convs.0.weight": {
143
+ "torch": "enc_blocks.1.0.conv1.weight",
144
+ "transform": "[:, :, 0]"
145
+ },
146
+ "enc_blocks.1.0.conv1.convs.0.bias": {
147
+ "torch": "enc_blocks.1.0.conv1.bias",
148
+ "transform": "identity"
149
+ },
150
+ "enc_blocks.1.0.conv1.convs.1.weight": {
151
+ "torch": "enc_blocks.1.0.conv1.weight",
152
+ "transform": "[:, :, 1]"
153
+ },
154
+ "enc_blocks.1.0.conv1.convs.2.weight": {
155
+ "torch": "enc_blocks.1.0.conv1.weight",
156
+ "transform": "[:, :, 2]"
157
+ },
158
+ "enc_blocks.1.0.norm1.weight": {
159
+ "torch": "enc_blocks.1.0.norm1.weight",
160
+ "transform": "identity"
161
+ },
162
+ "enc_blocks.1.0.norm1.bias": {
163
+ "torch": "enc_blocks.1.0.norm1.bias",
164
+ "transform": "identity"
165
+ },
166
+ "enc_blocks.1.0.conv2.convs.0.weight": {
167
+ "torch": "enc_blocks.1.0.conv2.weight",
168
+ "transform": "[:, :, 0]"
169
+ },
170
+ "enc_blocks.1.0.conv2.convs.0.bias": {
171
+ "torch": "enc_blocks.1.0.conv2.bias",
172
+ "transform": "identity"
173
+ },
174
+ "enc_blocks.1.0.conv2.convs.1.weight": {
175
+ "torch": "enc_blocks.1.0.conv2.weight",
176
+ "transform": "[:, :, 1]"
177
+ },
178
+ "enc_blocks.1.0.conv2.convs.2.weight": {
179
+ "torch": "enc_blocks.1.0.conv2.weight",
180
+ "transform": "[:, :, 2]"
181
+ },
182
+ "enc_blocks.1.0.norm2.weight": {
183
+ "torch": "enc_blocks.1.0.norm2.weight",
184
+ "transform": "identity"
185
+ },
186
+ "enc_blocks.1.0.norm2.bias": {
187
+ "torch": "enc_blocks.1.0.norm2.bias",
188
+ "transform": "identity"
189
+ },
190
+ "enc_blocks.2.0.conv1.convs.0.weight": {
191
+ "torch": "enc_blocks.2.0.conv1.weight",
192
+ "transform": "[:, :, 0]"
193
+ },
194
+ "enc_blocks.2.0.conv1.convs.0.bias": {
195
+ "torch": "enc_blocks.2.0.conv1.bias",
196
+ "transform": "identity"
197
+ },
198
+ "enc_blocks.2.0.conv1.convs.1.weight": {
199
+ "torch": "enc_blocks.2.0.conv1.weight",
200
+ "transform": "[:, :, 1]"
201
+ },
202
+ "enc_blocks.2.0.conv1.convs.2.weight": {
203
+ "torch": "enc_blocks.2.0.conv1.weight",
204
+ "transform": "[:, :, 2]"
205
+ },
206
+ "enc_blocks.2.0.norm1.weight": {
207
+ "torch": "enc_blocks.2.0.norm1.weight",
208
+ "transform": "identity"
209
+ },
210
+ "enc_blocks.2.0.norm1.bias": {
211
+ "torch": "enc_blocks.2.0.norm1.bias",
212
+ "transform": "identity"
213
+ },
214
+ "enc_blocks.2.0.conv2.convs.0.weight": {
215
+ "torch": "enc_blocks.2.0.conv2.weight",
216
+ "transform": "[:, :, 0]"
217
+ },
218
+ "enc_blocks.2.0.conv2.convs.0.bias": {
219
+ "torch": "enc_blocks.2.0.conv2.bias",
220
+ "transform": "identity"
221
+ },
222
+ "enc_blocks.2.0.conv2.convs.1.weight": {
223
+ "torch": "enc_blocks.2.0.conv2.weight",
224
+ "transform": "[:, :, 1]"
225
+ },
226
+ "enc_blocks.2.0.conv2.convs.2.weight": {
227
+ "torch": "enc_blocks.2.0.conv2.weight",
228
+ "transform": "[:, :, 2]"
229
+ },
230
+ "enc_blocks.2.0.norm2.weight": {
231
+ "torch": "enc_blocks.2.0.norm2.weight",
232
+ "transform": "identity"
233
+ },
234
+ "enc_blocks.2.0.norm2.bias": {
235
+ "torch": "enc_blocks.2.0.norm2.bias",
236
+ "transform": "identity"
237
+ },
238
+ "ups.0.reduce.convs.0.weight": {
239
+ "torch": "ups.0.reduce.weight",
240
+ "transform": "[:, :, 0]"
241
+ },
242
+ "ups.0.reduce.convs.0.bias": {
243
+ "torch": "ups.0.reduce.bias",
244
+ "transform": "identity"
245
+ },
246
+ "ups.1.reduce.convs.0.weight": {
247
+ "torch": "ups.1.reduce.weight",
248
+ "transform": "[:, :, 0]"
249
+ },
250
+ "ups.1.reduce.convs.0.bias": {
251
+ "torch": "ups.1.reduce.bias",
252
+ "transform": "identity"
253
+ },
254
+ "ups.2.reduce.convs.0.weight": {
255
+ "torch": "ups.2.reduce.weight",
256
+ "transform": "[:, :, 0]"
257
+ },
258
+ "ups.2.reduce.convs.0.bias": {
259
+ "torch": "ups.2.reduce.bias",
260
+ "transform": "identity"
261
+ },
262
+ "dec_blocks.0.0.conv1.convs.0.weight": {
263
+ "torch": "dec_blocks.0.0.conv1.weight",
264
+ "transform": "[:, :, 0]"
265
+ },
266
+ "dec_blocks.0.0.conv1.convs.0.bias": {
267
+ "torch": "dec_blocks.0.0.conv1.bias",
268
+ "transform": "identity"
269
+ },
270
+ "dec_blocks.0.0.conv1.convs.1.weight": {
271
+ "torch": "dec_blocks.0.0.conv1.weight",
272
+ "transform": "[:, :, 1]"
273
+ },
274
+ "dec_blocks.0.0.conv1.convs.2.weight": {
275
+ "torch": "dec_blocks.0.0.conv1.weight",
276
+ "transform": "[:, :, 2]"
277
+ },
278
+ "dec_blocks.0.0.norm1.weight": {
279
+ "torch": "dec_blocks.0.0.norm1.weight",
280
+ "transform": "identity"
281
+ },
282
+ "dec_blocks.0.0.norm1.bias": {
283
+ "torch": "dec_blocks.0.0.norm1.bias",
284
+ "transform": "identity"
285
+ },
286
+ "dec_blocks.0.0.conv2.convs.0.weight": {
287
+ "torch": "dec_blocks.0.0.conv2.weight",
288
+ "transform": "[:, :, 0]"
289
+ },
290
+ "dec_blocks.0.0.conv2.convs.0.bias": {
291
+ "torch": "dec_blocks.0.0.conv2.bias",
292
+ "transform": "identity"
293
+ },
294
+ "dec_blocks.0.0.conv2.convs.1.weight": {
295
+ "torch": "dec_blocks.0.0.conv2.weight",
296
+ "transform": "[:, :, 1]"
297
+ },
298
+ "dec_blocks.0.0.conv2.convs.2.weight": {
299
+ "torch": "dec_blocks.0.0.conv2.weight",
300
+ "transform": "[:, :, 2]"
301
+ },
302
+ "dec_blocks.0.0.norm2.weight": {
303
+ "torch": "dec_blocks.0.0.norm2.weight",
304
+ "transform": "identity"
305
+ },
306
+ "dec_blocks.0.0.norm2.bias": {
307
+ "torch": "dec_blocks.0.0.norm2.bias",
308
+ "transform": "identity"
309
+ },
310
+ "dec_blocks.0.0.skip.convs.0.weight": {
311
+ "torch": "dec_blocks.0.0.skip.weight",
312
+ "transform": "[:, :, 0]"
313
+ },
314
+ "dec_blocks.0.0.skip.convs.0.bias": {
315
+ "torch": "dec_blocks.0.0.skip.bias",
316
+ "transform": "identity"
317
+ },
318
+ "dec_blocks.1.0.conv1.convs.0.weight": {
319
+ "torch": "dec_blocks.1.0.conv1.weight",
320
+ "transform": "[:, :, 0]"
321
+ },
322
+ "dec_blocks.1.0.conv1.convs.0.bias": {
323
+ "torch": "dec_blocks.1.0.conv1.bias",
324
+ "transform": "identity"
325
+ },
326
+ "dec_blocks.1.0.conv1.convs.1.weight": {
327
+ "torch": "dec_blocks.1.0.conv1.weight",
328
+ "transform": "[:, :, 1]"
329
+ },
330
+ "dec_blocks.1.0.conv1.convs.2.weight": {
331
+ "torch": "dec_blocks.1.0.conv1.weight",
332
+ "transform": "[:, :, 2]"
333
+ },
334
+ "dec_blocks.1.0.norm1.weight": {
335
+ "torch": "dec_blocks.1.0.norm1.weight",
336
+ "transform": "identity"
337
+ },
338
+ "dec_blocks.1.0.norm1.bias": {
339
+ "torch": "dec_blocks.1.0.norm1.bias",
340
+ "transform": "identity"
341
+ },
342
+ "dec_blocks.1.0.conv2.convs.0.weight": {
343
+ "torch": "dec_blocks.1.0.conv2.weight",
344
+ "transform": "[:, :, 0]"
345
+ },
346
+ "dec_blocks.1.0.conv2.convs.0.bias": {
347
+ "torch": "dec_blocks.1.0.conv2.bias",
348
+ "transform": "identity"
349
+ },
350
+ "dec_blocks.1.0.conv2.convs.1.weight": {
351
+ "torch": "dec_blocks.1.0.conv2.weight",
352
+ "transform": "[:, :, 1]"
353
+ },
354
+ "dec_blocks.1.0.conv2.convs.2.weight": {
355
+ "torch": "dec_blocks.1.0.conv2.weight",
356
+ "transform": "[:, :, 2]"
357
+ },
358
+ "dec_blocks.1.0.norm2.weight": {
359
+ "torch": "dec_blocks.1.0.norm2.weight",
360
+ "transform": "identity"
361
+ },
362
+ "dec_blocks.1.0.norm2.bias": {
363
+ "torch": "dec_blocks.1.0.norm2.bias",
364
+ "transform": "identity"
365
+ },
366
+ "dec_blocks.1.0.skip.convs.0.weight": {
367
+ "torch": "dec_blocks.1.0.skip.weight",
368
+ "transform": "[:, :, 0]"
369
+ },
370
+ "dec_blocks.1.0.skip.convs.0.bias": {
371
+ "torch": "dec_blocks.1.0.skip.bias",
372
+ "transform": "identity"
373
+ },
374
+ "dec_blocks.2.0.conv1.convs.0.weight": {
375
+ "torch": "dec_blocks.2.0.conv1.weight",
376
+ "transform": "[:, :, 0]"
377
+ },
378
+ "dec_blocks.2.0.conv1.convs.0.bias": {
379
+ "torch": "dec_blocks.2.0.conv1.bias",
380
+ "transform": "identity"
381
+ },
382
+ "dec_blocks.2.0.conv1.convs.1.weight": {
383
+ "torch": "dec_blocks.2.0.conv1.weight",
384
+ "transform": "[:, :, 1]"
385
+ },
386
+ "dec_blocks.2.0.conv1.convs.2.weight": {
387
+ "torch": "dec_blocks.2.0.conv1.weight",
388
+ "transform": "[:, :, 2]"
389
+ },
390
+ "dec_blocks.2.0.norm1.weight": {
391
+ "torch": "dec_blocks.2.0.norm1.weight",
392
+ "transform": "identity"
393
+ },
394
+ "dec_blocks.2.0.norm1.bias": {
395
+ "torch": "dec_blocks.2.0.norm1.bias",
396
+ "transform": "identity"
397
+ },
398
+ "dec_blocks.2.0.conv2.convs.0.weight": {
399
+ "torch": "dec_blocks.2.0.conv2.weight",
400
+ "transform": "[:, :, 0]"
401
+ },
402
+ "dec_blocks.2.0.conv2.convs.0.bias": {
403
+ "torch": "dec_blocks.2.0.conv2.bias",
404
+ "transform": "identity"
405
+ },
406
+ "dec_blocks.2.0.conv2.convs.1.weight": {
407
+ "torch": "dec_blocks.2.0.conv2.weight",
408
+ "transform": "[:, :, 1]"
409
+ },
410
+ "dec_blocks.2.0.conv2.convs.2.weight": {
411
+ "torch": "dec_blocks.2.0.conv2.weight",
412
+ "transform": "[:, :, 2]"
413
+ },
414
+ "dec_blocks.2.0.norm2.weight": {
415
+ "torch": "dec_blocks.2.0.norm2.weight",
416
+ "transform": "identity"
417
+ },
418
+ "dec_blocks.2.0.norm2.bias": {
419
+ "torch": "dec_blocks.2.0.norm2.bias",
420
+ "transform": "identity"
421
+ },
422
+ "dec_blocks.2.0.skip.convs.0.weight": {
423
+ "torch": "dec_blocks.2.0.skip.weight",
424
+ "transform": "[:, :, 0]"
425
+ },
426
+ "dec_blocks.2.0.skip.convs.0.bias": {
427
+ "torch": "dec_blocks.2.0.skip.bias",
428
+ "transform": "identity"
429
+ },
430
+ "final_conv.convs.0.weight": {
431
+ "torch": "final_conv.weight",
432
+ "transform": "[:, :, 0]"
433
+ },
434
+ "final_conv.convs.0.bias": {
435
+ "torch": "final_conv.bias",
436
+ "transform": "identity"
437
+ }
438
+ }
setup_61/manifest.json CHANGED
@@ -176,5 +176,40 @@
176
  "ort_cpu_s": 0.98
177
  }
178
  ],
179
- "source_repo": "cellmap/nuc-resunet-setup-61"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  }
 
176
  "ort_cpu_s": 0.98
177
  }
178
  ],
179
+ "source_repo": "cellmap/nuc-resunet-setup-61",
180
+ "torch_version": "2.9.1",
181
+ "exporter": "torch.onnx.export (TorchScript, dynamo=False)",
182
+ "opset": 18,
183
+ "finetune": {
184
+ "head": {
185
+ "final_layer": "final_conv.convs.0",
186
+ "onnx_node": "/final_conv/convs.0/Conv",
187
+ "features": "/final_conv/Slice_output_0",
188
+ "weight": "final_conv.convs.0.weight",
189
+ "bias": "final_conv.convs.0.bias",
190
+ "in_channels": 40,
191
+ "out_channels": 1,
192
+ "activation": "none (logits)",
193
+ "files": [
194
+ "setup_61_nuc_256nm_in116_fp16.onnx",
195
+ "setup_61_nuc_256nm_in116_fp32.onnx",
196
+ "setup_61_nuc_256nm_in132_fp16.onnx",
197
+ "setup_61_nuc_256nm_in132_fp32.onnx",
198
+ "setup_61_nuc_256nm_in148_fp16.onnx",
199
+ "setup_61_nuc_256nm_in148_fp32.onnx"
200
+ ],
201
+ "initializers": "finetune/initializers.json",
202
+ "loss": "masked BCE on logits",
203
+ "note": "train the final 1x1 conv on frozen features",
204
+ "torch_weight": {
205
+ "torch": "final_conv.weight",
206
+ "transform": "[:, :, 0]"
207
+ },
208
+ "torch_bias": {
209
+ "torch": "final_conv.bias",
210
+ "transform": "identity"
211
+ },
212
+ "weight_map": "finetune/weight_map.json"
213
+ }
214
+ }
215
  }
setup_67/finetune/initializers.json ADDED
The diff for this file is too large to render. See raw diff
 
setup_67/finetune/weight_map.json ADDED
@@ -0,0 +1,438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stem.conv1.convs.0.weight": {
3
+ "torch": "stem.conv1.weight",
4
+ "transform": "[:, :, 0]"
5
+ },
6
+ "stem.conv1.convs.0.bias": {
7
+ "torch": "stem.conv1.bias",
8
+ "transform": "identity"
9
+ },
10
+ "stem.conv1.convs.1.weight": {
11
+ "torch": "stem.conv1.weight",
12
+ "transform": "[:, :, 1]"
13
+ },
14
+ "stem.conv1.convs.2.weight": {
15
+ "torch": "stem.conv1.weight",
16
+ "transform": "[:, :, 2]"
17
+ },
18
+ "stem.norm1.weight": {
19
+ "torch": "stem.norm1.weight",
20
+ "transform": "identity"
21
+ },
22
+ "stem.norm1.bias": {
23
+ "torch": "stem.norm1.bias",
24
+ "transform": "identity"
25
+ },
26
+ "stem.conv2.convs.0.weight": {
27
+ "torch": "stem.conv2.weight",
28
+ "transform": "[:, :, 0]"
29
+ },
30
+ "stem.conv2.convs.0.bias": {
31
+ "torch": "stem.conv2.bias",
32
+ "transform": "identity"
33
+ },
34
+ "stem.conv2.convs.1.weight": {
35
+ "torch": "stem.conv2.weight",
36
+ "transform": "[:, :, 1]"
37
+ },
38
+ "stem.conv2.convs.2.weight": {
39
+ "torch": "stem.conv2.weight",
40
+ "transform": "[:, :, 2]"
41
+ },
42
+ "stem.norm2.weight": {
43
+ "torch": "stem.norm2.weight",
44
+ "transform": "identity"
45
+ },
46
+ "stem.norm2.bias": {
47
+ "torch": "stem.norm2.bias",
48
+ "transform": "identity"
49
+ },
50
+ "stem.skip.convs.0.weight": {
51
+ "torch": "stem.skip.weight",
52
+ "transform": "[:, :, 0]"
53
+ },
54
+ "stem.skip.convs.0.bias": {
55
+ "torch": "stem.skip.bias",
56
+ "transform": "identity"
57
+ },
58
+ "downs.0.conv.convs.0.weight": {
59
+ "torch": "downs.0.conv.weight",
60
+ "transform": "[:, :, 0]"
61
+ },
62
+ "downs.0.conv.convs.0.bias": {
63
+ "torch": "downs.0.conv.bias",
64
+ "transform": "identity"
65
+ },
66
+ "downs.0.conv.convs.1.weight": {
67
+ "torch": "downs.0.conv.weight",
68
+ "transform": "[:, :, 1]"
69
+ },
70
+ "downs.1.conv.convs.0.weight": {
71
+ "torch": "downs.1.conv.weight",
72
+ "transform": "[:, :, 0]"
73
+ },
74
+ "downs.1.conv.convs.0.bias": {
75
+ "torch": "downs.1.conv.bias",
76
+ "transform": "identity"
77
+ },
78
+ "downs.1.conv.convs.1.weight": {
79
+ "torch": "downs.1.conv.weight",
80
+ "transform": "[:, :, 1]"
81
+ },
82
+ "downs.2.conv.convs.0.weight": {
83
+ "torch": "downs.2.conv.weight",
84
+ "transform": "[:, :, 0]"
85
+ },
86
+ "downs.2.conv.convs.0.bias": {
87
+ "torch": "downs.2.conv.bias",
88
+ "transform": "identity"
89
+ },
90
+ "downs.2.conv.convs.1.weight": {
91
+ "torch": "downs.2.conv.weight",
92
+ "transform": "[:, :, 1]"
93
+ },
94
+ "enc_blocks.0.0.conv1.convs.0.weight": {
95
+ "torch": "enc_blocks.0.0.conv1.weight",
96
+ "transform": "[:, :, 0]"
97
+ },
98
+ "enc_blocks.0.0.conv1.convs.0.bias": {
99
+ "torch": "enc_blocks.0.0.conv1.bias",
100
+ "transform": "identity"
101
+ },
102
+ "enc_blocks.0.0.conv1.convs.1.weight": {
103
+ "torch": "enc_blocks.0.0.conv1.weight",
104
+ "transform": "[:, :, 1]"
105
+ },
106
+ "enc_blocks.0.0.conv1.convs.2.weight": {
107
+ "torch": "enc_blocks.0.0.conv1.weight",
108
+ "transform": "[:, :, 2]"
109
+ },
110
+ "enc_blocks.0.0.norm1.weight": {
111
+ "torch": "enc_blocks.0.0.norm1.weight",
112
+ "transform": "identity"
113
+ },
114
+ "enc_blocks.0.0.norm1.bias": {
115
+ "torch": "enc_blocks.0.0.norm1.bias",
116
+ "transform": "identity"
117
+ },
118
+ "enc_blocks.0.0.conv2.convs.0.weight": {
119
+ "torch": "enc_blocks.0.0.conv2.weight",
120
+ "transform": "[:, :, 0]"
121
+ },
122
+ "enc_blocks.0.0.conv2.convs.0.bias": {
123
+ "torch": "enc_blocks.0.0.conv2.bias",
124
+ "transform": "identity"
125
+ },
126
+ "enc_blocks.0.0.conv2.convs.1.weight": {
127
+ "torch": "enc_blocks.0.0.conv2.weight",
128
+ "transform": "[:, :, 1]"
129
+ },
130
+ "enc_blocks.0.0.conv2.convs.2.weight": {
131
+ "torch": "enc_blocks.0.0.conv2.weight",
132
+ "transform": "[:, :, 2]"
133
+ },
134
+ "enc_blocks.0.0.norm2.weight": {
135
+ "torch": "enc_blocks.0.0.norm2.weight",
136
+ "transform": "identity"
137
+ },
138
+ "enc_blocks.0.0.norm2.bias": {
139
+ "torch": "enc_blocks.0.0.norm2.bias",
140
+ "transform": "identity"
141
+ },
142
+ "enc_blocks.1.0.conv1.convs.0.weight": {
143
+ "torch": "enc_blocks.1.0.conv1.weight",
144
+ "transform": "[:, :, 0]"
145
+ },
146
+ "enc_blocks.1.0.conv1.convs.0.bias": {
147
+ "torch": "enc_blocks.1.0.conv1.bias",
148
+ "transform": "identity"
149
+ },
150
+ "enc_blocks.1.0.conv1.convs.1.weight": {
151
+ "torch": "enc_blocks.1.0.conv1.weight",
152
+ "transform": "[:, :, 1]"
153
+ },
154
+ "enc_blocks.1.0.conv1.convs.2.weight": {
155
+ "torch": "enc_blocks.1.0.conv1.weight",
156
+ "transform": "[:, :, 2]"
157
+ },
158
+ "enc_blocks.1.0.norm1.weight": {
159
+ "torch": "enc_blocks.1.0.norm1.weight",
160
+ "transform": "identity"
161
+ },
162
+ "enc_blocks.1.0.norm1.bias": {
163
+ "torch": "enc_blocks.1.0.norm1.bias",
164
+ "transform": "identity"
165
+ },
166
+ "enc_blocks.1.0.conv2.convs.0.weight": {
167
+ "torch": "enc_blocks.1.0.conv2.weight",
168
+ "transform": "[:, :, 0]"
169
+ },
170
+ "enc_blocks.1.0.conv2.convs.0.bias": {
171
+ "torch": "enc_blocks.1.0.conv2.bias",
172
+ "transform": "identity"
173
+ },
174
+ "enc_blocks.1.0.conv2.convs.1.weight": {
175
+ "torch": "enc_blocks.1.0.conv2.weight",
176
+ "transform": "[:, :, 1]"
177
+ },
178
+ "enc_blocks.1.0.conv2.convs.2.weight": {
179
+ "torch": "enc_blocks.1.0.conv2.weight",
180
+ "transform": "[:, :, 2]"
181
+ },
182
+ "enc_blocks.1.0.norm2.weight": {
183
+ "torch": "enc_blocks.1.0.norm2.weight",
184
+ "transform": "identity"
185
+ },
186
+ "enc_blocks.1.0.norm2.bias": {
187
+ "torch": "enc_blocks.1.0.norm2.bias",
188
+ "transform": "identity"
189
+ },
190
+ "enc_blocks.2.0.conv1.convs.0.weight": {
191
+ "torch": "enc_blocks.2.0.conv1.weight",
192
+ "transform": "[:, :, 0]"
193
+ },
194
+ "enc_blocks.2.0.conv1.convs.0.bias": {
195
+ "torch": "enc_blocks.2.0.conv1.bias",
196
+ "transform": "identity"
197
+ },
198
+ "enc_blocks.2.0.conv1.convs.1.weight": {
199
+ "torch": "enc_blocks.2.0.conv1.weight",
200
+ "transform": "[:, :, 1]"
201
+ },
202
+ "enc_blocks.2.0.conv1.convs.2.weight": {
203
+ "torch": "enc_blocks.2.0.conv1.weight",
204
+ "transform": "[:, :, 2]"
205
+ },
206
+ "enc_blocks.2.0.norm1.weight": {
207
+ "torch": "enc_blocks.2.0.norm1.weight",
208
+ "transform": "identity"
209
+ },
210
+ "enc_blocks.2.0.norm1.bias": {
211
+ "torch": "enc_blocks.2.0.norm1.bias",
212
+ "transform": "identity"
213
+ },
214
+ "enc_blocks.2.0.conv2.convs.0.weight": {
215
+ "torch": "enc_blocks.2.0.conv2.weight",
216
+ "transform": "[:, :, 0]"
217
+ },
218
+ "enc_blocks.2.0.conv2.convs.0.bias": {
219
+ "torch": "enc_blocks.2.0.conv2.bias",
220
+ "transform": "identity"
221
+ },
222
+ "enc_blocks.2.0.conv2.convs.1.weight": {
223
+ "torch": "enc_blocks.2.0.conv2.weight",
224
+ "transform": "[:, :, 1]"
225
+ },
226
+ "enc_blocks.2.0.conv2.convs.2.weight": {
227
+ "torch": "enc_blocks.2.0.conv2.weight",
228
+ "transform": "[:, :, 2]"
229
+ },
230
+ "enc_blocks.2.0.norm2.weight": {
231
+ "torch": "enc_blocks.2.0.norm2.weight",
232
+ "transform": "identity"
233
+ },
234
+ "enc_blocks.2.0.norm2.bias": {
235
+ "torch": "enc_blocks.2.0.norm2.bias",
236
+ "transform": "identity"
237
+ },
238
+ "ups.0.reduce.convs.0.weight": {
239
+ "torch": "ups.0.reduce.weight",
240
+ "transform": "[:, :, 0]"
241
+ },
242
+ "ups.0.reduce.convs.0.bias": {
243
+ "torch": "ups.0.reduce.bias",
244
+ "transform": "identity"
245
+ },
246
+ "ups.1.reduce.convs.0.weight": {
247
+ "torch": "ups.1.reduce.weight",
248
+ "transform": "[:, :, 0]"
249
+ },
250
+ "ups.1.reduce.convs.0.bias": {
251
+ "torch": "ups.1.reduce.bias",
252
+ "transform": "identity"
253
+ },
254
+ "ups.2.reduce.convs.0.weight": {
255
+ "torch": "ups.2.reduce.weight",
256
+ "transform": "[:, :, 0]"
257
+ },
258
+ "ups.2.reduce.convs.0.bias": {
259
+ "torch": "ups.2.reduce.bias",
260
+ "transform": "identity"
261
+ },
262
+ "dec_blocks.0.0.conv1.convs.0.weight": {
263
+ "torch": "dec_blocks.0.0.conv1.weight",
264
+ "transform": "[:, :, 0]"
265
+ },
266
+ "dec_blocks.0.0.conv1.convs.0.bias": {
267
+ "torch": "dec_blocks.0.0.conv1.bias",
268
+ "transform": "identity"
269
+ },
270
+ "dec_blocks.0.0.conv1.convs.1.weight": {
271
+ "torch": "dec_blocks.0.0.conv1.weight",
272
+ "transform": "[:, :, 1]"
273
+ },
274
+ "dec_blocks.0.0.conv1.convs.2.weight": {
275
+ "torch": "dec_blocks.0.0.conv1.weight",
276
+ "transform": "[:, :, 2]"
277
+ },
278
+ "dec_blocks.0.0.norm1.weight": {
279
+ "torch": "dec_blocks.0.0.norm1.weight",
280
+ "transform": "identity"
281
+ },
282
+ "dec_blocks.0.0.norm1.bias": {
283
+ "torch": "dec_blocks.0.0.norm1.bias",
284
+ "transform": "identity"
285
+ },
286
+ "dec_blocks.0.0.conv2.convs.0.weight": {
287
+ "torch": "dec_blocks.0.0.conv2.weight",
288
+ "transform": "[:, :, 0]"
289
+ },
290
+ "dec_blocks.0.0.conv2.convs.0.bias": {
291
+ "torch": "dec_blocks.0.0.conv2.bias",
292
+ "transform": "identity"
293
+ },
294
+ "dec_blocks.0.0.conv2.convs.1.weight": {
295
+ "torch": "dec_blocks.0.0.conv2.weight",
296
+ "transform": "[:, :, 1]"
297
+ },
298
+ "dec_blocks.0.0.conv2.convs.2.weight": {
299
+ "torch": "dec_blocks.0.0.conv2.weight",
300
+ "transform": "[:, :, 2]"
301
+ },
302
+ "dec_blocks.0.0.norm2.weight": {
303
+ "torch": "dec_blocks.0.0.norm2.weight",
304
+ "transform": "identity"
305
+ },
306
+ "dec_blocks.0.0.norm2.bias": {
307
+ "torch": "dec_blocks.0.0.norm2.bias",
308
+ "transform": "identity"
309
+ },
310
+ "dec_blocks.0.0.skip.convs.0.weight": {
311
+ "torch": "dec_blocks.0.0.skip.weight",
312
+ "transform": "[:, :, 0]"
313
+ },
314
+ "dec_blocks.0.0.skip.convs.0.bias": {
315
+ "torch": "dec_blocks.0.0.skip.bias",
316
+ "transform": "identity"
317
+ },
318
+ "dec_blocks.1.0.conv1.convs.0.weight": {
319
+ "torch": "dec_blocks.1.0.conv1.weight",
320
+ "transform": "[:, :, 0]"
321
+ },
322
+ "dec_blocks.1.0.conv1.convs.0.bias": {
323
+ "torch": "dec_blocks.1.0.conv1.bias",
324
+ "transform": "identity"
325
+ },
326
+ "dec_blocks.1.0.conv1.convs.1.weight": {
327
+ "torch": "dec_blocks.1.0.conv1.weight",
328
+ "transform": "[:, :, 1]"
329
+ },
330
+ "dec_blocks.1.0.conv1.convs.2.weight": {
331
+ "torch": "dec_blocks.1.0.conv1.weight",
332
+ "transform": "[:, :, 2]"
333
+ },
334
+ "dec_blocks.1.0.norm1.weight": {
335
+ "torch": "dec_blocks.1.0.norm1.weight",
336
+ "transform": "identity"
337
+ },
338
+ "dec_blocks.1.0.norm1.bias": {
339
+ "torch": "dec_blocks.1.0.norm1.bias",
340
+ "transform": "identity"
341
+ },
342
+ "dec_blocks.1.0.conv2.convs.0.weight": {
343
+ "torch": "dec_blocks.1.0.conv2.weight",
344
+ "transform": "[:, :, 0]"
345
+ },
346
+ "dec_blocks.1.0.conv2.convs.0.bias": {
347
+ "torch": "dec_blocks.1.0.conv2.bias",
348
+ "transform": "identity"
349
+ },
350
+ "dec_blocks.1.0.conv2.convs.1.weight": {
351
+ "torch": "dec_blocks.1.0.conv2.weight",
352
+ "transform": "[:, :, 1]"
353
+ },
354
+ "dec_blocks.1.0.conv2.convs.2.weight": {
355
+ "torch": "dec_blocks.1.0.conv2.weight",
356
+ "transform": "[:, :, 2]"
357
+ },
358
+ "dec_blocks.1.0.norm2.weight": {
359
+ "torch": "dec_blocks.1.0.norm2.weight",
360
+ "transform": "identity"
361
+ },
362
+ "dec_blocks.1.0.norm2.bias": {
363
+ "torch": "dec_blocks.1.0.norm2.bias",
364
+ "transform": "identity"
365
+ },
366
+ "dec_blocks.1.0.skip.convs.0.weight": {
367
+ "torch": "dec_blocks.1.0.skip.weight",
368
+ "transform": "[:, :, 0]"
369
+ },
370
+ "dec_blocks.1.0.skip.convs.0.bias": {
371
+ "torch": "dec_blocks.1.0.skip.bias",
372
+ "transform": "identity"
373
+ },
374
+ "dec_blocks.2.0.conv1.convs.0.weight": {
375
+ "torch": "dec_blocks.2.0.conv1.weight",
376
+ "transform": "[:, :, 0]"
377
+ },
378
+ "dec_blocks.2.0.conv1.convs.0.bias": {
379
+ "torch": "dec_blocks.2.0.conv1.bias",
380
+ "transform": "identity"
381
+ },
382
+ "dec_blocks.2.0.conv1.convs.1.weight": {
383
+ "torch": "dec_blocks.2.0.conv1.weight",
384
+ "transform": "[:, :, 1]"
385
+ },
386
+ "dec_blocks.2.0.conv1.convs.2.weight": {
387
+ "torch": "dec_blocks.2.0.conv1.weight",
388
+ "transform": "[:, :, 2]"
389
+ },
390
+ "dec_blocks.2.0.norm1.weight": {
391
+ "torch": "dec_blocks.2.0.norm1.weight",
392
+ "transform": "identity"
393
+ },
394
+ "dec_blocks.2.0.norm1.bias": {
395
+ "torch": "dec_blocks.2.0.norm1.bias",
396
+ "transform": "identity"
397
+ },
398
+ "dec_blocks.2.0.conv2.convs.0.weight": {
399
+ "torch": "dec_blocks.2.0.conv2.weight",
400
+ "transform": "[:, :, 0]"
401
+ },
402
+ "dec_blocks.2.0.conv2.convs.0.bias": {
403
+ "torch": "dec_blocks.2.0.conv2.bias",
404
+ "transform": "identity"
405
+ },
406
+ "dec_blocks.2.0.conv2.convs.1.weight": {
407
+ "torch": "dec_blocks.2.0.conv2.weight",
408
+ "transform": "[:, :, 1]"
409
+ },
410
+ "dec_blocks.2.0.conv2.convs.2.weight": {
411
+ "torch": "dec_blocks.2.0.conv2.weight",
412
+ "transform": "[:, :, 2]"
413
+ },
414
+ "dec_blocks.2.0.norm2.weight": {
415
+ "torch": "dec_blocks.2.0.norm2.weight",
416
+ "transform": "identity"
417
+ },
418
+ "dec_blocks.2.0.norm2.bias": {
419
+ "torch": "dec_blocks.2.0.norm2.bias",
420
+ "transform": "identity"
421
+ },
422
+ "dec_blocks.2.0.skip.convs.0.weight": {
423
+ "torch": "dec_blocks.2.0.skip.weight",
424
+ "transform": "[:, :, 0]"
425
+ },
426
+ "dec_blocks.2.0.skip.convs.0.bias": {
427
+ "torch": "dec_blocks.2.0.skip.bias",
428
+ "transform": "identity"
429
+ },
430
+ "final_conv.convs.0.weight": {
431
+ "torch": "final_conv.weight",
432
+ "transform": "[:, :, 0]"
433
+ },
434
+ "final_conv.convs.0.bias": {
435
+ "torch": "final_conv.bias",
436
+ "transform": "identity"
437
+ }
438
+ }
setup_67/manifest.json CHANGED
@@ -176,5 +176,40 @@
176
  "ort_cpu_s": 0.88
177
  }
178
  ],
179
- "source_repo": "cellmap/er-resunet-setup-67"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  }
 
176
  "ort_cpu_s": 0.88
177
  }
178
  ],
179
+ "source_repo": "cellmap/er-resunet-setup-67",
180
+ "torch_version": "2.9.1",
181
+ "exporter": "torch.onnx.export (TorchScript, dynamo=False)",
182
+ "opset": 18,
183
+ "finetune": {
184
+ "head": {
185
+ "final_layer": "final_conv.convs.0",
186
+ "onnx_node": "/final_conv/convs.0/Conv",
187
+ "features": "/final_conv/Slice_output_0",
188
+ "weight": "final_conv.convs.0.weight",
189
+ "bias": "final_conv.convs.0.bias",
190
+ "in_channels": 40,
191
+ "out_channels": 1,
192
+ "activation": "none (logits)",
193
+ "files": [
194
+ "setup_67_er_8nm_in116_fp16.onnx",
195
+ "setup_67_er_8nm_in116_fp32.onnx",
196
+ "setup_67_er_8nm_in132_fp16.onnx",
197
+ "setup_67_er_8nm_in132_fp32.onnx",
198
+ "setup_67_er_8nm_in148_fp16.onnx",
199
+ "setup_67_er_8nm_in148_fp32.onnx"
200
+ ],
201
+ "initializers": "finetune/initializers.json",
202
+ "loss": "masked BCE on logits",
203
+ "note": "train the final 1x1 conv on frozen features",
204
+ "torch_weight": {
205
+ "torch": "final_conv.weight",
206
+ "transform": "[:, :, 0]"
207
+ },
208
+ "torch_bias": {
209
+ "torch": "final_conv.bias",
210
+ "transform": "identity"
211
+ },
212
+ "weight_map": "finetune/weight_map.json"
213
+ }
214
+ }
215
  }