fjhorvath commited on
Commit
d24ca41
·
0 Parent(s):

CASIMIR v1.0.0

Browse files
.gitattributes ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ assets/casimir-overview.png filter=lfs diff=lfs merge=lfs -text
37
+ assets/casimir-overview-dark.png filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: casimir
4
+ pipeline_tag: image-segmentation
5
+ tags:
6
+ - medical-imaging
7
+ - mri
8
+ - whole-body
9
+ - segmentation
10
+ - nnunet
11
+ - pediatrics
12
+ ---
13
+
14
+ # CASIMIR: An Open Pediatric Model for Whole-Body T1-Weighted MRI Anatomy Segmentation
15
+
16
+ [![Code on GitHub](https://img.shields.io/badge/Code-GitHub-blue?style=for-the-badge)](https://github.com/fjhorvath/casimir) [![License](https://img.shields.io/badge/License-Apache--2.0-blue?style=for-the-badge)](https://huggingface.co/fjhorvath/casimir/blob/main/LICENSE)
17
+
18
+ CASIMIR (Child Anatomy Segmentation In MRI with Increased Robustness) is a 2D
19
+ [nnU-Net v2](https://github.com/MIC-DKFZ/nnUNet) model that segments six visceral organs and
20
+ seven skeletal structures in pediatric and young-adult whole-body T1-weighted MRI, paired
21
+ structures labeled by side. This repository holds the weights. The inference code is on
22
+ [GitHub](https://github.com/fjhorvath/casimir). The model and its evaluation are described
23
+ in a manuscript that is not yet published, see Citation.
24
+
25
+ <p align="center">
26
+ <img class="dark:hidden" src="assets/casimir-overview.png" width="560" alt="Four axial T1 slices with the CASIMIR overlay, mid thorax to lower leg, beside a whole-body rendering of CASIMIR output with each cutting plane marked, the lower legs from a second examination">
27
+ <img class="hidden dark:block mx-auto" src="assets/casimir-overview-dark.png" width="560" alt="Four axial T1 slices with the CASIMIR overlay, mid thorax to lower leg, beside a whole-body rendering of CASIMIR output with each cutting plane marked, the lower legs from a second examination">
28
+ </p>
29
+
30
+ ## Inference
31
+
32
+ ```bash
33
+ pip install git+https://github.com/fjhorvath/casimir.git@v1.0.0
34
+ casimir -i <nifti file or directory> -o <output directory>
35
+ ```
36
+
37
+ Add `--device cpu` if there is no NVIDIA GPU, or `--device mps` on Apple silicon.
38
+ `casimir --help` lists all flags. The weights are downloaded from here on the first run.
39
+ For offline use, set `CASIMIR_WEIGHTS_PATH` to a local copy.
40
+
41
+ The input is NIfTI, `.nii` or `.nii.gz`. The tested volumes were converted from DICOM with
42
+ dicom2nifti and reorientation disabled (`reorient_nifti=False`), which keeps the scanner's
43
+ axis order. nnU-Net reads the voxel array as stored, so a volume saved in another axis
44
+ order is untested.
45
+
46
+ The output is one label map per input, on the input grid and under the input filename,
47
+ with the voxel values listed below. One whole-body examination takes about 1.5 minutes on
48
+ an RTX 4090 or on an Apple M2 Pro with `--device mps`, and about 4 minutes on the M2 Pro
49
+ with `--device cpu`.
50
+
51
+ ## Files
52
+
53
+ `dataset.json` and `plans.json` are the nnU-Net v2.5 dataset descriptor and plans.
54
+ `fold_all/weights.pth` is the checkpoint, a single fold trained on all training cases, with
55
+ no ensemble. `LICENSE` is the Apache License 2.0.
56
+
57
+ ## Structures
58
+
59
+ The 13 structures give 20 labels, one per side for the paired ones:
60
+
61
+ | | | | |
62
+ |---|---|---|---|
63
+ | 1 fibula left | 2 fibula right | 3 femur left | 4 femur right |
64
+ | 5 tibia left | 6 tibia right | 7 spine | 8 liver |
65
+ | 9 lung left | 10 lung right | 11 sacrum | 12 spleen |
66
+ | 13 humerus left | 14 humerus right | 15 heart | 16 urinary bladder |
67
+ | 17 pelvis left | 18 pelvis right | 19 kidney left | 20 kidney right |
68
+
69
+ Background is `0`. The output is the raw argmax with no post-processing.
70
+
71
+ ## Intended use
72
+
73
+ CASIMIR is a research tool, not a medical device. Do not use its output for clinical
74
+ decisions.
75
+
76
+ It was trained and evaluated on contrast-enhanced axial fat-suppressed T1-weighted
77
+ gradient-echo whole-body MRI from a single 3-T PET/MR system, in patients aged 1 to 21
78
+ years with lymphoma or post-transplant lymphoproliferative disorder. External validation is
79
+ required to establish generalizability.
80
+
81
+ ## License
82
+
83
+ These weights and the inference code are released under the Apache License 2.0, see
84
+ `LICENSE`.
85
+
86
+ ## Citation
87
+
88
+ Until the manuscript is published, cite the software:
89
+
90
+ ```bibtex
91
+ @software{horvath2026casimir,
92
+ author = {Horvath, Felix J. and Barrow, Michael J. and Singh, Shashi B. and Lokesha, Yashas U. and Okpokpo, Darlene and Sivanandam, Sharanya and Gatidis, Sergios and Daldrup-Link, Heike E.},
93
+ title = {{CASIMIR}: An Open Pediatric Model for Whole-Body T1-Weighted {MRI} Anatomy Segmentation},
94
+ version = {1.0.0},
95
+ year = {2026},
96
+ url = {https://github.com/fjhorvath/casimir}
97
+ }
98
+ ```
99
+
100
+ CASIMIR is built on nnU-Net, please also cite
101
+ [Isensee et al. (2021)](https://doi.org/10.1038/s41592-020-01008-z).
102
+
103
+ ## Funding
104
+
105
+ This work was supported by a grant from the National Cancer Institute, grant number
106
+ R01 CA269231. Felix J. Horvath was supported by a travel grant from the Rolf W. Günther
107
+ Foundation for Radiological Sciences.
assets/casimir-overview-dark.png ADDED

Git LFS Details

  • SHA256: ea9d793a47ab974afedcb87a42ecb75d702d1f757e9d46fa2221e91ad59d211d
  • Pointer size: 131 Bytes
  • Size of remote file: 749 kB
assets/casimir-overview.png ADDED

Git LFS Details

  • SHA256: 0b33a4156000ddda09af6e61a5f330041f32308cf6e6b754e59d0a2ca9048123
  • Pointer size: 131 Bytes
  • Size of remote file: 734 kB
dataset.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "labels": {
3
+ "background": 0,
4
+ "fibulaLeft": 1,
5
+ "fibulaRight": 2,
6
+ "femurLeft": 3,
7
+ "femurRight": 4,
8
+ "tibiaLeft": 5,
9
+ "tibiaRight": 6,
10
+ "spine": 7,
11
+ "liver": 8,
12
+ "lungLeft": 9,
13
+ "lungRight": 10,
14
+ "sacrum": 11,
15
+ "spleen": 12,
16
+ "humerusLeft": 13,
17
+ "humerusRight": 14,
18
+ "heart": 15,
19
+ "urinaryBladder": 16,
20
+ "pelvisLeft": 17,
21
+ "pelvisRight": 18,
22
+ "kidneyLeft": 19,
23
+ "kidneyRight": 20
24
+ },
25
+ "channel_names": {
26
+ "0": "MRI_MISC"
27
+ },
28
+ "file_ending": ".nii.gz",
29
+ "name": "CASIMIR",
30
+ "description": "CASIMIR: 20-structure anatomical segmentation for whole-body T1-weighted MR."
31
+ }
fold_all/weights.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3857eb116c0f05ca814894f4863fce5ec48eab271f0f8f7837e6306732f049e7
3
+ size 132001110
plans.json ADDED
@@ -0,0 +1,444 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "CASIMIR",
3
+ "plans_name": "nnUNetPlans",
4
+ "original_median_spacing_after_transp": [
5
+ 3.125,
6
+ 2.7799999713897705,
7
+ 3.125
8
+ ],
9
+ "original_median_shape_after_transp": [
10
+ 192,
11
+ 502,
12
+ 192
13
+ ],
14
+ "image_reader_writer": "SimpleITKIO",
15
+ "transpose_forward": [
16
+ 1,
17
+ 0,
18
+ 2
19
+ ],
20
+ "transpose_backward": [
21
+ 1,
22
+ 0,
23
+ 2
24
+ ],
25
+ "configurations": {
26
+ "2d": {
27
+ "data_identifier": "nnUNetPlans_2d",
28
+ "preprocessor_name": "DefaultPreprocessor",
29
+ "batch_size": 31,
30
+ "patch_size": [
31
+ 512,
32
+ 192
33
+ ],
34
+ "median_image_size_in_voxels": [
35
+ 502.0,
36
+ 192.0
37
+ ],
38
+ "spacing": [
39
+ 2.7799999713897705,
40
+ 3.125
41
+ ],
42
+ "normalization_schemes": [
43
+ "ZScoreNormalization"
44
+ ],
45
+ "use_mask_for_norm": [
46
+ false
47
+ ],
48
+ "UNet_class_name": "PlainConvUNet",
49
+ "UNet_base_num_features": 32,
50
+ "n_conv_per_stage_encoder": [
51
+ 2,
52
+ 2,
53
+ 2,
54
+ 2,
55
+ 2,
56
+ 2,
57
+ 2
58
+ ],
59
+ "n_conv_per_stage_decoder": [
60
+ 2,
61
+ 2,
62
+ 2,
63
+ 2,
64
+ 2,
65
+ 2
66
+ ],
67
+ "num_pool_per_axis": [
68
+ 6,
69
+ 5
70
+ ],
71
+ "pool_op_kernel_sizes": [
72
+ [
73
+ 1,
74
+ 1
75
+ ],
76
+ [
77
+ 2,
78
+ 2
79
+ ],
80
+ [
81
+ 2,
82
+ 2
83
+ ],
84
+ [
85
+ 2,
86
+ 2
87
+ ],
88
+ [
89
+ 2,
90
+ 2
91
+ ],
92
+ [
93
+ 2,
94
+ 2
95
+ ],
96
+ [
97
+ 2,
98
+ 1
99
+ ]
100
+ ],
101
+ "conv_kernel_sizes": [
102
+ [
103
+ 3,
104
+ 3
105
+ ],
106
+ [
107
+ 3,
108
+ 3
109
+ ],
110
+ [
111
+ 3,
112
+ 3
113
+ ],
114
+ [
115
+ 3,
116
+ 3
117
+ ],
118
+ [
119
+ 3,
120
+ 3
121
+ ],
122
+ [
123
+ 3,
124
+ 3
125
+ ],
126
+ [
127
+ 3,
128
+ 3
129
+ ]
130
+ ],
131
+ "unet_max_num_features": 512,
132
+ "resampling_fn_data": "resample_data_or_seg_to_shape",
133
+ "resampling_fn_seg": "resample_data_or_seg_to_shape",
134
+ "resampling_fn_data_kwargs": {
135
+ "is_seg": false,
136
+ "order": 3,
137
+ "order_z": 0,
138
+ "force_separate_z": null
139
+ },
140
+ "resampling_fn_seg_kwargs": {
141
+ "is_seg": true,
142
+ "order": 1,
143
+ "order_z": 0,
144
+ "force_separate_z": null
145
+ },
146
+ "resampling_fn_probabilities": "resample_data_or_seg_to_shape",
147
+ "resampling_fn_probabilities_kwargs": {
148
+ "is_seg": false,
149
+ "order": 1,
150
+ "order_z": 0,
151
+ "force_separate_z": null
152
+ },
153
+ "batch_dice": true
154
+ },
155
+ "3d_lowres": {
156
+ "data_identifier": "nnUNetPlans_3d_lowres",
157
+ "preprocessor_name": "DefaultPreprocessor",
158
+ "batch_size": 2,
159
+ "patch_size": [
160
+ 96,
161
+ 256,
162
+ 96
163
+ ],
164
+ "median_image_size_in_voxels": [
165
+ 152,
166
+ 396,
167
+ 152
168
+ ],
169
+ "spacing": [
170
+ 3.9586565043363007,
171
+ 3.5216207900149907,
172
+ 3.9586565043363007
173
+ ],
174
+ "normalization_schemes": [
175
+ "ZScoreNormalization"
176
+ ],
177
+ "use_mask_for_norm": [
178
+ false
179
+ ],
180
+ "UNet_class_name": "PlainConvUNet",
181
+ "UNet_base_num_features": 32,
182
+ "n_conv_per_stage_encoder": [
183
+ 2,
184
+ 2,
185
+ 2,
186
+ 2,
187
+ 2,
188
+ 2
189
+ ],
190
+ "n_conv_per_stage_decoder": [
191
+ 2,
192
+ 2,
193
+ 2,
194
+ 2,
195
+ 2
196
+ ],
197
+ "num_pool_per_axis": [
198
+ 4,
199
+ 5,
200
+ 4
201
+ ],
202
+ "pool_op_kernel_sizes": [
203
+ [
204
+ 1,
205
+ 1,
206
+ 1
207
+ ],
208
+ [
209
+ 2,
210
+ 2,
211
+ 2
212
+ ],
213
+ [
214
+ 2,
215
+ 2,
216
+ 2
217
+ ],
218
+ [
219
+ 2,
220
+ 2,
221
+ 2
222
+ ],
223
+ [
224
+ 2,
225
+ 2,
226
+ 2
227
+ ],
228
+ [
229
+ 1,
230
+ 2,
231
+ 1
232
+ ]
233
+ ],
234
+ "conv_kernel_sizes": [
235
+ [
236
+ 3,
237
+ 3,
238
+ 3
239
+ ],
240
+ [
241
+ 3,
242
+ 3,
243
+ 3
244
+ ],
245
+ [
246
+ 3,
247
+ 3,
248
+ 3
249
+ ],
250
+ [
251
+ 3,
252
+ 3,
253
+ 3
254
+ ],
255
+ [
256
+ 3,
257
+ 3,
258
+ 3
259
+ ],
260
+ [
261
+ 3,
262
+ 3,
263
+ 3
264
+ ]
265
+ ],
266
+ "unet_max_num_features": 320,
267
+ "resampling_fn_data": "resample_data_or_seg_to_shape",
268
+ "resampling_fn_seg": "resample_data_or_seg_to_shape",
269
+ "resampling_fn_data_kwargs": {
270
+ "is_seg": false,
271
+ "order": 3,
272
+ "order_z": 0,
273
+ "force_separate_z": null
274
+ },
275
+ "resampling_fn_seg_kwargs": {
276
+ "is_seg": true,
277
+ "order": 1,
278
+ "order_z": 0,
279
+ "force_separate_z": null
280
+ },
281
+ "resampling_fn_probabilities": "resample_data_or_seg_to_shape",
282
+ "resampling_fn_probabilities_kwargs": {
283
+ "is_seg": false,
284
+ "order": 1,
285
+ "order_z": 0,
286
+ "force_separate_z": null
287
+ },
288
+ "batch_dice": false,
289
+ "next_stage": "3d_cascade_fullres"
290
+ },
291
+ "3d_fullres": {
292
+ "data_identifier": "nnUNetPlans_3d_fullres",
293
+ "preprocessor_name": "DefaultPreprocessor",
294
+ "batch_size": 2,
295
+ "patch_size": [
296
+ 96,
297
+ 256,
298
+ 96
299
+ ],
300
+ "median_image_size_in_voxels": [
301
+ 192.0,
302
+ 502.0,
303
+ 192.0
304
+ ],
305
+ "spacing": [
306
+ 3.125,
307
+ 2.7799999713897705,
308
+ 3.125
309
+ ],
310
+ "normalization_schemes": [
311
+ "ZScoreNormalization"
312
+ ],
313
+ "use_mask_for_norm": [
314
+ false
315
+ ],
316
+ "UNet_class_name": "PlainConvUNet",
317
+ "UNet_base_num_features": 32,
318
+ "n_conv_per_stage_encoder": [
319
+ 2,
320
+ 2,
321
+ 2,
322
+ 2,
323
+ 2,
324
+ 2
325
+ ],
326
+ "n_conv_per_stage_decoder": [
327
+ 2,
328
+ 2,
329
+ 2,
330
+ 2,
331
+ 2
332
+ ],
333
+ "num_pool_per_axis": [
334
+ 4,
335
+ 5,
336
+ 4
337
+ ],
338
+ "pool_op_kernel_sizes": [
339
+ [
340
+ 1,
341
+ 1,
342
+ 1
343
+ ],
344
+ [
345
+ 2,
346
+ 2,
347
+ 2
348
+ ],
349
+ [
350
+ 2,
351
+ 2,
352
+ 2
353
+ ],
354
+ [
355
+ 2,
356
+ 2,
357
+ 2
358
+ ],
359
+ [
360
+ 2,
361
+ 2,
362
+ 2
363
+ ],
364
+ [
365
+ 1,
366
+ 2,
367
+ 1
368
+ ]
369
+ ],
370
+ "conv_kernel_sizes": [
371
+ [
372
+ 3,
373
+ 3,
374
+ 3
375
+ ],
376
+ [
377
+ 3,
378
+ 3,
379
+ 3
380
+ ],
381
+ [
382
+ 3,
383
+ 3,
384
+ 3
385
+ ],
386
+ [
387
+ 3,
388
+ 3,
389
+ 3
390
+ ],
391
+ [
392
+ 3,
393
+ 3,
394
+ 3
395
+ ],
396
+ [
397
+ 3,
398
+ 3,
399
+ 3
400
+ ]
401
+ ],
402
+ "unet_max_num_features": 320,
403
+ "resampling_fn_data": "resample_data_or_seg_to_shape",
404
+ "resampling_fn_seg": "resample_data_or_seg_to_shape",
405
+ "resampling_fn_data_kwargs": {
406
+ "is_seg": false,
407
+ "order": 3,
408
+ "order_z": 0,
409
+ "force_separate_z": null
410
+ },
411
+ "resampling_fn_seg_kwargs": {
412
+ "is_seg": true,
413
+ "order": 1,
414
+ "order_z": 0,
415
+ "force_separate_z": null
416
+ },
417
+ "resampling_fn_probabilities": "resample_data_or_seg_to_shape",
418
+ "resampling_fn_probabilities_kwargs": {
419
+ "is_seg": false,
420
+ "order": 1,
421
+ "order_z": 0,
422
+ "force_separate_z": null
423
+ },
424
+ "batch_dice": true
425
+ },
426
+ "3d_cascade_fullres": {
427
+ "inherits_from": "3d_fullres",
428
+ "previous_stage": "3d_lowres"
429
+ }
430
+ },
431
+ "experiment_planner_used": "ExperimentPlanner",
432
+ "label_manager": "LabelManager",
433
+ "foreground_intensity_properties_per_channel": {
434
+ "0": {
435
+ "max": 25679.919921875,
436
+ "mean": 1666.6654052734375,
437
+ "median": 1190.96826171875,
438
+ "min": -1024.0,
439
+ "percentile_00_5": 32.4058449935913,
440
+ "percentile_99_5": 7503.36279296875,
441
+ "std": 1601.2423095703125
442
+ }
443
+ }
444
+ }