dwei commited on
Commit
b00ddcc
·
verified ·
1 Parent(s): 20cb0d7

Add resolved config for mito_lucchi++ MedNeXt-S checkpoint

Browse files
Files changed (1) hide show
  1. mito_lucchi++_mednext-S.config.yaml +2503 -0
mito_lucchi++_mednext-S.config.yaml ADDED
@@ -0,0 +1,2503 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ experiment_name: mito_lucchi++
2
+ description: Binary mitochondria segmentation on Lucchi++ EM dataset
3
+ save_path: outputs/mito_lucchi++/20260512_184708/checkpoints
4
+ system:
5
+ profile: null
6
+ num_gpus: 4
7
+ num_workers: 2
8
+ seed: 42
9
+ model:
10
+ arch:
11
+ profile: null
12
+ type: mednext
13
+ variant: null
14
+ params: {}
15
+ input_size:
16
+ - 112
17
+ - 112
18
+ - 112
19
+ output_size:
20
+ - 112
21
+ - 112
22
+ - 112
23
+ in_channels: 1
24
+ out_channels: 1
25
+ primary_head: null
26
+ heads: {}
27
+ monai:
28
+ filters:
29
+ - 32
30
+ - 64
31
+ - 128
32
+ - 256
33
+ - 512
34
+ dropout: 0.0
35
+ norm: batch
36
+ num_groups: 8
37
+ activation: relu
38
+ spatial_dims: 3
39
+ num_res_units: 2
40
+ kernel_size: 3
41
+ strides: null
42
+ upsample_mode: deconv
43
+ upsample_interp_mode: linear
44
+ upsample_align_corners: true
45
+ transformer:
46
+ feature_size: 16
47
+ hidden_size: 768
48
+ mlp_dim: 3072
49
+ num_heads: 12
50
+ pos_embed: perceptron
51
+ norm: instance
52
+ dropout: 0.0
53
+ use_checkpoint: false
54
+ attn_drop_rate: 0.0
55
+ dropout_path_rate: 0.0
56
+ mednext:
57
+ size: S
58
+ base_channels: 32
59
+ exp_r: 4
60
+ kernel_size: 3
61
+ do_res: true
62
+ do_res_up_down: true
63
+ block_counts:
64
+ - 2
65
+ - 2
66
+ - 2
67
+ - 2
68
+ - 2
69
+ - 2
70
+ - 2
71
+ - 2
72
+ - 2
73
+ checkpoint_style: outside_block
74
+ norm: group
75
+ dim: 3d
76
+ grn: false
77
+ rsunet:
78
+ width:
79
+ - 16
80
+ - 32
81
+ - 64
82
+ - 128
83
+ norm: batch
84
+ activation: relu
85
+ num_groups: 8
86
+ down_factors: null
87
+ depth_2d: 0
88
+ kernel_2d:
89
+ - 1
90
+ - 3
91
+ - 3
92
+ act_negative_slope: 0.01
93
+ act_init: 0.25
94
+ nnunet:
95
+ checkpoint: null
96
+ plans: null
97
+ dataset: null
98
+ device: cuda
99
+ spatial_dims: null
100
+ loss:
101
+ deep_supervision: false
102
+ deep_supervision_weights: null
103
+ deep_supervision_clamp_min: -20.0
104
+ deep_supervision_clamp_max: 20.0
105
+ losses:
106
+ - function: WeightedBCEWithLogitsLoss
107
+ weight: 1.0
108
+ kwargs:
109
+ reduction: mean
110
+ - function: DiceLoss
111
+ weight: 1.0
112
+ kwargs:
113
+ sigmoid: true
114
+ smooth_nr: 1.0e-05
115
+ smooth_dr: 1.0e-05
116
+ loss_balancing:
117
+ strategy: null
118
+ gradnorm_alpha: 0.5
119
+ gradnorm_lambda: 1.0
120
+ gradnorm_parameter_strategy: last
121
+ external_weights_path: null
122
+ external_weights_key_prefix: model.
123
+ default:
124
+ system:
125
+ profile: null
126
+ num_gpus: -1
127
+ num_workers: -1
128
+ seed: 42
129
+ model:
130
+ arch:
131
+ profile: null
132
+ type: mednext
133
+ variant: null
134
+ params: {}
135
+ input_size:
136
+ - 112
137
+ - 112
138
+ - 112
139
+ output_size:
140
+ - 112
141
+ - 112
142
+ - 112
143
+ in_channels: 1
144
+ out_channels: 1
145
+ primary_head: null
146
+ heads: {}
147
+ monai:
148
+ filters:
149
+ - 32
150
+ - 64
151
+ - 128
152
+ - 256
153
+ - 512
154
+ dropout: 0.0
155
+ norm: batch
156
+ num_groups: 8
157
+ activation: relu
158
+ spatial_dims: 3
159
+ num_res_units: 2
160
+ kernel_size: 3
161
+ strides: null
162
+ upsample_mode: deconv
163
+ upsample_interp_mode: linear
164
+ upsample_align_corners: true
165
+ transformer:
166
+ feature_size: 16
167
+ hidden_size: 768
168
+ mlp_dim: 3072
169
+ num_heads: 12
170
+ pos_embed: perceptron
171
+ norm: instance
172
+ dropout: 0.0
173
+ use_checkpoint: false
174
+ attn_drop_rate: 0.0
175
+ dropout_path_rate: 0.0
176
+ mednext:
177
+ size: S
178
+ base_channels: 32
179
+ exp_r: 4
180
+ kernel_size: 3
181
+ do_res: true
182
+ do_res_up_down: true
183
+ block_counts:
184
+ - 2
185
+ - 2
186
+ - 2
187
+ - 2
188
+ - 2
189
+ - 2
190
+ - 2
191
+ - 2
192
+ - 2
193
+ checkpoint_style: outside_block
194
+ norm: group
195
+ dim: 3d
196
+ grn: false
197
+ rsunet:
198
+ width:
199
+ - 16
200
+ - 32
201
+ - 64
202
+ - 128
203
+ norm: batch
204
+ activation: relu
205
+ num_groups: 8
206
+ down_factors: null
207
+ depth_2d: 0
208
+ kernel_2d:
209
+ - 1
210
+ - 3
211
+ - 3
212
+ act_negative_slope: 0.01
213
+ act_init: 0.25
214
+ nnunet:
215
+ checkpoint: null
216
+ plans: null
217
+ dataset: null
218
+ device: cuda
219
+ spatial_dims: null
220
+ loss:
221
+ deep_supervision: false
222
+ deep_supervision_weights: null
223
+ deep_supervision_clamp_min: -20.0
224
+ deep_supervision_clamp_max: 20.0
225
+ losses:
226
+ - function: WeightedBCEWithLogitsLoss
227
+ weight: 1.0
228
+ kwargs:
229
+ reduction: mean
230
+ - function: DiceLoss
231
+ weight: 1.0
232
+ kwargs:
233
+ sigmoid: true
234
+ smooth_nr: 1.0e-05
235
+ smooth_dr: 1.0e-05
236
+ loss_balancing:
237
+ strategy: null
238
+ gradnorm_alpha: 0.5
239
+ gradnorm_lambda: 1.0
240
+ gradnorm_parameter_strategy: last
241
+ external_weights_path: null
242
+ external_weights_key_prefix: model.
243
+ data:
244
+ root_path: ''
245
+ split_enabled: false
246
+ split_train_range:
247
+ - 0.0
248
+ - 0.8
249
+ split_val_range:
250
+ - 0.8
251
+ - 1.0
252
+ split_axis: 0
253
+ split_pad_val: true
254
+ split_pad_mode: reflect
255
+ train:
256
+ dataset_type: null
257
+ do_2d: false
258
+ path: ''
259
+ image: null
260
+ label: null
261
+ label_aux: null
262
+ label_aux_type: skeleton
263
+ mask: null
264
+ json: null
265
+ image_key: images
266
+ label_key: masks
267
+ split_ratio: null
268
+ resolution: null
269
+ skeleton: null
270
+ skeleton_mask: null
271
+ name: null
272
+ val:
273
+ dataset_type: null
274
+ do_2d: false
275
+ path: ''
276
+ image: null
277
+ label: null
278
+ label_aux: null
279
+ label_aux_type: skeleton
280
+ mask: null
281
+ json: null
282
+ image_key: images
283
+ label_key: masks
284
+ split_ratio: null
285
+ resolution: null
286
+ skeleton: null
287
+ skeleton_mask: null
288
+ name: null
289
+ test:
290
+ dataset_type: null
291
+ do_2d: false
292
+ path: ''
293
+ image: null
294
+ label: null
295
+ label_aux: null
296
+ label_aux_type: skeleton
297
+ mask: null
298
+ json: null
299
+ image_key: images
300
+ label_key: masks
301
+ split_ratio: null
302
+ resolution: null
303
+ skeleton: null
304
+ skeleton_mask: null
305
+ name: null
306
+ dataloader:
307
+ batch_size: 4
308
+ patch_size:
309
+ - 112
310
+ - 112
311
+ - 112
312
+ target_context:
313
+ - 0
314
+ - 0
315
+ - 0
316
+ - 0
317
+ - 0
318
+ - 0
319
+ pin_memory: true
320
+ use_preloaded_cache_train: true
321
+ use_preloaded_cache_val: true
322
+ persistent_workers: true
323
+ use_cache: false
324
+ cache_rate: 1.0
325
+ use_lazy_zarr: false
326
+ use_lazy_h5: false
327
+ cached_sampling_max_attempts: 10
328
+ cached_sampling_foreground_threshold: 0.0
329
+ cached_sampling_crop_to_nonzero_mask: false
330
+ cached_sampling_sample_nonzero_mask: false
331
+ reject_sampling: null
332
+ val_random_sampling: false
333
+ data_transform:
334
+ resize: null
335
+ align_to_image: false
336
+ binarize: false
337
+ threshold: 0.0
338
+ pad_size:
339
+ - 0
340
+ - 0
341
+ - 0
342
+ pad_mode: reflect
343
+ stride:
344
+ - 1
345
+ - 1
346
+ - 1
347
+ train_transpose: []
348
+ val_transpose: []
349
+ target_spacing: null
350
+ median_shape: null
351
+ image_transform:
352
+ transform_profile: null
353
+ normalize: 0-1
354
+ clip_percentile_low: 0.0
355
+ clip_percentile_high: 1.0
356
+ nnunet_preprocessing:
357
+ enabled: false
358
+ crop_to_nonzero: true
359
+ target_spacing: null
360
+ source_spacing: null
361
+ normalization: zscore
362
+ normalization_use_nonzero_mask: true
363
+ clip_percentile_low: 0.0
364
+ clip_percentile_high: 1.0
365
+ force_separate_z: null
366
+ anisotropy_threshold: 3.0
367
+ image_order: 3
368
+ label_order: 0
369
+ order_z: 0
370
+ restore_to_input_space: true
371
+ mask_transform: null
372
+ label_transform:
373
+ normalize: true
374
+ erosion: 0
375
+ skeleton_distance:
376
+ enabled: false
377
+ resolution:
378
+ - 1.0
379
+ - 1.0
380
+ - 1.0
381
+ alpha: 0.8
382
+ smooth: true
383
+ bg_value: -1.0
384
+ edge_mode:
385
+ mode: all
386
+ thickness: 1
387
+ processing_mode: 2d
388
+ keys:
389
+ - label
390
+ stack_outputs: true
391
+ retain_original: false
392
+ output_dtype: float32
393
+ output_key_format: '{key}_{task}'
394
+ allow_missing_keys: false
395
+ relabel_connected_components: false
396
+ relabel_connectivity: 6
397
+ segment_id: null
398
+ boundary_thickness: 1
399
+ resolution: null
400
+ cache_dir: ''
401
+ targets: []
402
+ augmentation:
403
+ defect_mutex: false
404
+ flip:
405
+ enabled: true
406
+ prob: 0.5
407
+ spatial_axis:
408
+ - 0
409
+ - 1
410
+ - 2
411
+ axis_permute:
412
+ enabled: false
413
+ prob: 1.0
414
+ include_identity: true
415
+ rotate90_all:
416
+ enabled: false
417
+ prob: 1.0
418
+ include_identity: true
419
+ affine:
420
+ enabled: true
421
+ prob: 0.3
422
+ rotate_range:
423
+ - 0.1
424
+ - 0.1
425
+ - 0.1
426
+ scale_range:
427
+ - 0.05
428
+ - 0.05
429
+ - 0.05
430
+ shear_range:
431
+ - 0.05
432
+ - 0.05
433
+ - 0.05
434
+ rotate:
435
+ enabled: true
436
+ prob: 0.5
437
+ spatial_axes:
438
+ - 1
439
+ - 2
440
+ elastic:
441
+ enabled: true
442
+ prob: 0.3
443
+ sigma_range:
444
+ - 5.0
445
+ - 8.0
446
+ magnitude_range:
447
+ - 50.0
448
+ - 150.0
449
+ intensity:
450
+ enabled: true
451
+ gaussian_noise_prob: 0.5
452
+ gaussian_noise_std: 0.1
453
+ banis_style: false
454
+ mul_add_prob: 0.0
455
+ mul_range:
456
+ - 0.9
457
+ - 1.1
458
+ add_range:
459
+ - -0.1
460
+ - 0.1
461
+ shift_intensity_prob: 0.7
462
+ shift_intensity_offset: 0.2
463
+ contrast_prob: 0.7
464
+ contrast_range:
465
+ - 0.7
466
+ - 1.4
467
+ slice_shift:
468
+ enabled: false
469
+ prob: 0.0
470
+ slice_prob: 0.05
471
+ shift_magnitude: 10
472
+ spatial_axis:
473
+ - 0
474
+ - 1
475
+ - 2
476
+ wrap: true
477
+ slice_drop:
478
+ enabled: false
479
+ prob: 0.0
480
+ slice_prob: 0.05
481
+ spatial_axis:
482
+ - 0
483
+ - 1
484
+ - 2
485
+ fill_value: 0.0
486
+ preserve_boundaries: false
487
+ slice_shift_z:
488
+ enabled: true
489
+ prob: 0.5
490
+ displacement: 16
491
+ rotate_ratio: 0.3
492
+ slice_drop_z:
493
+ enabled: true
494
+ prob: 0.4
495
+ num_sections: 3
496
+ full_section_prob: 0.5
497
+ partial_ratio_range:
498
+ - 0.25
499
+ - 0.75
500
+ fill_value_range:
501
+ - 0.0
502
+ - 1.0
503
+ misalignment:
504
+ enabled: false
505
+ prob: 0.0
506
+ displacement: 16
507
+ rotate_ratio: 0.0
508
+ missing_section:
509
+ enabled: false
510
+ prob: 0.0
511
+ num_sections: 2
512
+ full_section_prob: 0.5
513
+ partial_ratio_range:
514
+ - 0.25
515
+ - 0.75
516
+ fill_value_range:
517
+ - 0.0
518
+ - 1.0
519
+ motion_blur:
520
+ enabled: true
521
+ prob: 0.3
522
+ sections:
523
+ - 1
524
+ - 3
525
+ kernel_size: 11
526
+ sigma_range:
527
+ - 1.0
528
+ - 3.0
529
+ full_section_prob: 0.5
530
+ partial_ratio_range:
531
+ - 0.25
532
+ - 0.75
533
+ cut_noise:
534
+ enabled: true
535
+ prob: 0.3
536
+ length_ratio:
537
+ - 0.1
538
+ - 0.25
539
+ noise_scale:
540
+ - 0.05
541
+ - 0.15
542
+ cut_blur:
543
+ enabled: false
544
+ prob: 0.0
545
+ length_ratio:
546
+ - 0.1
547
+ - 0.4
548
+ down_ratio_range:
549
+ - 2.0
550
+ - 8.0
551
+ downsample_z: false
552
+ missing_parts:
553
+ enabled: true
554
+ prob: 0.2
555
+ hole_range:
556
+ - 0.1
557
+ - 0.25
558
+ stripe:
559
+ enabled: false
560
+ prob: 0.0
561
+ num_stripes_range:
562
+ - 1
563
+ - 5
564
+ thickness_range:
565
+ - 1
566
+ - 3
567
+ intensity_range:
568
+ - 0.7
569
+ - 1.3
570
+ angle_range:
571
+ - -10.0
572
+ - 10.0
573
+ orientation: random
574
+ mode: multiply
575
+ mixup:
576
+ enabled: false
577
+ alpha: 0.2
578
+ prob: 0.0
579
+ alpha_range:
580
+ - 0.1
581
+ - 0.4
582
+ copy_paste:
583
+ enabled: false
584
+ prob: 0.0
585
+ max_obj_ratio: 0.05
586
+ rotation_angles:
587
+ - 0
588
+ - 90
589
+ - 180
590
+ border: 8
591
+ optimization:
592
+ optimizer:
593
+ name: AdamW
594
+ lr: 0.001
595
+ weight_decay: 0.01
596
+ momentum: 0.9
597
+ betas:
598
+ - 0.9
599
+ - 0.999
600
+ eps: 1.0e-08
601
+ scheduler:
602
+ profile: null
603
+ name: CosineAnnealingLR
604
+ params: {}
605
+ monitor: null
606
+ mode: min
607
+ factor: 0.1
608
+ patience: 10
609
+ threshold: 0.0001
610
+ cooldown: 0
611
+ eps: 1.0e-08
612
+ warmup_epochs: 10
613
+ warmup_start_lr: 0.0001
614
+ min_lr: 1.0e-05
615
+ interval: epoch
616
+ frequency: 1
617
+ ema:
618
+ enabled: false
619
+ decay: 0.999
620
+ warmup_steps: 0
621
+ validate_with_ema: true
622
+ device: null
623
+ copy_buffers: true
624
+ max_epochs: 200
625
+ max_steps: null
626
+ n_steps_per_epoch: -1
627
+ val_steps_per_epoch: null
628
+ gradient_clip_val: 1.0
629
+ accumulate_grad_batches: 1
630
+ precision: 16-mixed
631
+ val_check_interval: 1.0
632
+ val_check_interval_unit: epoch
633
+ log_every_n_steps: 100
634
+ num_sanity_val_steps: 2
635
+ deterministic: null
636
+ benchmark: null
637
+ monitor:
638
+ checkpoint:
639
+ monitor: val_loss
640
+ mode: min
641
+ save_top_k: 3
642
+ save_last: true
643
+ filename: null
644
+ checkpoint_filename: '{epoch:03d}-{train_loss_total_epoch:.4f}'
645
+ save_every_n_epochs: 1
646
+ save_every_n_steps: null
647
+ step_checkpoint_filename: '{step:08d}'
648
+ save_on_train_epoch_end: true
649
+ early_stopping:
650
+ enabled: false
651
+ monitor: val_loss
652
+ mode: min
653
+ patience: 100
654
+ min_delta: 0.0001
655
+ check_finite: true
656
+ threshold: 0.02
657
+ divergence_threshold: 2.0
658
+ logging:
659
+ scalar:
660
+ enabled: true
661
+ interval: step
662
+ loss: null
663
+ loss_every_n_steps: 100
664
+ benchmark: null
665
+ images:
666
+ enabled: true
667
+ interval: epoch
668
+ max_images: 4
669
+ num_slices: 4
670
+ slice_sampling: uniform
671
+ log_every_n_epochs: 1
672
+ max_channels: 12
673
+ channels: null
674
+ channel_mode: all
675
+ selected_channels: null
676
+ head: null
677
+ prediction_saving:
678
+ enabled: false
679
+ interval: epoch
680
+ max_samples: 2
681
+ output_subdir: val_predictions
682
+ nan_detection:
683
+ enabled: true
684
+ debug_on_nan: true
685
+ wandb:
686
+ use_wandb: false
687
+ project: connectomics
688
+ entity: null
689
+ tags: null
690
+ name: null
691
+ detect_anomaly: false
692
+ inference:
693
+ model:
694
+ head: null
695
+ select_channel: null
696
+ output_dtype: null
697
+ activation_profile: null
698
+ channel_activations:
699
+ - channels: ':'
700
+ activation: sigmoid
701
+ crop_pad: null
702
+ execution:
703
+ strategy: whole_volume
704
+ do_eval: true
705
+ window:
706
+ enabled: false
707
+ window_size:
708
+ - 112
709
+ - 112
710
+ - 112
711
+ sw_batch_size: 8
712
+ overlap: 0.5
713
+ blending: bump
714
+ padding_mode: reflect
715
+ cval: 0.0
716
+ keep_input_on_cpu: false
717
+ distributed_sharding: false
718
+ distributed_reduce_chunk_mb: 128
719
+ sw_device: null
720
+ output_device: null
721
+ snap_to_edge: false
722
+ target_context: []
723
+ border_mask: []
724
+ chunking:
725
+ enabled: false
726
+ output_mode: decoded
727
+ chunk_size: null
728
+ halo:
729
+ - 0
730
+ - 0
731
+ - 0
732
+ axes: all
733
+ temp_dir: ''
734
+ save_intermediate: false
735
+ stitching:
736
+ method: affinity_cc_boundary_union
737
+ threshold: null
738
+ edge_offset: null
739
+ min_contact: 1
740
+ save_results: false
741
+ save_path: ''
742
+ save_cache_suffix: _x1_prediction.h5
743
+ save_all_heads: false
744
+ save_dtype: null
745
+ save_backend: h5
746
+ save_compression: gzip
747
+ test_time_augmentation:
748
+ enabled: true
749
+ distributed_sharding: true
750
+ distributed_reduce_chunk_mb: 128
751
+ flip_axes: all
752
+ flip_combinations: null
753
+ rotation90_axes: null
754
+ rotate90_k: null
755
+ patch_first_local: true
756
+ apply_mask: true
757
+ transforms: null
758
+ ensemble_mode: mean
759
+ empty_cache_interval: 4
760
+ load_tta_path: ''
761
+ prediction_transform:
762
+ enabled: false
763
+ intensity_scale: -1.0
764
+ intensity_dtype: null
765
+ memory_cleanup:
766
+ enabled: true
767
+ gc_collect: true
768
+ empty_cuda_cache: true
769
+ release_model_after_inference: false
770
+ system:
771
+ profile: null
772
+ num_gpus: -1
773
+ num_workers: -1
774
+ seed: 42
775
+ decoding:
776
+ enabled: true
777
+ save_intermediate: false
778
+ save_results: true
779
+ save_path: ''
780
+ save_suffix: ''
781
+ steps: []
782
+ postprocessing:
783
+ enabled: false
784
+ binary: {}
785
+ instance_cc3d: null
786
+ output_transpose: []
787
+ load_prediction_path: ''
788
+ affinity_mask_path: ''
789
+ tuning: null
790
+ evaluation:
791
+ enabled: true
792
+ metrics:
793
+ - jaccard
794
+ prediction_threshold: 0.5
795
+ instance_iou_threshold: 0.5
796
+ nerl_resolution: null
797
+ nerl_merge_threshold: 1
798
+ nerl_chunk_num: 1
799
+ nerl_skeleton_id_attribute: id
800
+ nerl_skeleton_position_attribute: index_position
801
+ nerl_skeleton_edge_length_attribute: edge_length
802
+ nerl_skeleton_position_order: xyz
803
+ nerl_prediction_position_order: null
804
+ train:
805
+ system:
806
+ profile: null
807
+ num_gpus: 1
808
+ num_workers: 8
809
+ seed: 42
810
+ model:
811
+ arch:
812
+ profile: null
813
+ type: monai_basic_unet3d
814
+ variant: null
815
+ params: {}
816
+ input_size:
817
+ - 128
818
+ - 128
819
+ - 128
820
+ output_size:
821
+ - 128
822
+ - 128
823
+ - 128
824
+ in_channels: 1
825
+ out_channels: 1
826
+ primary_head: null
827
+ heads: {}
828
+ monai:
829
+ filters:
830
+ - 32
831
+ - 64
832
+ - 128
833
+ - 256
834
+ - 512
835
+ dropout: 0.0
836
+ norm: batch
837
+ num_groups: 8
838
+ activation: relu
839
+ spatial_dims: 3
840
+ num_res_units: 2
841
+ kernel_size: 3
842
+ strides: null
843
+ upsample_mode: deconv
844
+ upsample_interp_mode: linear
845
+ upsample_align_corners: true
846
+ transformer:
847
+ feature_size: 16
848
+ hidden_size: 768
849
+ mlp_dim: 3072
850
+ num_heads: 12
851
+ pos_embed: perceptron
852
+ norm: instance
853
+ dropout: 0.0
854
+ use_checkpoint: false
855
+ attn_drop_rate: 0.0
856
+ dropout_path_rate: 0.0
857
+ mednext:
858
+ size: S
859
+ base_channels: 32
860
+ exp_r: 4
861
+ kernel_size: 3
862
+ do_res: true
863
+ do_res_up_down: true
864
+ block_counts:
865
+ - 2
866
+ - 2
867
+ - 2
868
+ - 2
869
+ - 2
870
+ - 2
871
+ - 2
872
+ - 2
873
+ - 2
874
+ checkpoint_style: null
875
+ norm: group
876
+ dim: 3d
877
+ grn: false
878
+ rsunet:
879
+ width:
880
+ - 16
881
+ - 32
882
+ - 64
883
+ - 128
884
+ norm: batch
885
+ activation: relu
886
+ num_groups: 8
887
+ down_factors: null
888
+ depth_2d: 0
889
+ kernel_2d:
890
+ - 1
891
+ - 3
892
+ - 3
893
+ act_negative_slope: 0.01
894
+ act_init: 0.25
895
+ nnunet:
896
+ checkpoint: null
897
+ plans: null
898
+ dataset: null
899
+ device: cuda
900
+ spatial_dims: null
901
+ loss:
902
+ deep_supervision: false
903
+ deep_supervision_weights: null
904
+ deep_supervision_clamp_min: -20.0
905
+ deep_supervision_clamp_max: 20.0
906
+ losses: null
907
+ loss_balancing:
908
+ strategy: null
909
+ gradnorm_alpha: 0.5
910
+ gradnorm_lambda: 1.0
911
+ gradnorm_parameter_strategy: last
912
+ external_weights_path: null
913
+ external_weights_key_prefix: model.
914
+ data:
915
+ root_path: ''
916
+ split_enabled: false
917
+ split_train_range:
918
+ - 0.0
919
+ - 0.8
920
+ split_val_range:
921
+ - 0.8
922
+ - 1.0
923
+ split_axis: 0
924
+ split_pad_val: true
925
+ split_pad_mode: reflect
926
+ train:
927
+ dataset_type: null
928
+ do_2d: false
929
+ path: ''
930
+ image: datasets/lucchi++/train_im.h5
931
+ label: datasets/lucchi++/train_mito.h5
932
+ label_aux: null
933
+ label_aux_type: skeleton
934
+ mask: null
935
+ json: null
936
+ image_key: images
937
+ label_key: masks
938
+ split_ratio: null
939
+ resolution:
940
+ - 5.0
941
+ - 5.0
942
+ - 5.0
943
+ skeleton: null
944
+ skeleton_mask: null
945
+ name: null
946
+ val:
947
+ dataset_type: null
948
+ do_2d: false
949
+ path: ''
950
+ image: null
951
+ label: null
952
+ label_aux: null
953
+ label_aux_type: skeleton
954
+ mask: null
955
+ json: null
956
+ image_key: images
957
+ label_key: masks
958
+ split_ratio: null
959
+ resolution: null
960
+ skeleton: null
961
+ skeleton_mask: null
962
+ name: null
963
+ test:
964
+ dataset_type: null
965
+ do_2d: false
966
+ path: ''
967
+ image: null
968
+ label: null
969
+ label_aux: null
970
+ label_aux_type: skeleton
971
+ mask: null
972
+ json: null
973
+ image_key: images
974
+ label_key: masks
975
+ split_ratio: null
976
+ resolution: null
977
+ skeleton: null
978
+ skeleton_mask: null
979
+ name: null
980
+ dataloader:
981
+ batch_size: 4
982
+ patch_size:
983
+ - 128
984
+ - 128
985
+ - 128
986
+ target_context:
987
+ - 0
988
+ - 0
989
+ - 0
990
+ - 0
991
+ - 0
992
+ - 0
993
+ pin_memory: true
994
+ use_preloaded_cache_train: true
995
+ use_preloaded_cache_val: true
996
+ persistent_workers: true
997
+ use_cache: false
998
+ cache_rate: 1.0
999
+ use_lazy_zarr: false
1000
+ use_lazy_h5: false
1001
+ cached_sampling_max_attempts: 10
1002
+ cached_sampling_foreground_threshold: 0.0
1003
+ cached_sampling_crop_to_nonzero_mask: false
1004
+ cached_sampling_sample_nonzero_mask: false
1005
+ reject_sampling: null
1006
+ val_random_sampling: false
1007
+ data_transform:
1008
+ resize: null
1009
+ align_to_image: false
1010
+ binarize: false
1011
+ threshold: 0.0
1012
+ pad_size:
1013
+ - 0
1014
+ - 0
1015
+ - 0
1016
+ pad_mode: reflect
1017
+ stride:
1018
+ - 1
1019
+ - 1
1020
+ - 1
1021
+ train_transpose: []
1022
+ val_transpose: []
1023
+ target_spacing: null
1024
+ median_shape: null
1025
+ image_transform:
1026
+ transform_profile: null
1027
+ normalize: 0-1
1028
+ clip_percentile_low: 0.0
1029
+ clip_percentile_high: 1.0
1030
+ nnunet_preprocessing:
1031
+ enabled: false
1032
+ crop_to_nonzero: true
1033
+ target_spacing: null
1034
+ source_spacing: null
1035
+ normalization: zscore
1036
+ normalization_use_nonzero_mask: true
1037
+ clip_percentile_low: 0.0
1038
+ clip_percentile_high: 1.0
1039
+ force_separate_z: null
1040
+ anisotropy_threshold: 3.0
1041
+ image_order: 3
1042
+ label_order: 0
1043
+ order_z: 0
1044
+ restore_to_input_space: true
1045
+ mask_transform: null
1046
+ label_transform:
1047
+ normalize: true
1048
+ erosion: 0
1049
+ skeleton_distance:
1050
+ enabled: false
1051
+ resolution:
1052
+ - 1.0
1053
+ - 1.0
1054
+ - 1.0
1055
+ alpha: 0.8
1056
+ smooth: true
1057
+ bg_value: -1.0
1058
+ edge_mode:
1059
+ mode: all
1060
+ thickness: 1
1061
+ processing_mode: 2d
1062
+ keys:
1063
+ - label
1064
+ stack_outputs: true
1065
+ retain_original: false
1066
+ output_dtype: float32
1067
+ output_key_format: '{key}_{task}'
1068
+ allow_missing_keys: false
1069
+ relabel_connected_components: false
1070
+ relabel_connectivity: 6
1071
+ segment_id: null
1072
+ boundary_thickness: 1
1073
+ resolution: null
1074
+ cache_dir: ''
1075
+ targets: []
1076
+ augmentation:
1077
+ defect_mutex: false
1078
+ flip:
1079
+ enabled: false
1080
+ prob: 0.5
1081
+ spatial_axis:
1082
+ - 0
1083
+ - 1
1084
+ - 2
1085
+ axis_permute:
1086
+ enabled: false
1087
+ prob: 1.0
1088
+ include_identity: true
1089
+ rotate90_all:
1090
+ enabled: false
1091
+ prob: 1.0
1092
+ include_identity: true
1093
+ affine:
1094
+ enabled: false
1095
+ prob: 0.0
1096
+ rotate_range:
1097
+ - 0.0
1098
+ - 0.0
1099
+ - 0.0
1100
+ scale_range:
1101
+ - 0.0
1102
+ - 0.0
1103
+ - 0.0
1104
+ shear_range:
1105
+ - 0.0
1106
+ - 0.0
1107
+ - 0.0
1108
+ rotate:
1109
+ enabled: false
1110
+ prob: 0.5
1111
+ spatial_axes:
1112
+ - 1
1113
+ - 2
1114
+ elastic:
1115
+ enabled: false
1116
+ prob: 0.0
1117
+ sigma_range:
1118
+ - 3.0
1119
+ - 6.0
1120
+ magnitude_range:
1121
+ - 10.0
1122
+ - 20.0
1123
+ intensity:
1124
+ enabled: false
1125
+ gaussian_noise_prob: 0.5
1126
+ gaussian_noise_std: 0.1
1127
+ banis_style: false
1128
+ mul_add_prob: 0.0
1129
+ mul_range:
1130
+ - 0.9
1131
+ - 1.1
1132
+ add_range:
1133
+ - -0.1
1134
+ - 0.1
1135
+ shift_intensity_prob: 0.5
1136
+ shift_intensity_offset: 0.1
1137
+ contrast_prob: 0.5
1138
+ contrast_range:
1139
+ - 0.9
1140
+ - 1.1
1141
+ slice_shift:
1142
+ enabled: false
1143
+ prob: 0.0
1144
+ slice_prob: 0.05
1145
+ shift_magnitude: 10
1146
+ spatial_axis:
1147
+ - 0
1148
+ - 1
1149
+ - 2
1150
+ wrap: true
1151
+ slice_drop:
1152
+ enabled: false
1153
+ prob: 0.0
1154
+ slice_prob: 0.05
1155
+ spatial_axis:
1156
+ - 0
1157
+ - 1
1158
+ - 2
1159
+ fill_value: 0.0
1160
+ preserve_boundaries: false
1161
+ slice_shift_z:
1162
+ enabled: false
1163
+ prob: 0.0
1164
+ displacement: 16
1165
+ rotate_ratio: 0.0
1166
+ slice_drop_z:
1167
+ enabled: false
1168
+ prob: 0.0
1169
+ num_sections: 2
1170
+ full_section_prob: 0.5
1171
+ partial_ratio_range:
1172
+ - 0.25
1173
+ - 0.75
1174
+ fill_value_range:
1175
+ - 0.0
1176
+ - 1.0
1177
+ misalignment:
1178
+ enabled: false
1179
+ prob: 0.0
1180
+ displacement: 16
1181
+ rotate_ratio: 0.0
1182
+ missing_section:
1183
+ enabled: false
1184
+ prob: 0.0
1185
+ num_sections: 2
1186
+ full_section_prob: 0.5
1187
+ partial_ratio_range:
1188
+ - 0.25
1189
+ - 0.75
1190
+ fill_value_range:
1191
+ - 0.0
1192
+ - 1.0
1193
+ motion_blur:
1194
+ enabled: false
1195
+ prob: 0.0
1196
+ sections:
1197
+ - 1
1198
+ - 3
1199
+ kernel_size: 9
1200
+ sigma_range:
1201
+ - 1.0
1202
+ - 3.0
1203
+ full_section_prob: 0.5
1204
+ partial_ratio_range:
1205
+ - 0.25
1206
+ - 0.75
1207
+ cut_noise:
1208
+ enabled: false
1209
+ prob: 0.0
1210
+ length_ratio:
1211
+ - 0.1
1212
+ - 0.4
1213
+ noise_scale:
1214
+ - 0.05
1215
+ - 0.15
1216
+ cut_blur:
1217
+ enabled: false
1218
+ prob: 0.0
1219
+ length_ratio:
1220
+ - 0.1
1221
+ - 0.4
1222
+ down_ratio_range:
1223
+ - 2.0
1224
+ - 8.0
1225
+ downsample_z: false
1226
+ missing_parts:
1227
+ enabled: false
1228
+ prob: 0.0
1229
+ hole_range:
1230
+ - 8.0
1231
+ - 32.0
1232
+ stripe:
1233
+ enabled: false
1234
+ prob: 0.0
1235
+ num_stripes_range:
1236
+ - 1
1237
+ - 5
1238
+ thickness_range:
1239
+ - 1
1240
+ - 3
1241
+ intensity_range:
1242
+ - 0.7
1243
+ - 1.3
1244
+ angle_range:
1245
+ - -10.0
1246
+ - 10.0
1247
+ orientation: random
1248
+ mode: multiply
1249
+ mixup:
1250
+ enabled: false
1251
+ alpha: 0.2
1252
+ prob: 0.0
1253
+ alpha_range:
1254
+ - 0.1
1255
+ - 0.4
1256
+ copy_paste:
1257
+ enabled: false
1258
+ prob: 0.0
1259
+ max_obj_ratio: 0.05
1260
+ rotation_angles:
1261
+ - 0
1262
+ - 90
1263
+ - 180
1264
+ border: 8
1265
+ optimization:
1266
+ optimizer:
1267
+ name: AdamW
1268
+ lr: 0.001
1269
+ weight_decay: 0.01
1270
+ momentum: 0.9
1271
+ betas:
1272
+ - 0.9
1273
+ - 0.999
1274
+ eps: 1.0e-08
1275
+ scheduler:
1276
+ profile: null
1277
+ name: WarmupCosineLR
1278
+ params:
1279
+ warmup_epochs: 3
1280
+ warmup_start_lr: 1.0e-05
1281
+ min_lr: 1.0e-06
1282
+ monitor: null
1283
+ mode: min
1284
+ factor: 0.1
1285
+ patience: 10
1286
+ threshold: 0.0001
1287
+ cooldown: 0
1288
+ eps: 1.0e-08
1289
+ warmup_epochs: 3
1290
+ warmup_start_lr: 1.0e-05
1291
+ min_lr: 1.0e-06
1292
+ interval: epoch
1293
+ frequency: 1
1294
+ ema:
1295
+ enabled: false
1296
+ decay: 0.999
1297
+ warmup_steps: 0
1298
+ validate_with_ema: true
1299
+ device: null
1300
+ copy_buffers: true
1301
+ max_epochs: 150
1302
+ max_steps: null
1303
+ n_steps_per_epoch: 1000
1304
+ val_steps_per_epoch: null
1305
+ gradient_clip_val: 1.0
1306
+ accumulate_grad_batches: 1
1307
+ precision: 16-mixed
1308
+ val_check_interval: 1.0
1309
+ val_check_interval_unit: epoch
1310
+ log_every_n_steps: 100
1311
+ num_sanity_val_steps: 0
1312
+ deterministic: null
1313
+ benchmark: null
1314
+ monitor:
1315
+ checkpoint:
1316
+ monitor: train_loss_total_epoch
1317
+ mode: min
1318
+ save_top_k: 3
1319
+ save_last: true
1320
+ filename: null
1321
+ checkpoint_filename: '{epoch:03d}-{train_loss_total_epoch:.4f}'
1322
+ save_every_n_epochs: 1
1323
+ save_every_n_steps: null
1324
+ step_checkpoint_filename: '{step:08d}'
1325
+ save_on_train_epoch_end: true
1326
+ early_stopping:
1327
+ enabled: false
1328
+ monitor: val_loss
1329
+ mode: min
1330
+ patience: 100
1331
+ min_delta: 0.0001
1332
+ check_finite: true
1333
+ threshold: 0.02
1334
+ divergence_threshold: 2.0
1335
+ logging:
1336
+ scalar:
1337
+ enabled: true
1338
+ interval: step
1339
+ loss: null
1340
+ loss_every_n_steps: 50
1341
+ benchmark: null
1342
+ images:
1343
+ enabled: true
1344
+ interval: epoch
1345
+ max_images: 8
1346
+ num_slices: 2
1347
+ slice_sampling: uniform
1348
+ log_every_n_epochs: 10
1349
+ max_channels: 12
1350
+ channels: null
1351
+ channel_mode: all
1352
+ selected_channels: null
1353
+ head: null
1354
+ prediction_saving:
1355
+ enabled: false
1356
+ interval: epoch
1357
+ max_samples: 2
1358
+ output_subdir: val_predictions
1359
+ nan_detection:
1360
+ enabled: true
1361
+ debug_on_nan: true
1362
+ wandb:
1363
+ use_wandb: false
1364
+ project: connectomics
1365
+ entity: null
1366
+ tags: null
1367
+ name: null
1368
+ detect_anomaly: false
1369
+ data:
1370
+ root_path: ''
1371
+ split_enabled: false
1372
+ split_train_range:
1373
+ - 0.0
1374
+ - 0.8
1375
+ split_val_range:
1376
+ - 0.8
1377
+ - 1.0
1378
+ split_axis: 0
1379
+ split_pad_val: true
1380
+ split_pad_mode: reflect
1381
+ train:
1382
+ dataset_type: null
1383
+ do_2d: false
1384
+ path: ''
1385
+ image: datasets/lucchi++/train_im.h5
1386
+ label: datasets/lucchi++/train_mito.h5
1387
+ label_aux: null
1388
+ label_aux_type: skeleton
1389
+ mask: null
1390
+ json: null
1391
+ image_key: images
1392
+ label_key: masks
1393
+ split_ratio: null
1394
+ resolution:
1395
+ - 5.0
1396
+ - 5.0
1397
+ - 5.0
1398
+ skeleton: null
1399
+ skeleton_mask: null
1400
+ name: null
1401
+ val:
1402
+ dataset_type: null
1403
+ do_2d: false
1404
+ path: ''
1405
+ image: null
1406
+ label: null
1407
+ label_aux: null
1408
+ label_aux_type: skeleton
1409
+ mask: null
1410
+ json: null
1411
+ image_key: images
1412
+ label_key: masks
1413
+ split_ratio: null
1414
+ resolution: null
1415
+ skeleton: null
1416
+ skeleton_mask: null
1417
+ name: null
1418
+ test:
1419
+ dataset_type: null
1420
+ do_2d: false
1421
+ path: ''
1422
+ image: null
1423
+ label: null
1424
+ label_aux: null
1425
+ label_aux_type: skeleton
1426
+ mask: null
1427
+ json: null
1428
+ image_key: images
1429
+ label_key: masks
1430
+ split_ratio: null
1431
+ resolution: null
1432
+ skeleton: null
1433
+ skeleton_mask: null
1434
+ name: null
1435
+ dataloader:
1436
+ batch_size: 4
1437
+ patch_size:
1438
+ - 112
1439
+ - 112
1440
+ - 112
1441
+ target_context:
1442
+ - 0
1443
+ - 0
1444
+ - 0
1445
+ - 0
1446
+ - 0
1447
+ - 0
1448
+ pin_memory: true
1449
+ use_preloaded_cache_train: true
1450
+ use_preloaded_cache_val: true
1451
+ persistent_workers: true
1452
+ use_cache: false
1453
+ cache_rate: 1.0
1454
+ use_lazy_zarr: false
1455
+ use_lazy_h5: false
1456
+ cached_sampling_max_attempts: 10
1457
+ cached_sampling_foreground_threshold: 0.0
1458
+ cached_sampling_crop_to_nonzero_mask: false
1459
+ cached_sampling_sample_nonzero_mask: false
1460
+ reject_sampling: null
1461
+ val_random_sampling: false
1462
+ data_transform:
1463
+ resize: null
1464
+ align_to_image: false
1465
+ binarize: false
1466
+ threshold: 0.0
1467
+ pad_size:
1468
+ - 0
1469
+ - 0
1470
+ - 0
1471
+ pad_mode: reflect
1472
+ stride:
1473
+ - 1
1474
+ - 1
1475
+ - 1
1476
+ train_transpose: []
1477
+ val_transpose: []
1478
+ target_spacing: null
1479
+ median_shape: null
1480
+ image_transform:
1481
+ transform_profile: null
1482
+ normalize: 0-1
1483
+ clip_percentile_low: 0.0
1484
+ clip_percentile_high: 1.0
1485
+ nnunet_preprocessing:
1486
+ enabled: false
1487
+ crop_to_nonzero: true
1488
+ target_spacing: null
1489
+ source_spacing: null
1490
+ normalization: zscore
1491
+ normalization_use_nonzero_mask: true
1492
+ clip_percentile_low: 0.0
1493
+ clip_percentile_high: 1.0
1494
+ force_separate_z: null
1495
+ anisotropy_threshold: 3.0
1496
+ image_order: 3
1497
+ label_order: 0
1498
+ order_z: 0
1499
+ restore_to_input_space: true
1500
+ mask_transform: null
1501
+ label_transform:
1502
+ normalize: true
1503
+ erosion: 0
1504
+ skeleton_distance:
1505
+ enabled: false
1506
+ resolution:
1507
+ - 1.0
1508
+ - 1.0
1509
+ - 1.0
1510
+ alpha: 0.8
1511
+ smooth: true
1512
+ bg_value: -1.0
1513
+ edge_mode:
1514
+ mode: all
1515
+ thickness: 1
1516
+ processing_mode: 2d
1517
+ keys:
1518
+ - label
1519
+ stack_outputs: true
1520
+ retain_original: false
1521
+ output_dtype: float32
1522
+ output_key_format: '{key}_{task}'
1523
+ allow_missing_keys: false
1524
+ relabel_connected_components: false
1525
+ relabel_connectivity: 6
1526
+ segment_id: null
1527
+ boundary_thickness: 1
1528
+ resolution: null
1529
+ cache_dir: ''
1530
+ targets: []
1531
+ augmentation:
1532
+ defect_mutex: false
1533
+ flip:
1534
+ enabled: true
1535
+ prob: 0.5
1536
+ spatial_axis:
1537
+ - 0
1538
+ - 1
1539
+ - 2
1540
+ axis_permute:
1541
+ enabled: false
1542
+ prob: 1.0
1543
+ include_identity: true
1544
+ rotate90_all:
1545
+ enabled: false
1546
+ prob: 1.0
1547
+ include_identity: true
1548
+ affine:
1549
+ enabled: true
1550
+ prob: 0.3
1551
+ rotate_range:
1552
+ - 0.1
1553
+ - 0.1
1554
+ - 0.1
1555
+ scale_range:
1556
+ - 0.05
1557
+ - 0.05
1558
+ - 0.05
1559
+ shear_range:
1560
+ - 0.05
1561
+ - 0.05
1562
+ - 0.05
1563
+ rotate:
1564
+ enabled: true
1565
+ prob: 0.5
1566
+ spatial_axes:
1567
+ - 1
1568
+ - 2
1569
+ elastic:
1570
+ enabled: true
1571
+ prob: 0.3
1572
+ sigma_range:
1573
+ - 5.0
1574
+ - 8.0
1575
+ magnitude_range:
1576
+ - 50.0
1577
+ - 150.0
1578
+ intensity:
1579
+ enabled: true
1580
+ gaussian_noise_prob: 0.5
1581
+ gaussian_noise_std: 0.1
1582
+ banis_style: false
1583
+ mul_add_prob: 0.0
1584
+ mul_range:
1585
+ - 0.9
1586
+ - 1.1
1587
+ add_range:
1588
+ - -0.1
1589
+ - 0.1
1590
+ shift_intensity_prob: 0.7
1591
+ shift_intensity_offset: 0.2
1592
+ contrast_prob: 0.7
1593
+ contrast_range:
1594
+ - 0.7
1595
+ - 1.4
1596
+ slice_shift:
1597
+ enabled: false
1598
+ prob: 0.0
1599
+ slice_prob: 0.05
1600
+ shift_magnitude: 10
1601
+ spatial_axis:
1602
+ - 0
1603
+ - 1
1604
+ - 2
1605
+ wrap: true
1606
+ slice_drop:
1607
+ enabled: false
1608
+ prob: 0.0
1609
+ slice_prob: 0.05
1610
+ spatial_axis:
1611
+ - 0
1612
+ - 1
1613
+ - 2
1614
+ fill_value: 0.0
1615
+ preserve_boundaries: false
1616
+ slice_shift_z:
1617
+ enabled: true
1618
+ prob: 0.5
1619
+ displacement: 16
1620
+ rotate_ratio: 0.3
1621
+ slice_drop_z:
1622
+ enabled: true
1623
+ prob: 0.4
1624
+ num_sections: 3
1625
+ full_section_prob: 0.5
1626
+ partial_ratio_range:
1627
+ - 0.25
1628
+ - 0.75
1629
+ fill_value_range:
1630
+ - 0.0
1631
+ - 1.0
1632
+ misalignment:
1633
+ enabled: false
1634
+ prob: 0.0
1635
+ displacement: 16
1636
+ rotate_ratio: 0.0
1637
+ missing_section:
1638
+ enabled: false
1639
+ prob: 0.0
1640
+ num_sections: 2
1641
+ full_section_prob: 0.5
1642
+ partial_ratio_range:
1643
+ - 0.25
1644
+ - 0.75
1645
+ fill_value_range:
1646
+ - 0.0
1647
+ - 1.0
1648
+ motion_blur:
1649
+ enabled: true
1650
+ prob: 0.3
1651
+ sections:
1652
+ - 1
1653
+ - 3
1654
+ kernel_size: 11
1655
+ sigma_range:
1656
+ - 1.0
1657
+ - 3.0
1658
+ full_section_prob: 0.5
1659
+ partial_ratio_range:
1660
+ - 0.25
1661
+ - 0.75
1662
+ cut_noise:
1663
+ enabled: true
1664
+ prob: 0.3
1665
+ length_ratio:
1666
+ - 0.1
1667
+ - 0.25
1668
+ noise_scale:
1669
+ - 0.05
1670
+ - 0.15
1671
+ cut_blur:
1672
+ enabled: false
1673
+ prob: 0.0
1674
+ length_ratio:
1675
+ - 0.1
1676
+ - 0.4
1677
+ down_ratio_range:
1678
+ - 2.0
1679
+ - 8.0
1680
+ downsample_z: false
1681
+ missing_parts:
1682
+ enabled: true
1683
+ prob: 0.2
1684
+ hole_range:
1685
+ - 0.1
1686
+ - 0.25
1687
+ stripe:
1688
+ enabled: false
1689
+ prob: 0.0
1690
+ num_stripes_range:
1691
+ - 1
1692
+ - 5
1693
+ thickness_range:
1694
+ - 1
1695
+ - 3
1696
+ intensity_range:
1697
+ - 0.7
1698
+ - 1.3
1699
+ angle_range:
1700
+ - -10.0
1701
+ - 10.0
1702
+ orientation: random
1703
+ mode: multiply
1704
+ mixup:
1705
+ enabled: false
1706
+ alpha: 0.2
1707
+ prob: 0.0
1708
+ alpha_range:
1709
+ - 0.1
1710
+ - 0.4
1711
+ copy_paste:
1712
+ enabled: false
1713
+ prob: 0.0
1714
+ max_obj_ratio: 0.05
1715
+ rotation_angles:
1716
+ - 0
1717
+ - 90
1718
+ - 180
1719
+ border: 8
1720
+ optimization:
1721
+ optimizer:
1722
+ name: AdamW
1723
+ lr: 0.001
1724
+ weight_decay: 0.01
1725
+ momentum: 0.9
1726
+ betas:
1727
+ - 0.9
1728
+ - 0.999
1729
+ eps: 1.0e-08
1730
+ scheduler:
1731
+ profile: null
1732
+ name: WarmupCosineLR
1733
+ params:
1734
+ warmup_epochs: 3
1735
+ warmup_start_lr: 1.0e-05
1736
+ min_lr: 1.0e-06
1737
+ monitor: null
1738
+ mode: min
1739
+ factor: 0.1
1740
+ patience: 10
1741
+ threshold: 0.0001
1742
+ cooldown: 0
1743
+ eps: 1.0e-08
1744
+ warmup_epochs: 3
1745
+ warmup_start_lr: 1.0e-05
1746
+ min_lr: 1.0e-06
1747
+ interval: epoch
1748
+ frequency: 1
1749
+ ema:
1750
+ enabled: false
1751
+ decay: 0.999
1752
+ warmup_steps: 0
1753
+ validate_with_ema: true
1754
+ device: null
1755
+ copy_buffers: true
1756
+ max_epochs: 150
1757
+ max_steps: null
1758
+ n_steps_per_epoch: 1000
1759
+ val_steps_per_epoch: null
1760
+ gradient_clip_val: 1.0
1761
+ accumulate_grad_batches: 1
1762
+ precision: 16-mixed
1763
+ val_check_interval: 1.0
1764
+ val_check_interval_unit: epoch
1765
+ log_every_n_steps: 100
1766
+ num_sanity_val_steps: 0
1767
+ deterministic: null
1768
+ benchmark: null
1769
+ monitor:
1770
+ checkpoint:
1771
+ monitor: train_loss_total_epoch
1772
+ mode: min
1773
+ save_top_k: 3
1774
+ save_last: true
1775
+ filename: null
1776
+ checkpoint_filename: '{epoch:03d}-{train_loss_total_epoch:.4f}'
1777
+ save_every_n_epochs: 1
1778
+ save_every_n_steps: null
1779
+ step_checkpoint_filename: '{step:08d}'
1780
+ save_on_train_epoch_end: true
1781
+ early_stopping:
1782
+ enabled: false
1783
+ monitor: val_loss
1784
+ mode: min
1785
+ patience: 100
1786
+ min_delta: 0.0001
1787
+ check_finite: true
1788
+ threshold: 0.02
1789
+ divergence_threshold: 2.0
1790
+ logging:
1791
+ scalar:
1792
+ enabled: true
1793
+ interval: step
1794
+ loss: null
1795
+ loss_every_n_steps: 50
1796
+ benchmark: null
1797
+ images:
1798
+ enabled: true
1799
+ interval: epoch
1800
+ max_images: 8
1801
+ num_slices: 2
1802
+ slice_sampling: uniform
1803
+ log_every_n_epochs: 10
1804
+ max_channels: 12
1805
+ channels: null
1806
+ channel_mode: all
1807
+ selected_channels: null
1808
+ head: null
1809
+ prediction_saving:
1810
+ enabled: false
1811
+ interval: epoch
1812
+ max_samples: 2
1813
+ output_subdir: val_predictions
1814
+ nan_detection:
1815
+ enabled: true
1816
+ debug_on_nan: true
1817
+ wandb:
1818
+ use_wandb: false
1819
+ project: connectomics
1820
+ entity: null
1821
+ tags: null
1822
+ name: null
1823
+ detect_anomaly: false
1824
+ inference:
1825
+ model:
1826
+ head: null
1827
+ select_channel: null
1828
+ output_dtype: null
1829
+ activation_profile: null
1830
+ channel_activations:
1831
+ - channels: ':'
1832
+ activation: sigmoid
1833
+ crop_pad: null
1834
+ execution:
1835
+ strategy: whole_volume
1836
+ do_eval: true
1837
+ window:
1838
+ enabled: false
1839
+ window_size:
1840
+ - 112
1841
+ - 112
1842
+ - 112
1843
+ sw_batch_size: 8
1844
+ overlap: 0.5
1845
+ blending: bump
1846
+ padding_mode: reflect
1847
+ cval: 0.0
1848
+ keep_input_on_cpu: false
1849
+ distributed_sharding: false
1850
+ distributed_reduce_chunk_mb: 128
1851
+ sw_device: null
1852
+ output_device: null
1853
+ snap_to_edge: false
1854
+ target_context: []
1855
+ border_mask: []
1856
+ chunking:
1857
+ enabled: false
1858
+ output_mode: decoded
1859
+ chunk_size: null
1860
+ halo:
1861
+ - 0
1862
+ - 0
1863
+ - 0
1864
+ axes: all
1865
+ temp_dir: ''
1866
+ save_intermediate: false
1867
+ stitching:
1868
+ method: affinity_cc_boundary_union
1869
+ threshold: null
1870
+ edge_offset: null
1871
+ min_contact: 1
1872
+ save_results: false
1873
+ save_path: ''
1874
+ save_cache_suffix: _x1_prediction.h5
1875
+ save_all_heads: false
1876
+ save_dtype: null
1877
+ save_backend: h5
1878
+ save_compression: gzip
1879
+ test_time_augmentation:
1880
+ enabled: true
1881
+ distributed_sharding: true
1882
+ distributed_reduce_chunk_mb: 128
1883
+ flip_axes: all
1884
+ flip_combinations: null
1885
+ rotation90_axes: null
1886
+ rotate90_k: null
1887
+ patch_first_local: true
1888
+ apply_mask: true
1889
+ transforms: null
1890
+ ensemble_mode: mean
1891
+ empty_cache_interval: 4
1892
+ load_tta_path: ''
1893
+ prediction_transform:
1894
+ enabled: false
1895
+ intensity_scale: -1.0
1896
+ intensity_dtype: null
1897
+ memory_cleanup:
1898
+ enabled: true
1899
+ gc_collect: true
1900
+ empty_cuda_cache: true
1901
+ release_model_after_inference: false
1902
+ system:
1903
+ profile: null
1904
+ num_gpus: -1
1905
+ num_workers: -1
1906
+ seed: 42
1907
+ decoding:
1908
+ enabled: true
1909
+ save_intermediate: false
1910
+ save_results: true
1911
+ save_path: ''
1912
+ save_suffix: ''
1913
+ steps: []
1914
+ postprocessing:
1915
+ enabled: false
1916
+ binary: {}
1917
+ instance_cc3d: null
1918
+ output_transpose: []
1919
+ load_prediction_path: ''
1920
+ affinity_mask_path: ''
1921
+ tuning: null
1922
+ evaluation:
1923
+ enabled: true
1924
+ metrics:
1925
+ - jaccard
1926
+ prediction_threshold: 0.5
1927
+ instance_iou_threshold: 0.5
1928
+ nerl_resolution: null
1929
+ nerl_merge_threshold: 1
1930
+ nerl_chunk_num: 1
1931
+ nerl_skeleton_id_attribute: id
1932
+ nerl_skeleton_position_attribute: index_position
1933
+ nerl_skeleton_edge_length_attribute: edge_length
1934
+ nerl_skeleton_position_order: xyz
1935
+ nerl_prediction_position_order: null
1936
+ test:
1937
+ system:
1938
+ profile: null
1939
+ num_gpus: 1
1940
+ num_workers: 8
1941
+ seed: 42
1942
+ model:
1943
+ arch:
1944
+ profile: null
1945
+ type: monai_basic_unet3d
1946
+ variant: null
1947
+ params: {}
1948
+ input_size:
1949
+ - 128
1950
+ - 128
1951
+ - 128
1952
+ output_size:
1953
+ - 128
1954
+ - 128
1955
+ - 128
1956
+ in_channels: 1
1957
+ out_channels: 1
1958
+ primary_head: null
1959
+ heads: {}
1960
+ monai:
1961
+ filters:
1962
+ - 32
1963
+ - 64
1964
+ - 128
1965
+ - 256
1966
+ - 512
1967
+ dropout: 0.0
1968
+ norm: batch
1969
+ num_groups: 8
1970
+ activation: relu
1971
+ spatial_dims: 3
1972
+ num_res_units: 2
1973
+ kernel_size: 3
1974
+ strides: null
1975
+ upsample_mode: deconv
1976
+ upsample_interp_mode: linear
1977
+ upsample_align_corners: true
1978
+ transformer:
1979
+ feature_size: 16
1980
+ hidden_size: 768
1981
+ mlp_dim: 3072
1982
+ num_heads: 12
1983
+ pos_embed: perceptron
1984
+ norm: instance
1985
+ dropout: 0.0
1986
+ use_checkpoint: false
1987
+ attn_drop_rate: 0.0
1988
+ dropout_path_rate: 0.0
1989
+ mednext:
1990
+ size: S
1991
+ base_channels: 32
1992
+ exp_r: 4
1993
+ kernel_size: 3
1994
+ do_res: true
1995
+ do_res_up_down: true
1996
+ block_counts:
1997
+ - 2
1998
+ - 2
1999
+ - 2
2000
+ - 2
2001
+ - 2
2002
+ - 2
2003
+ - 2
2004
+ - 2
2005
+ - 2
2006
+ checkpoint_style: null
2007
+ norm: group
2008
+ dim: 3d
2009
+ grn: false
2010
+ rsunet:
2011
+ width:
2012
+ - 16
2013
+ - 32
2014
+ - 64
2015
+ - 128
2016
+ norm: batch
2017
+ activation: relu
2018
+ num_groups: 8
2019
+ down_factors: null
2020
+ depth_2d: 0
2021
+ kernel_2d:
2022
+ - 1
2023
+ - 3
2024
+ - 3
2025
+ act_negative_slope: 0.01
2026
+ act_init: 0.25
2027
+ nnunet:
2028
+ checkpoint: null
2029
+ plans: null
2030
+ dataset: null
2031
+ device: cuda
2032
+ spatial_dims: null
2033
+ loss:
2034
+ deep_supervision: false
2035
+ deep_supervision_weights: null
2036
+ deep_supervision_clamp_min: -20.0
2037
+ deep_supervision_clamp_max: 20.0
2038
+ losses: null
2039
+ loss_balancing:
2040
+ strategy: null
2041
+ gradnorm_alpha: 0.5
2042
+ gradnorm_lambda: 1.0
2043
+ gradnorm_parameter_strategy: last
2044
+ external_weights_path: null
2045
+ external_weights_key_prefix: model.
2046
+ data:
2047
+ root_path: ''
2048
+ split_enabled: false
2049
+ split_train_range:
2050
+ - 0.0
2051
+ - 0.8
2052
+ split_val_range:
2053
+ - 0.8
2054
+ - 1.0
2055
+ split_axis: 0
2056
+ split_pad_val: true
2057
+ split_pad_mode: reflect
2058
+ train:
2059
+ dataset_type: null
2060
+ do_2d: false
2061
+ path: ''
2062
+ image: null
2063
+ label: null
2064
+ label_aux: null
2065
+ label_aux_type: skeleton
2066
+ mask: null
2067
+ json: null
2068
+ image_key: images
2069
+ label_key: masks
2070
+ split_ratio: null
2071
+ resolution: null
2072
+ skeleton: null
2073
+ skeleton_mask: null
2074
+ name: null
2075
+ val:
2076
+ dataset_type: null
2077
+ do_2d: false
2078
+ path: ''
2079
+ image: null
2080
+ label: null
2081
+ label_aux: null
2082
+ label_aux_type: skeleton
2083
+ mask: null
2084
+ json: null
2085
+ image_key: images
2086
+ label_key: masks
2087
+ split_ratio: null
2088
+ resolution: null
2089
+ skeleton: null
2090
+ skeleton_mask: null
2091
+ name: null
2092
+ test:
2093
+ dataset_type: null
2094
+ do_2d: false
2095
+ path: ''
2096
+ image: datasets/lucchi++/test_im.h5
2097
+ label: datasets/lucchi++/test_mito.h5
2098
+ label_aux: null
2099
+ label_aux_type: skeleton
2100
+ mask: null
2101
+ json: null
2102
+ image_key: images
2103
+ label_key: masks
2104
+ split_ratio: null
2105
+ resolution:
2106
+ - 5.0
2107
+ - 5.0
2108
+ - 5.0
2109
+ skeleton: null
2110
+ skeleton_mask: null
2111
+ name: null
2112
+ dataloader:
2113
+ batch_size: 4
2114
+ patch_size:
2115
+ - 128
2116
+ - 128
2117
+ - 128
2118
+ target_context:
2119
+ - 0
2120
+ - 0
2121
+ - 0
2122
+ - 0
2123
+ - 0
2124
+ - 0
2125
+ pin_memory: true
2126
+ use_preloaded_cache_train: true
2127
+ use_preloaded_cache_val: true
2128
+ persistent_workers: true
2129
+ use_cache: false
2130
+ cache_rate: 1.0
2131
+ use_lazy_zarr: false
2132
+ use_lazy_h5: false
2133
+ cached_sampling_max_attempts: 10
2134
+ cached_sampling_foreground_threshold: 0.0
2135
+ cached_sampling_crop_to_nonzero_mask: false
2136
+ cached_sampling_sample_nonzero_mask: false
2137
+ reject_sampling: null
2138
+ val_random_sampling: false
2139
+ data_transform:
2140
+ resize: null
2141
+ align_to_image: false
2142
+ binarize: false
2143
+ threshold: 0.0
2144
+ pad_size:
2145
+ - 0
2146
+ - 0
2147
+ - 0
2148
+ pad_mode: reflect
2149
+ stride:
2150
+ - 1
2151
+ - 1
2152
+ - 1
2153
+ train_transpose: []
2154
+ val_transpose: []
2155
+ target_spacing: null
2156
+ median_shape: null
2157
+ image_transform:
2158
+ transform_profile: null
2159
+ normalize: 0-1
2160
+ clip_percentile_low: 0.0
2161
+ clip_percentile_high: 1.0
2162
+ nnunet_preprocessing:
2163
+ enabled: false
2164
+ crop_to_nonzero: true
2165
+ target_spacing: null
2166
+ source_spacing: null
2167
+ normalization: zscore
2168
+ normalization_use_nonzero_mask: true
2169
+ clip_percentile_low: 0.0
2170
+ clip_percentile_high: 1.0
2171
+ force_separate_z: null
2172
+ anisotropy_threshold: 3.0
2173
+ image_order: 3
2174
+ label_order: 0
2175
+ order_z: 0
2176
+ restore_to_input_space: true
2177
+ mask_transform: null
2178
+ label_transform:
2179
+ normalize: true
2180
+ erosion: 0
2181
+ skeleton_distance:
2182
+ enabled: false
2183
+ resolution:
2184
+ - 1.0
2185
+ - 1.0
2186
+ - 1.0
2187
+ alpha: 0.8
2188
+ smooth: true
2189
+ bg_value: -1.0
2190
+ edge_mode:
2191
+ mode: all
2192
+ thickness: 1
2193
+ processing_mode: 2d
2194
+ keys:
2195
+ - label
2196
+ stack_outputs: true
2197
+ retain_original: false
2198
+ output_dtype: float32
2199
+ output_key_format: '{key}_{task}'
2200
+ allow_missing_keys: false
2201
+ relabel_connected_components: false
2202
+ relabel_connectivity: 6
2203
+ segment_id: null
2204
+ boundary_thickness: 1
2205
+ resolution: null
2206
+ cache_dir: ''
2207
+ targets: []
2208
+ augmentation:
2209
+ defect_mutex: false
2210
+ flip:
2211
+ enabled: false
2212
+ prob: 0.5
2213
+ spatial_axis:
2214
+ - 0
2215
+ - 1
2216
+ - 2
2217
+ axis_permute:
2218
+ enabled: false
2219
+ prob: 1.0
2220
+ include_identity: true
2221
+ rotate90_all:
2222
+ enabled: false
2223
+ prob: 1.0
2224
+ include_identity: true
2225
+ affine:
2226
+ enabled: false
2227
+ prob: 0.0
2228
+ rotate_range:
2229
+ - 0.0
2230
+ - 0.0
2231
+ - 0.0
2232
+ scale_range:
2233
+ - 0.0
2234
+ - 0.0
2235
+ - 0.0
2236
+ shear_range:
2237
+ - 0.0
2238
+ - 0.0
2239
+ - 0.0
2240
+ rotate:
2241
+ enabled: false
2242
+ prob: 0.5
2243
+ spatial_axes:
2244
+ - 1
2245
+ - 2
2246
+ elastic:
2247
+ enabled: false
2248
+ prob: 0.0
2249
+ sigma_range:
2250
+ - 3.0
2251
+ - 6.0
2252
+ magnitude_range:
2253
+ - 10.0
2254
+ - 20.0
2255
+ intensity:
2256
+ enabled: false
2257
+ gaussian_noise_prob: 0.5
2258
+ gaussian_noise_std: 0.1
2259
+ banis_style: false
2260
+ mul_add_prob: 0.0
2261
+ mul_range:
2262
+ - 0.9
2263
+ - 1.1
2264
+ add_range:
2265
+ - -0.1
2266
+ - 0.1
2267
+ shift_intensity_prob: 0.5
2268
+ shift_intensity_offset: 0.1
2269
+ contrast_prob: 0.5
2270
+ contrast_range:
2271
+ - 0.9
2272
+ - 1.1
2273
+ slice_shift:
2274
+ enabled: false
2275
+ prob: 0.0
2276
+ slice_prob: 0.05
2277
+ shift_magnitude: 10
2278
+ spatial_axis:
2279
+ - 0
2280
+ - 1
2281
+ - 2
2282
+ wrap: true
2283
+ slice_drop:
2284
+ enabled: false
2285
+ prob: 0.0
2286
+ slice_prob: 0.05
2287
+ spatial_axis:
2288
+ - 0
2289
+ - 1
2290
+ - 2
2291
+ fill_value: 0.0
2292
+ preserve_boundaries: false
2293
+ slice_shift_z:
2294
+ enabled: false
2295
+ prob: 0.0
2296
+ displacement: 16
2297
+ rotate_ratio: 0.0
2298
+ slice_drop_z:
2299
+ enabled: false
2300
+ prob: 0.0
2301
+ num_sections: 2
2302
+ full_section_prob: 0.5
2303
+ partial_ratio_range:
2304
+ - 0.25
2305
+ - 0.75
2306
+ fill_value_range:
2307
+ - 0.0
2308
+ - 1.0
2309
+ misalignment:
2310
+ enabled: false
2311
+ prob: 0.0
2312
+ displacement: 16
2313
+ rotate_ratio: 0.0
2314
+ missing_section:
2315
+ enabled: false
2316
+ prob: 0.0
2317
+ num_sections: 2
2318
+ full_section_prob: 0.5
2319
+ partial_ratio_range:
2320
+ - 0.25
2321
+ - 0.75
2322
+ fill_value_range:
2323
+ - 0.0
2324
+ - 1.0
2325
+ motion_blur:
2326
+ enabled: false
2327
+ prob: 0.0
2328
+ sections:
2329
+ - 1
2330
+ - 3
2331
+ kernel_size: 9
2332
+ sigma_range:
2333
+ - 1.0
2334
+ - 3.0
2335
+ full_section_prob: 0.5
2336
+ partial_ratio_range:
2337
+ - 0.25
2338
+ - 0.75
2339
+ cut_noise:
2340
+ enabled: false
2341
+ prob: 0.0
2342
+ length_ratio:
2343
+ - 0.1
2344
+ - 0.4
2345
+ noise_scale:
2346
+ - 0.05
2347
+ - 0.15
2348
+ cut_blur:
2349
+ enabled: false
2350
+ prob: 0.0
2351
+ length_ratio:
2352
+ - 0.1
2353
+ - 0.4
2354
+ down_ratio_range:
2355
+ - 2.0
2356
+ - 8.0
2357
+ downsample_z: false
2358
+ missing_parts:
2359
+ enabled: false
2360
+ prob: 0.0
2361
+ hole_range:
2362
+ - 8.0
2363
+ - 32.0
2364
+ stripe:
2365
+ enabled: false
2366
+ prob: 0.0
2367
+ num_stripes_range:
2368
+ - 1
2369
+ - 5
2370
+ thickness_range:
2371
+ - 1
2372
+ - 3
2373
+ intensity_range:
2374
+ - 0.7
2375
+ - 1.3
2376
+ angle_range:
2377
+ - -10.0
2378
+ - 10.0
2379
+ orientation: random
2380
+ mode: multiply
2381
+ mixup:
2382
+ enabled: false
2383
+ alpha: 0.2
2384
+ prob: 0.0
2385
+ alpha_range:
2386
+ - 0.1
2387
+ - 0.4
2388
+ copy_paste:
2389
+ enabled: false
2390
+ prob: 0.0
2391
+ max_obj_ratio: 0.05
2392
+ rotation_angles:
2393
+ - 0
2394
+ - 90
2395
+ - 180
2396
+ border: 8
2397
+ inference:
2398
+ model:
2399
+ head: null
2400
+ select_channel: null
2401
+ output_dtype: null
2402
+ activation_profile: null
2403
+ channel_activations: []
2404
+ crop_pad: null
2405
+ execution:
2406
+ strategy: whole_volume
2407
+ do_eval: true
2408
+ window:
2409
+ enabled: false
2410
+ window_size: null
2411
+ sw_batch_size: null
2412
+ overlap: 0.5
2413
+ blending: bump
2414
+ padding_mode: reflect
2415
+ cval: 0.0
2416
+ keep_input_on_cpu: false
2417
+ distributed_sharding: false
2418
+ distributed_reduce_chunk_mb: 128
2419
+ sw_device: null
2420
+ output_device: null
2421
+ snap_to_edge: false
2422
+ target_context: []
2423
+ border_mask: []
2424
+ chunking:
2425
+ enabled: false
2426
+ output_mode: decoded
2427
+ chunk_size: null
2428
+ halo:
2429
+ - 0
2430
+ - 0
2431
+ - 0
2432
+ axes: all
2433
+ temp_dir: ''
2434
+ save_intermediate: false
2435
+ stitching:
2436
+ method: affinity_cc_boundary_union
2437
+ threshold: null
2438
+ edge_offset: null
2439
+ min_contact: 1
2440
+ save_results: false
2441
+ save_path: ''
2442
+ save_cache_suffix: _x1_prediction.h5
2443
+ save_all_heads: false
2444
+ save_dtype: null
2445
+ save_backend: h5
2446
+ save_compression: gzip
2447
+ test_time_augmentation:
2448
+ enabled: false
2449
+ distributed_sharding: true
2450
+ distributed_reduce_chunk_mb: 128
2451
+ flip_axes: all
2452
+ flip_combinations: null
2453
+ rotation90_axes: null
2454
+ rotate90_k: null
2455
+ patch_first_local: true
2456
+ apply_mask: true
2457
+ transforms: null
2458
+ ensemble_mode: mean
2459
+ empty_cache_interval: 4
2460
+ load_tta_path: ''
2461
+ prediction_transform:
2462
+ enabled: false
2463
+ intensity_scale: -1.0
2464
+ intensity_dtype: null
2465
+ memory_cleanup:
2466
+ enabled: true
2467
+ gc_collect: true
2468
+ empty_cuda_cache: true
2469
+ release_model_after_inference: false
2470
+ system:
2471
+ profile: null
2472
+ num_gpus: -1
2473
+ num_workers: -1
2474
+ seed: 42
2475
+ decoding:
2476
+ enabled: true
2477
+ save_intermediate: false
2478
+ save_results: true
2479
+ save_path: ''
2480
+ save_suffix: ''
2481
+ steps: []
2482
+ postprocessing:
2483
+ enabled: false
2484
+ binary: {}
2485
+ instance_cc3d: null
2486
+ output_transpose: []
2487
+ load_prediction_path: ''
2488
+ affinity_mask_path: ''
2489
+ tuning: null
2490
+ evaluation:
2491
+ enabled: false
2492
+ metrics: null
2493
+ prediction_threshold: 0.5
2494
+ instance_iou_threshold: 0.5
2495
+ nerl_resolution: null
2496
+ nerl_merge_threshold: 1
2497
+ nerl_chunk_num: 1
2498
+ nerl_skeleton_id_attribute: id
2499
+ nerl_skeleton_position_attribute: index_position
2500
+ nerl_skeleton_edge_length_attribute: edge_length
2501
+ nerl_skeleton_position_order: xyz
2502
+ nerl_prediction_position_order: null
2503
+ tune: null