nnInteractive 2.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. nnInteractive/__init__.py +3 -0
  2. nnInteractive/inference/__init__.py +0 -0
  3. nnInteractive/inference/cvpr2025_challenge_baseline/__init__.py +0 -0
  4. nnInteractive/inference/cvpr2025_challenge_baseline/predict.py +173 -0
  5. nnInteractive/inference/inference_session.py +1400 -0
  6. nnInteractive/interaction/__init__.py +0 -0
  7. nnInteractive/interaction/point.py +166 -0
  8. nnInteractive/supervoxel/setup.py +4 -0
  9. nnInteractive/supervoxel/src/metadata.py +118 -0
  10. nnInteractive/supervoxel/src/reader.py +175 -0
  11. nnInteractive/supervoxel/src/run.py +136 -0
  12. nnInteractive/supervoxel/src/sam2/__init__.py +2 -0
  13. nnInteractive/supervoxel/src/sam2/sam2/__init__.py +11 -0
  14. nnInteractive/supervoxel/src/sam2/sam2/automatic_mask_generator.py +434 -0
  15. nnInteractive/supervoxel/src/sam2/sam2/benchmark.py +86 -0
  16. nnInteractive/supervoxel/src/sam2/sam2/build_sam.py +172 -0
  17. nnInteractive/supervoxel/src/sam2/sam2/modeling/__init__.py +5 -0
  18. nnInteractive/supervoxel/src/sam2/sam2/modeling/backbones/__init__.py +5 -0
  19. nnInteractive/supervoxel/src/sam2/sam2/modeling/backbones/hieradet.py +305 -0
  20. nnInteractive/supervoxel/src/sam2/sam2/modeling/backbones/image_encoder.py +132 -0
  21. nnInteractive/supervoxel/src/sam2/sam2/modeling/backbones/utils.py +89 -0
  22. nnInteractive/supervoxel/src/sam2/sam2/modeling/memory_attention.py +167 -0
  23. nnInteractive/supervoxel/src/sam2/sam2/modeling/memory_encoder.py +179 -0
  24. nnInteractive/supervoxel/src/sam2/sam2/modeling/position_encoding.py +217 -0
  25. nnInteractive/supervoxel/src/sam2/sam2/modeling/sam/__init__.py +5 -0
  26. nnInteractive/supervoxel/src/sam2/sam2/modeling/sam/mask_decoder.py +274 -0
  27. nnInteractive/supervoxel/src/sam2/sam2/modeling/sam/prompt_encoder.py +194 -0
  28. nnInteractive/supervoxel/src/sam2/sam2/modeling/sam/transformer.py +293 -0
  29. nnInteractive/supervoxel/src/sam2/sam2/modeling/sam2_base.py +879 -0
  30. nnInteractive/supervoxel/src/sam2/sam2/modeling/sam2_utils.py +315 -0
  31. nnInteractive/supervoxel/src/sam2/sam2/sam2_image_predictor.py +433 -0
  32. nnInteractive/supervoxel/src/sam2/sam2/sam2_video_predictor.py +1171 -0
  33. nnInteractive/supervoxel/src/sam2/sam2/sam2_video_predictor_legacy.py +1125 -0
  34. nnInteractive/supervoxel/src/sam2/sam2/utils/__init__.py +5 -0
  35. nnInteractive/supervoxel/src/sam2/sam2/utils/amg.py +332 -0
  36. nnInteractive/supervoxel/src/sam2/sam2/utils/misc.py +488 -0
  37. nnInteractive/supervoxel/src/sam2/sam2/utils/transforms.py +108 -0
  38. nnInteractive/supervoxel/src/sam2/setup.py +174 -0
  39. nnInteractive/supervoxel/src/sam2/training/__init__.py +5 -0
  40. nnInteractive/supervoxel/src/sam2/training/dataset/__init__.py +5 -0
  41. nnInteractive/supervoxel/src/sam2/training/dataset/sam2_datasets.py +176 -0
  42. nnInteractive/supervoxel/src/sam2/training/dataset/transforms.py +481 -0
  43. nnInteractive/supervoxel/src/sam2/training/dataset/utils.py +102 -0
  44. nnInteractive/supervoxel/src/sam2/training/dataset/vos_dataset.py +154 -0
  45. nnInteractive/supervoxel/src/sam2/training/dataset/vos_raw_dataset.py +290 -0
  46. nnInteractive/supervoxel/src/sam2/training/dataset/vos_sampler.py +103 -0
  47. nnInteractive/supervoxel/src/sam2/training/dataset/vos_segment_loader.py +289 -0
  48. nnInteractive/supervoxel/src/sam2/training/loss_fns.py +290 -0
  49. nnInteractive/supervoxel/src/sam2/training/model/__init__.py +5 -0
  50. nnInteractive/supervoxel/src/sam2/training/model/sam2.py +515 -0
  51. nnInteractive/supervoxel/src/sam2/training/optimizer.py +462 -0
  52. nnInteractive/supervoxel/src/sam2/training/scripts/sav_frame_extraction_submitit.py +157 -0
  53. nnInteractive/supervoxel/src/sam2/training/train.py +232 -0
  54. nnInteractive/supervoxel/src/sam2/training/trainer.py +1051 -0
  55. nnInteractive/supervoxel/src/sam2/training/utils/__init__.py +5 -0
  56. nnInteractive/supervoxel/src/sam2/training/utils/checkpoint_utils.py +328 -0
  57. nnInteractive/supervoxel/src/sam2/training/utils/data_utils.py +166 -0
  58. nnInteractive/supervoxel/src/sam2/training/utils/distributed.py +560 -0
  59. nnInteractive/supervoxel/src/sam2/training/utils/logger.py +236 -0
  60. nnInteractive/supervoxel/src/sam2/training/utils/train_utils.py +275 -0
  61. nnInteractive/supervoxel/src/supervoxel.py +198 -0
  62. nnInteractive/trainer/__init__.py +0 -0
  63. nnInteractive/trainer/nnInteractiveTrainer.py +24 -0
  64. nnInteractive/utils/__init__.py +0 -0
  65. nnInteractive/utils/bboxes.py +217 -0
  66. nnInteractive/utils/checkpoint_cleansing.py +9 -0
  67. nnInteractive/utils/crop.py +268 -0
  68. nnInteractive/utils/erosion_dilation.py +48 -0
  69. nnInteractive/utils/inference_helpers.py +45 -0
  70. nnInteractive/utils/os_shennanigans.py +16 -0
  71. nnInteractive/utils/rounding.py +13 -0
  72. nninteractive-2.0.0.dist-info/METADATA +511 -0
  73. nninteractive-2.0.0.dist-info/RECORD +76 -0
  74. nninteractive-2.0.0.dist-info/WHEEL +5 -0
  75. nninteractive-2.0.0.dist-info/licenses/LICENSE +201 -0
  76. nninteractive-2.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,511 @@
1
+ Metadata-Version: 2.4
2
+ Name: nnInteractive
3
+ Version: 2.0.0
4
+ Summary: Inference code for nnInteractive
5
+ Author: Helmholtz Imaging Applied Computer Vision Lab
6
+ Author-email: Fabian Isensee <f.isensee@dkfz-heidelberg.de>
7
+ License: Apache License
8
+ Version 2.0, January 2004
9
+ http://www.apache.org/licenses/
10
+
11
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
12
+
13
+ 1. Definitions.
14
+
15
+ "License" shall mean the terms and conditions for use, reproduction,
16
+ and distribution as defined by Sections 1 through 9 of this document.
17
+
18
+ "Licensor" shall mean the copyright owner or entity authorized by
19
+ the copyright owner that is granting the License.
20
+
21
+ "Legal Entity" shall mean the union of the acting entity and all
22
+ other entities that control, are controlled by, or are under common
23
+ control with that entity. For the purposes of this definition,
24
+ "control" means (i) the power, direct or indirect, to cause the
25
+ direction or management of such entity, whether by contract or
26
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
27
+ outstanding shares, or (iii) beneficial ownership of such entity.
28
+
29
+ "You" (or "Your") shall mean an individual or Legal Entity
30
+ exercising permissions granted by this License.
31
+
32
+ "Source" form shall mean the preferred form for making modifications,
33
+ including but not limited to software source code, documentation
34
+ source, and configuration files.
35
+
36
+ "Object" form shall mean any form resulting from mechanical
37
+ transformation or translation of a Source form, including but
38
+ not limited to compiled object code, generated documentation,
39
+ and conversions to other media types.
40
+
41
+ "Work" shall mean the work of authorship, whether in Source or
42
+ Object form, made available under the License, as indicated by a
43
+ copyright notice that is included in or attached to the work
44
+ (an example is provided in the Appendix below).
45
+
46
+ "Derivative Works" shall mean any work, whether in Source or Object
47
+ form, that is based on (or derived from) the Work and for which the
48
+ editorial revisions, annotations, elaborations, or other modifications
49
+ represent, as a whole, an original work of authorship. For the purposes
50
+ of this License, Derivative Works shall not include works that remain
51
+ separable from, or merely link (or bind by name) to the interfaces of,
52
+ the Work and Derivative Works thereof.
53
+
54
+ "Contribution" shall mean any work of authorship, including
55
+ the original version of the Work and any modifications or additions
56
+ to that Work or Derivative Works thereof, that is intentionally
57
+ submitted to Licensor for inclusion in the Work by the copyright owner
58
+ or by an individual or Legal Entity authorized to submit on behalf of
59
+ the copyright owner. For the purposes of this definition, "submitted"
60
+ means any form of electronic, verbal, or written communication sent
61
+ to the Licensor or its representatives, including but not limited to
62
+ communication on electronic mailing lists, source code control systems,
63
+ and issue tracking systems that are managed by, or on behalf of, the
64
+ Licensor for the purpose of discussing and improving the Work, but
65
+ excluding communication that is conspicuously marked or otherwise
66
+ designated in writing by the copyright owner as "Not a Contribution."
67
+
68
+ "Contributor" shall mean Licensor and any individual or Legal Entity
69
+ on behalf of whom a Contribution has been received by Licensor and
70
+ subsequently incorporated within the Work.
71
+
72
+ 2. Grant of Copyright License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ copyright license to reproduce, prepare Derivative Works of,
76
+ publicly display, publicly perform, sublicense, and distribute the
77
+ Work and such Derivative Works in Source or Object form.
78
+
79
+ 3. Grant of Patent License. Subject to the terms and conditions of
80
+ this License, each Contributor hereby grants to You a perpetual,
81
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
82
+ (except as stated in this section) patent license to make, have made,
83
+ use, offer to sell, sell, import, and otherwise transfer the Work,
84
+ where such license applies only to those patent claims licensable
85
+ by such Contributor that are necessarily infringed by their
86
+ Contribution(s) alone or by combination of their Contribution(s)
87
+ with the Work to which such Contribution(s) was submitted. If You
88
+ institute patent litigation against any entity (including a
89
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
90
+ or a Contribution incorporated within the Work constitutes direct
91
+ or contributory patent infringement, then any patent licenses
92
+ granted to You under this License for that Work shall terminate
93
+ as of the date such litigation is filed.
94
+
95
+ 4. Redistribution. You may reproduce and distribute copies of the
96
+ Work or Derivative Works thereof in any medium, with or without
97
+ modifications, and in Source or Object form, provided that You
98
+ meet the following conditions:
99
+
100
+ (a) You must give any other recipients of the Work or
101
+ Derivative Works a copy of this License; and
102
+
103
+ (b) You must cause any modified files to carry prominent notices
104
+ stating that You changed the files; and
105
+
106
+ (c) You must retain, in the Source form of any Derivative Works
107
+ that You distribute, all copyright, patent, trademark, and
108
+ attribution notices from the Source form of the Work,
109
+ excluding those notices that do not pertain to any part of
110
+ the Derivative Works; and
111
+
112
+ (d) If the Work includes a "NOTICE" text file as part of its
113
+ distribution, then any Derivative Works that You distribute must
114
+ include a readable copy of the attribution notices contained
115
+ within such NOTICE file, excluding those notices that do not
116
+ pertain to any part of the Derivative Works, in at least one
117
+ of the following places: within a NOTICE text file distributed
118
+ as part of the Derivative Works; within the Source form or
119
+ documentation, if provided along with the Derivative Works; or,
120
+ within a display generated by the Derivative Works, if and
121
+ wherever such third-party notices normally appear. The contents
122
+ of the NOTICE file are for informational purposes only and
123
+ do not modify the License. You may add Your own attribution
124
+ notices within Derivative Works that You distribute, alongside
125
+ or as an addendum to the NOTICE text from the Work, provided
126
+ that such additional attribution notices cannot be construed
127
+ as modifying the License.
128
+
129
+ You may add Your own copyright statement to Your modifications and
130
+ may provide additional or different license terms and conditions
131
+ for use, reproduction, or distribution of Your modifications, or
132
+ for any such Derivative Works as a whole, provided Your use,
133
+ reproduction, and distribution of the Work otherwise complies with
134
+ the conditions stated in this License.
135
+
136
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
137
+ any Contribution intentionally submitted for inclusion in the Work
138
+ by You to the Licensor shall be under the terms and conditions of
139
+ this License, without any additional terms or conditions.
140
+ Notwithstanding the above, nothing herein shall supersede or modify
141
+ the terms of any separate license agreement you may have executed
142
+ with Licensor regarding such Contributions.
143
+
144
+ 6. Trademarks. This License does not grant permission to use the trade
145
+ names, trademarks, service marks, or product names of the Licensor,
146
+ except as required for reasonable and customary use in describing the
147
+ origin of the Work and reproducing the content of the NOTICE file.
148
+
149
+ 7. Disclaimer of Warranty. Unless required by applicable law or
150
+ agreed to in writing, Licensor provides the Work (and each
151
+ Contributor provides its Contributions) on an "AS IS" BASIS,
152
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
153
+ implied, including, without limitation, any warranties or conditions
154
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
155
+ PARTICULAR PURPOSE. You are solely responsible for determining the
156
+ appropriateness of using or redistributing the Work and assume any
157
+ risks associated with Your exercise of permissions under this License.
158
+
159
+ 8. Limitation of Liability. In no event and under no legal theory,
160
+ whether in tort (including negligence), contract, or otherwise,
161
+ unless required by applicable law (such as deliberate and grossly
162
+ negligent acts) or agreed to in writing, shall any Contributor be
163
+ liable to You for damages, including any direct, indirect, special,
164
+ incidental, or consequential damages of any character arising as a
165
+ result of this License or out of the use or inability to use the
166
+ Work (including but not limited to damages for loss of goodwill,
167
+ work stoppage, computer failure or malfunction, or any and all
168
+ other commercial damages or losses), even if such Contributor
169
+ has been advised of the possibility of such damages.
170
+
171
+ 9. Accepting Warranty or Additional Liability. While redistributing
172
+ the Work or Derivative Works thereof, You may choose to offer,
173
+ and charge a fee for, acceptance of support, warranty, indemnity,
174
+ or other liability obligations and/or rights consistent with this
175
+ License. However, in accepting such obligations, You may act only
176
+ on Your own behalf and on Your sole responsibility, not on behalf
177
+ of any other Contributor, and only if You agree to indemnify,
178
+ defend, and hold each Contributor harmless for any liability
179
+ incurred by, or claims asserted against, such Contributor by reason
180
+ of your accepting any such warranty or additional liability.
181
+
182
+ END OF TERMS AND CONDITIONS
183
+
184
+ APPENDIX: How to apply the Apache License to your work.
185
+
186
+ To apply the Apache License to your work, attach the following
187
+ boilerplate notice, with the fields enclosed by brackets "[]"
188
+ replaced with your own identifying information. (Don't include
189
+ the brackets!) The text should be enclosed in the appropriate
190
+ comment syntax for the file format. We also recommend that a
191
+ file or class name and description of purpose be included on the
192
+ same "printed page" as the copyright notice for easier
193
+ identification within third-party archives.
194
+
195
+ Copyright [2019] [Division of Medical Image Computing, German Cancer Research Center (DKFZ), Heidelberg, Germany]
196
+
197
+ Licensed under the Apache License, Version 2.0 (the "License");
198
+ you may not use this file except in compliance with the License.
199
+ You may obtain a copy of the License at
200
+
201
+ http://www.apache.org/licenses/LICENSE-2.0
202
+
203
+ Unless required by applicable law or agreed to in writing, software
204
+ distributed under the License is distributed on an "AS IS" BASIS,
205
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
206
+ See the License for the specific language governing permissions and
207
+ limitations under the License.
208
+ Project-URL: homepage, https://github.com/MIC-DKFZ/nnInteractive
209
+ Keywords: deep learning,image segmentation,semantic segmentation,medical image analysis,medical image segmentation,nnU-Net,nnunet
210
+ Classifier: Development Status :: 5 - Production/Stable
211
+ Classifier: Intended Audience :: Developers
212
+ Classifier: Intended Audience :: Science/Research
213
+ Classifier: Intended Audience :: Healthcare Industry
214
+ Classifier: Programming Language :: Python :: 3
215
+ Classifier: License :: OSI Approved :: Apache Software License
216
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
217
+ Classifier: Topic :: Scientific/Engineering :: Image Recognition
218
+ Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
219
+ Requires-Python: >=3.10
220
+ Description-Content-Type: text/markdown
221
+ License-File: LICENSE
222
+ Requires-Dist: nnunetv2>=2.7.0
223
+ Requires-Dist: torch!=2.9.*,>=2.1.2
224
+ Requires-Dist: acvl-utils<0.3,>=0.2.3
225
+ Requires-Dist: batchgenerators>=0.25.1
226
+ Provides-Extra: dev
227
+ Requires-Dist: black; extra == "dev"
228
+ Requires-Dist: ruff; extra == "dev"
229
+ Requires-Dist: pre-commit; extra == "dev"
230
+ Dynamic: license-file
231
+
232
+ <img src="imgs/nnInteractive_header_white.png">
233
+
234
+
235
+ # Python backend for `nnInteractive: Redefining 3D Promptable Segmentation`
236
+
237
+ This repository provides the official Python backend for `nnInteractive`, a state-of-the-art framework for 3D promptable segmentation. It is designed for seamless integration into Python-based workflows—ideal for researchers, developers, and power users working directly with code.
238
+
239
+ `nnInteractive` is also available through graphical viewers (GUI) for those who prefer a visual workflow.
240
+
241
+ ### Recommended integrations (developed and maintained by our team)
242
+
243
+ <div align="center">
244
+
245
+ | **<div align="center">[napari plugin](https://github.com/MIC-DKFZ/napari-nninteractive)</div>** | **<div align="center">[MITK integration](https://www.mitk.org/)</div>** |
246
+ |-------------------|----------------------|
247
+ | [<img src="imgs/Logos/napari.jpg" height="200">](https://github.com/MIC-DKFZ/napari-nninteractive) | [<img src="imgs/Logos/mitk.jpg" height="200">](https://www.mitk.org/) |
248
+
249
+ </div>
250
+
251
+ ### Community-driven integrations
252
+
253
+ Huge thanks to the community for contributing these integrations!
254
+
255
+ <div align="center">
256
+
257
+ | **<div align="center">[3D Slicer extension](https://github.com/coendevente/SlicerNNInteractive)</div>** | **<div align="center">[ITK-SNAP extension](https://itksnap-dls.readthedocs.io/en/latest/quick_start.html)</div>** | **<div align="center">[OHIF integration](https://github.com/CCI-Bonn/OHIF-AI)</div>** |
258
+ |-------------------------|-------------------------|-------------------------|
259
+ | [<img src="imgs/Logos/3DSlicer.png" height="200">](https://github.com/coendevente/SlicerNNInteractive) | [<img src="imgs/Logos/snaplogo_sq.png" height="200">](https://itksnap-dls.readthedocs.io/en/latest/quick_start.html) | [<img src="imgs/Logos/ohif.png" height="200">](https://github.com/CCI-Bonn/OHIF-AI) |
260
+
261
+ </div>
262
+
263
+
264
+ ## 📰 News
265
+
266
+ - **11/2025**: 🌐 New community driven **OHIF integration** released by our colleagues at [CCI Bonn](https://ccibonn.ai/). Try nnInteractive directly in OHIF 👉 [OHIF-AI](https://github.com/CCI-Bonn/OHIF-AI)
267
+ - **07/2025**: 🧩 New ITK-SNAP extension released! Try nnInteractive directly in ITK-SNAP 👉 [Quick Start](https://itksnap-dls.readthedocs.io/en/latest/quick_start.html)
268
+ - **06/2025**: 🏆 We’re thrilled to announce that `nnInteractive` **won the 1st place** in the [CVPR 2025 Challenge on Interactive 3D Segmentation](https://www.codabench.org/competitions/5263/). Huge shoutout to the organizers and all contributors!
269
+ - **05/2025**: `nnInteractive` presents an official baseline at CVPR 2025 in the _Foundation Models for Interactive 3D Biomedical Image Segmentation Challenge_ ([Codabench link](https://www.codabench.org/competitions/5263/)) → see [`nnInteractive/inference/cvpr2025_challenge_baseline`](nnInteractive/inference/cvpr2025_challenge_baseline)
270
+ - **04/2025**: 🎉 The community contributed a 3D Slicer integration – thank you! 👉 [SlicerNNInteractive](https://github.com/coendevente/SlicerNNInteractive)
271
+ - **03/2025**: 🚀 `nnInteractive` launched with native support for napari and MITK
272
+
273
+ ---
274
+
275
+ ## What is nnInteractive?
276
+
277
+ > Isensee, F.\*, Rokuss, M.\*, Krämer, L.\*, Dinkelacker, S., Ravindran, A., Stritzke, F., Hamm, B., Wald, T., Langenberg, M., Ulrich, C., Deissler, J., Floca, R., & Maier-Hein, K. (2025). nnInteractive: Redefining 3D Promptable Segmentation. https://arxiv.org/abs/2503.08373 \
278
+ > *: equal contribution
279
+
280
+ Link: [![arXiv](https://img.shields.io/badge/arXiv-2503.08373-b31b1b.svg)](https://arxiv.org/abs/2503.08373)
281
+
282
+
283
+ ##### Abstract:
284
+
285
+ Accurate and efficient 3D segmentation is essential for both clinical and research applications. While foundation
286
+ models like SAM have revolutionized interactive segmentation, their 2D design and domain shift limitations make them
287
+ ill-suited for 3D medical images. Current adaptations address some of these challenges but remain limited, either
288
+ lacking volumetric awareness, offering restricted interactivity, or supporting only a small set of structures and
289
+ modalities. Usability also remains a challenge, as current tools are rarely integrated into established imaging
290
+ platforms and often rely on cumbersome web-based interfaces with restricted functionality. We introduce nnInteractive,
291
+ the first comprehensive 3D interactive open-set segmentation method. It supports diverse prompts—including points,
292
+ scribbles, boxes, and a novel lasso prompt—while leveraging intuitive 2D interactions to generate full 3D
293
+ segmentations. Trained on 120+ diverse volumetric 3D datasets (CT, MRI, PET, 3D Microscopy, etc.), nnInteractive
294
+ sets a new state-of-the-art in accuracy, adaptability, and usability. Crucially, it is the first method integrated
295
+ into widely used image viewers (e.g., Napari, MITK), ensuring broad accessibility for real-world clinical and research
296
+ applications. Extensive benchmarking demonstrates that nnInteractive far surpasses existing methods, setting a new
297
+ standard for AI-driven interactive 3D segmentation.
298
+
299
+ <img src="imgs/figure1_method.png" width="1200">
300
+
301
+
302
+ ## Installation
303
+
304
+ ### Prerequisites
305
+
306
+ You need a Linux or Windows computer with a Nvidia GPU. 10GB of VRAM is recommended. Small objects should work with \<6GB.
307
+
308
+ ##### 1. Create a virtual environment:
309
+
310
+ nnInteractive supports Python 3.10+ and works with Conda, pip, or any other virtual environment. Here’s an example using Conda:
311
+
312
+ ```
313
+ conda create -n nnInteractive python=3.12
314
+ conda activate nnInteractive
315
+ ```
316
+
317
+ ##### 2. Install the correct PyTorch for your system
318
+
319
+ Go to the [PyTorch homepage](https://pytorch.org/get-started/locally/) and pick the right configuration.
320
+ Note that since recently PyTorch needs to be installed via pip. This is fine to do within your conda environment.
321
+
322
+ For Ubuntu with a Nvidia GPU, pick 'stable', 'Linux', 'Pip', 'Python', 'CUDA12.6' (if all drivers are up to date, otherwise use and older version):
323
+
324
+ ```
325
+ pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126
326
+ ```
327
+
328
+ ##### 3. Install this repository
329
+ Either install via pip:
330
+ `pip install nninteractive`
331
+
332
+ Or clone and install this repository:
333
+ ```bash
334
+ git clone https://github.com/MIC-DKFZ/nnInteractive
335
+ cd nnInteractive
336
+ pip install -e .
337
+ ```
338
+
339
+ ## Getting Started
340
+ Here is a minimalistic script that covers the core functionality of nnInteractive:
341
+
342
+ ```python
343
+ import os
344
+ import torch
345
+ import SimpleITK as sitk
346
+ from huggingface_hub import snapshot_download # Install huggingface_hub if not already installed
347
+
348
+ # --- Download Trained Model Weights (~400MB) ---
349
+ # License reminder: The official nnInteractive checkpoint is licensed under
350
+ # Creative Commons Attribution Non Commercial Share Alike 4.0 (CC BY-NC-SA 4.0).
351
+ # See the License section of this readme!.
352
+ REPO_ID = "nnInteractive/nnInteractive"
353
+ MODEL_NAME = "nnInteractive_v1.0" # Updated models may be available in the future
354
+ DOWNLOAD_DIR = "/home/isensee/temp" # Specify the download directory
355
+
356
+ download_path = snapshot_download(
357
+ repo_id=REPO_ID,
358
+ allow_patterns=[f"{MODEL_NAME}/*"],
359
+ local_dir=DOWNLOAD_DIR
360
+ )
361
+
362
+ # The model is now stored in DOWNLOAD_DIR/MODEL_NAME.
363
+
364
+ # --- Initialize Inference Session ---
365
+ from nnInteractive.inference.inference_session import nnInteractiveInferenceSession
366
+
367
+ session = nnInteractiveInferenceSession(
368
+ device=torch.device("cuda:0"), # Set inference device
369
+ use_torch_compile=False, # Experimental: Not tested yet
370
+ verbose=False,
371
+ torch_n_threads=os.cpu_count(), # Use available CPU cores
372
+ do_autozoom=True, # Enables AutoZoom for better patching
373
+ )
374
+
375
+ # Load the trained model
376
+ model_path = os.path.join(DOWNLOAD_DIR, MODEL_NAME)
377
+ session.initialize_from_trained_model_folder(model_path)
378
+
379
+ # --- Load Input Image (Example with SimpleITK) ---
380
+ # DO NOT preprocess the image in any way. Give it to nnInteractive as it is! DO NOT apply level window, DO NOT normalize
381
+ # intensities and never ever convert an image with higher precision (float32, uint16, etc) to uint8!
382
+ # The ONLY instance where some preprocesing makes sense is if your original image is too large to be reasonably used.
383
+ # This may be the case, for example, for some microCT images. In this case you can consider downsampling.
384
+ input_image = sitk.ReadImage("FILENAME")
385
+ img = sitk.GetArrayFromImage(input_image)[None] # Ensure shape (1, x, y, z)
386
+
387
+ # Validate input dimensions
388
+ if img.ndim != 4:
389
+ raise ValueError("Input image must be 4D with shape (1, x, y, z)")
390
+
391
+ session.set_image(img)
392
+
393
+ # --- Define Output Buffer ---
394
+ target_tensor = torch.zeros(img.shape[1:], dtype=torch.uint8) # Must be 3D (x, y, z)
395
+ session.set_target_buffer(target_tensor)
396
+
397
+ # --- Interacting with the Model ---
398
+ # Interactions can be freely chained and mixed in any order. Each interaction refines the segmentation.
399
+ # The model updates the segmentation mask in the target buffer after every interaction.
400
+
401
+ # Example: Add a **positive** point interaction
402
+ # POINT_COORDINATES should be a tuple (x, y, z) specifying the point location.
403
+ session.add_point_interaction(POINT_COORDINATES, include_interaction=True)
404
+
405
+ # Example: Add a **negative** point interaction
406
+ # To make any interaction negative set include_interaction=False
407
+ session.add_point_interaction(POINT_COORDINATES, include_interaction=False)
408
+
409
+ # Example: Add a bounding box interaction
410
+ # BBOX_COORDINATES must be specified as [[x1, x2], [y1, y2], [z1, z2]] (half-open intervals).
411
+ # Note: nnInteractive pre-trained models currently only support **2D bounding boxes**.
412
+ # This means that **one dimension must be [d, d+1]** to indicate a single slice.
413
+
414
+ # Example of a 2D bounding box in the axial plane (XY slice at depth Z)
415
+ # BBOX_COORDINATES = [[30, 80], [40, 100], [10, 11]] # X: 30-80, Y: 40-100, Z: slice 10
416
+
417
+ session.add_bbox_interaction(BBOX_COORDINATES, include_interaction=True)
418
+
419
+ # Example: Add a scribble interaction
420
+ # - A 3D image of the same shape as img where one slice (any axis-aligned orientation) contains a hand-drawn scribble.
421
+ # - Background must be 0, and scribble must be 1.
422
+ # - Use session.preferred_scribble_thickness for optimal results.
423
+ session.add_scribble_interaction(SCRIBBLE_IMAGE, include_interaction=True)
424
+
425
+ # Example: Add a lasso interaction
426
+ # - Similarly to scribble a 3D image with a single slice containing a **closed contour** representing the selection.
427
+ session.add_lasso_interaction(LASSO_IMAGE, include_interaction=True)
428
+
429
+ # You can combine any number of interactions as needed.
430
+ # The model refines the segmentation result incrementally with each new interaction.
431
+
432
+ # --- Retrieve Results ---
433
+ # The target buffer holds the segmentation result.
434
+ results = session.target_buffer.clone()
435
+ # OR (equivalent)
436
+ results = target_tensor.clone()
437
+
438
+ # Cloning is required because the buffer will be **reused** for the next object.
439
+ # Alternatively, set a new target buffer for each object:
440
+ session.set_target_buffer(torch.zeros(img.shape[1:], dtype=torch.uint8))
441
+
442
+ # --- Start a New Object Segmentation ---
443
+ session.reset_interactions() # Clears the target buffer and resets interactions
444
+
445
+ # Now you can start segmenting the next object in the image.
446
+
447
+ # --- Set a New Image ---
448
+ # Setting a new image also requires setting a new matching target buffer
449
+ session.set_image(NEW_IMAGE)
450
+ session.set_target_buffer(torch.zeros(NEW_IMAGE.shape[1:], dtype=torch.uint8))
451
+
452
+ # Enjoy!
453
+ ```
454
+
455
+ ## nnInteractive SuperVoxels
456
+
457
+ As part of the `nnInteractive` framework, we provide a dedicated module for **supervoxel generation** based on [SAM](https://github.com/facebookresearch/segment-anything) and [SAM2](https://github.com/facebookresearch/sam2). This replaces traditional superpixel methods (e.g., SLIC) with **foundation model–powered 3D pseudo-labels**.
458
+
459
+ 🔗 **Module:** [`nnInteractive/supervoxel/`](nnInteractive/supervoxel)
460
+
461
+ The SuperVoxel module allows you to:
462
+
463
+ - Automatically generate high-quality 3D supervoxels via axial sampling + SAM segmentation and SAM2 mask propagation.
464
+ - Use the generated supervoxels as **pseudo-ground-truth labels** to train promptable 3D segmentation models like `nnInteractive`.
465
+ - Export `nnUNet`-compatible `.pkl` foreground prompts for downstream use.
466
+
467
+ For detailed installation, configuration, and usage instructions, check the [SuperVoxel README](nnInteractive/supervoxel/README.md).
468
+
469
+
470
+ ## Citation
471
+ When using nnInteractive, please cite the following paper:
472
+
473
+ > Isensee, F.\*, Rokuss, M.\*, Krämer, L.\*, Dinkelacker, S., Ravindran, A., Stritzke, F., Hamm, B., Wald, T., Langenberg, M., Ulrich, C., Deissler, J., Floca, R., & Maier-Hein, K. (2025). nnInteractive: Redefining 3D Promptable Segmentation. https://arxiv.org/abs/2503.08373 \
474
+ > *: equal contribution
475
+
476
+ Link: [![arXiv](https://img.shields.io/badge/arXiv-2503.08373-b31b1b.svg)](https://arxiv.org/abs/2503.08373)
477
+
478
+
479
+ # License
480
+ Note that while this repository is available under Apache-2.0 license (see [LICENSE](./LICENSE)), the [model checkpoint](https://huggingface.co/nnInteractive/nnInteractive) is `Creative Commons Attribution Non Commercial Share Alike 4.0`!
481
+
482
+ # Changelog
483
+
484
+ ### 1.1.2 - 2025-08-02
485
+
486
+ - Fixed a bug where `pin_memory` was set to `True` even though no CUDA devices were present (this broke CPU support)
487
+ - ✅ API compatible all the way back to 1.0.1
488
+
489
+ ### 1.1.1 - 2025-08-01
490
+
491
+ - We now detect whether linux kernel 6.11 is used and disable pin_memory in that case. See also [here](https://github.com/MIC-DKFZ/nnInteractive/issues/18)
492
+ - ✅ API compatible with 1.0.1 and 1.1.0
493
+
494
+ ### 1.1.0 - 2025-08-01
495
+
496
+ - Reworked inference code. It's now well-structured and easier to follow.
497
+ - Fixed bugs that
498
+ - sometimes caused blocky predictions
499
+ - may cause failure to update segmentation map if changes were minor and AutoZoom was triggered
500
+ - ✅ API compatible with 1.0.1
501
+
502
+ ## Acknowledgments
503
+
504
+ <p align="left">
505
+ <img src="imgs/Logos/HI_Logo.png" width="150"> &nbsp;&nbsp;&nbsp;&nbsp;
506
+ <img src="imgs/Logos/DKFZ_Logo.png" width="500">
507
+ </p>
508
+
509
+ This repository is developed and maintained by the Applied Computer Vision Lab (ACVL)
510
+ of [Helmholtz Imaging](https://www.helmholtz-imaging.de/) and the
511
+ [Division of Medical Image Computing](https://www.dkfz.de/en/medical-image-computing) at DKFZ.
@@ -0,0 +1,76 @@
1
+ nnInteractive/__init__.py,sha256=OOmb_zEcUjHlYnl5j5meZ-oB_xSKPP-Qs-boQPk9BhE,92
2
+ nnInteractive/inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ nnInteractive/inference/inference_session.py,sha256=IgUJ8c0C2T8HaBkOu9eyUqV9bU8QhhKi2bKYNPtnB_0,64981
4
+ nnInteractive/inference/cvpr2025_challenge_baseline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ nnInteractive/inference/cvpr2025_challenge_baseline/predict.py,sha256=_SkCpKh0Ec51bHXNdi5GrCnUme2Yh7_PHl9hi9AFOkQ,6862
6
+ nnInteractive/interaction/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ nnInteractive/interaction/point.py,sha256=r4UnrlsDIjU0J8oYlk7XLUuV-Q3NFm8xwFOb238TVZ8,7771
8
+ nnInteractive/supervoxel/setup.py,sha256=EFCQoYHStTVu-HEqRMKpSas0zo-9Z-AbWq-2-xkRoV8,69
9
+ nnInteractive/supervoxel/src/metadata.py,sha256=U47hbmZrNOUUJOBDhggwIrjgEMJnNhkgdDvAZvNceVw,3874
10
+ nnInteractive/supervoxel/src/reader.py,sha256=gUzHQ0EwaOl3NgYJXDsiyoyZNY_MSRaSvjTochVxQuo,8010
11
+ nnInteractive/supervoxel/src/run.py,sha256=I0SEp8XwUAvwlmY7svhBXVHfU6UdYWR2zAjCi2N_WJI,4589
12
+ nnInteractive/supervoxel/src/supervoxel.py,sha256=b6aPtZrkpuyWAZ_qrPZbW5kUwcPgn71cCp6PAIbyIKQ,8583
13
+ nnInteractive/supervoxel/src/sam2/__init__.py,sha256=cLEG0Ty3GCvE16djVZjDu8rlBEUAVjwMZXa9fQlxVt0,52
14
+ nnInteractive/supervoxel/src/sam2/setup.py,sha256=nKSaM97xYdLK-lbd73RBePpW0yGSQr2LaZCZBMLmPf8,5051
15
+ nnInteractive/supervoxel/src/sam2/sam2/__init__.py,sha256=uHyh6VzVS4F2box0rPDpN5UmOVKeQNK0CIaTKG9JQZ4,395
16
+ nnInteractive/supervoxel/src/sam2/sam2/automatic_mask_generator.py,sha256=u0Uhb2lBpm9wW0XNiUcnKwkWAl_xIUGcL4sRo3tJkAY,18217
17
+ nnInteractive/supervoxel/src/sam2/sam2/benchmark.py,sha256=XJxhJQwyg5roF2ob78kjbSZrra21rcv5VwTpOCZixFU,2791
18
+ nnInteractive/supervoxel/src/sam2/sam2/build_sam.py,sha256=YxEpmIoKk652EOZNsT9SvYYe8TnT9BNTzeZSoQg4doU,6378
19
+ nnInteractive/supervoxel/src/sam2/sam2/sam2_image_predictor.py,sha256=-j1UNJMVoaWoaD74xrhIJVZkjCx9y17QTCneweuSHE0,19479
20
+ nnInteractive/supervoxel/src/sam2/sam2/sam2_video_predictor.py,sha256=VnnlhDMnnCMwW1Hw1QAmOLV9KM267kISNXKkSBP3up4,58130
21
+ nnInteractive/supervoxel/src/sam2/sam2/sam2_video_predictor_legacy.py,sha256=gN23DQfOrt-mMlpPFhx1USNdze2XXG4rzyDoTeWJBro,58115
22
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/__init__.py,sha256=NL2AacVHZOe41zp4kF2-ZGcUCi9zFwh1Eo9spNjN0Ko,197
23
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/memory_attention.py,sha256=dFB7rRC3jZ0lh1apcVsJQswEVDRwvrZywkr6gzaPCMY,5485
24
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/memory_encoder.py,sha256=8SwSbe38ZSjzMtkA_G3-GaGo0hfTW6qjclAHrcWanXw,5635
25
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/position_encoding.py,sha256=-lIwwGnA2RwY-HDoqCLoF2eMLHSbpGjFq2yVRpW8i5U,8746
26
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/sam2_base.py,sha256=h_gdwqaQlDuhVL8dOlC5bnkMZJzQlZkNNNOC_AHdS4M,46488
27
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/sam2_utils.py,sha256=Aak_O0wxpY5e60jJHbqSH-WzmEfnBv-yB9mzmIhvunM,13091
28
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/backbones/__init__.py,sha256=NL2AacVHZOe41zp4kF2-ZGcUCi9zFwh1Eo9spNjN0Ko,197
29
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/backbones/hieradet.py,sha256=MEYR09ELceZgmT1Q4e4EpVmE_VRKzslcGYeQ8KD4Hjc,9855
30
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/backbones/image_encoder.py,sha256=75lpi0KyRxLkjgxx1qnwm5NDZTuDdhJtq3hnVrUz9mw,4660
31
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/backbones/utils.py,sha256=Kir12gqfXkxKdvW2e_spQxyeId6_whJ-5lLp-KRPTqo,2971
32
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/sam/__init__.py,sha256=NL2AacVHZOe41zp4kF2-ZGcUCi9zFwh1Eo9spNjN0Ko,197
33
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/sam/mask_decoder.py,sha256=-WozEbErKFagc1dF8h-FDT5NrhuLMbb_3gv5aHdaNws,12363
34
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/sam/prompt_encoder.py,sha256=CPoEqIKTovLDd6j_uAJtfiRtahktLL0S9ga4JxHHH2M,7453
35
+ nnInteractive/supervoxel/src/sam2/sam2/modeling/sam/transformer.py,sha256=ikW9WV0F3ovAUBIqsxmIxYHnd6FiGo_8S4qSZPIahho,10575
36
+ nnInteractive/supervoxel/src/sam2/sam2/utils/__init__.py,sha256=NL2AacVHZOe41zp4kF2-ZGcUCi9zFwh1Eo9spNjN0Ko,197
37
+ nnInteractive/supervoxel/src/sam2/sam2/utils/amg.py,sha256=BSbzWTVgxO6kp4eDcgiYdmauCAzXq7ab-5K-tTeBwOY,12750
38
+ nnInteractive/supervoxel/src/sam2/sam2/utils/misc.py,sha256=JwFDxACIjVQFhAfJQD8ESZLfxDMyMeyw_WHK1i2gEfE,18248
39
+ nnInteractive/supervoxel/src/sam2/sam2/utils/transforms.py,sha256=t4aywJWHFuseuQloqiOCnpzJ9rl8L9vX2suCi8ysRzs,4767
40
+ nnInteractive/supervoxel/src/sam2/training/__init__.py,sha256=NL2AacVHZOe41zp4kF2-ZGcUCi9zFwh1Eo9spNjN0Ko,197
41
+ nnInteractive/supervoxel/src/sam2/training/loss_fns.py,sha256=yCr4UGeF8_CZGl5z9yNXbX0ZxiCldVHFWFEcALSxPIc,12176
42
+ nnInteractive/supervoxel/src/sam2/training/optimizer.py,sha256=Ahd6OHgBXx2wdXCZQV22o_DPWhLJFcNOq_L01QqBe4c,19461
43
+ nnInteractive/supervoxel/src/sam2/training/train.py,sha256=y10y9tMbWvped46DSpXaZH0OB3jQKG6dOzv9Cq4202o,9767
44
+ nnInteractive/supervoxel/src/sam2/training/trainer.py,sha256=FqSqty6SQLxaKbN7V36jQN30xsRjyseeKoRJ3AY6Kzs,40427
45
+ nnInteractive/supervoxel/src/sam2/training/dataset/__init__.py,sha256=NL2AacVHZOe41zp4kF2-ZGcUCi9zFwh1Eo9spNjN0Ko,197
46
+ nnInteractive/supervoxel/src/sam2/training/dataset/sam2_datasets.py,sha256=VeD0uyVlU1LitYWMOj_BMf5RqZK65QkTz79oZS0_gjs,7356
47
+ nnInteractive/supervoxel/src/sam2/training/dataset/transforms.py,sha256=h1OvSghDYjpMUpcIwMsVxXtzU4erx7a1GyRKSalCZGI,17957
48
+ nnInteractive/supervoxel/src/sam2/training/dataset/utils.py,sha256=8JMMpInjqbrALGAmXlxZ1lh-itGTZnz2DLtIyLYbGZo,3861
49
+ nnInteractive/supervoxel/src/sam2/training/dataset/vos_dataset.py,sha256=QVR7O_qP0dtqI_xEtRi6ElkqjLUe0eIzYNCal4F4x4w,5626
50
+ nnInteractive/supervoxel/src/sam2/training/dataset/vos_raw_dataset.py,sha256=7YF2SxZvTc2on_G1UKD-yvRmdadPyXWm0BSWEuvl01Y,9731
51
+ nnInteractive/supervoxel/src/sam2/training/dataset/vos_sampler.py,sha256=5zXZ1wp9q_ddG18vhgsjm9_jsLSLLhEE0GG_Zy44DhA,3391
52
+ nnInteractive/supervoxel/src/sam2/training/dataset/vos_segment_loader.py,sha256=VP2koqSJ3xGdhPan-RJ3Ru2ByENRKn0ycUbtDZ1TPJE,10161
53
+ nnInteractive/supervoxel/src/sam2/training/model/__init__.py,sha256=NL2AacVHZOe41zp4kF2-ZGcUCi9zFwh1Eo9spNjN0Ko,197
54
+ nnInteractive/supervoxel/src/sam2/training/model/sam2.py,sha256=1IfIierKewW-mMAX4wkOY04A9QcjC1gzPIDqNov5h5Q,25954
55
+ nnInteractive/supervoxel/src/sam2/training/scripts/sav_frame_extraction_submitit.py,sha256=mPI2sTU6mcQW5bfl13b-aO7bOtJ-mw0eT6asW6Kng6U,4781
56
+ nnInteractive/supervoxel/src/sam2/training/utils/__init__.py,sha256=NL2AacVHZOe41zp4kF2-ZGcUCi9zFwh1Eo9spNjN0Ko,197
57
+ nnInteractive/supervoxel/src/sam2/training/utils/checkpoint_utils.py,sha256=7cKv9rJWz9E8f_M4A_H0vH8jheFo6lzyktMEVsoXFJI,11407
58
+ nnInteractive/supervoxel/src/sam2/training/utils/data_utils.py,sha256=7YKwoIVDZFF1aqD-zA-mHu5Ct-8SqOP5ptKclvwMZwQ,5663
59
+ nnInteractive/supervoxel/src/sam2/training/utils/distributed.py,sha256=UgY5rCoHdah1ZxOuVYpU8kxNyCP8VuK3gA4sENwAkQI,18841
60
+ nnInteractive/supervoxel/src/sam2/training/utils/logger.py,sha256=MuPdTc92IzLab_tIpMn63s67wt82eWUU8yll-XR0UXE,7574
61
+ nnInteractive/supervoxel/src/sam2/training/utils/train_utils.py,sha256=-iUKupHeURmXWW7c1mCyDuon6bZYPPu8POY6UA31XbA,8622
62
+ nnInteractive/trainer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
+ nnInteractive/trainer/nnInteractiveTrainer.py,sha256=Fl-BuAc2GrlUPogsLe-LhYmlKlsUAWAVpAaF_7x0DgA,843
64
+ nnInteractive/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
+ nnInteractive/utils/bboxes.py,sha256=q6SlaxR_BRr1SaOnLKagZ_gnbEb1-Yaj7BliZYSsEsI,8408
66
+ nnInteractive/utils/checkpoint_cleansing.py,sha256=7BENkJjQSq1mS5jNThlUbvo7ZzsRjXmu0TqQXL3zrZc,269
67
+ nnInteractive/utils/crop.py,sha256=-Xl3_O62t5RYw3y3qg9dmZrPl0bcVvCuuNjigkBT1NQ,11517
68
+ nnInteractive/utils/erosion_dilation.py,sha256=Z1Me4AyOnuwyCzxZIoWBlg_HHeG_1FAcCQYD6Rltpfs,1690
69
+ nnInteractive/utils/inference_helpers.py,sha256=ydrqzxPq2hPczNlHFBIkGhobyQeJciqIS_0zyrE0_iQ,1628
70
+ nnInteractive/utils/os_shennanigans.py,sha256=_qJjEZC6T5xvr8t-orwj3xC-uWWlnFVxejSzJTG0yGk,411
71
+ nnInteractive/utils/rounding.py,sha256=ByQLJLyCObDWV6RKitBPEarMBTFrgBGhcY0ebgPc8IQ,260
72
+ nninteractive-2.0.0.dist-info/licenses/LICENSE,sha256=fany3e2oNqiR9TcQRTAjCnsjGPYepMV7BePdRqmuJ_0,11427
73
+ nninteractive-2.0.0.dist-info/METADATA,sha256=6XsWLQCafKpEtqc13dLFUKrfCjWHmv4M4A4fxcB0xO4,28400
74
+ nninteractive-2.0.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
75
+ nninteractive-2.0.0.dist-info/top_level.txt,sha256=ahQXc9I5f9bTQtPLnt4CJPUyeVIARg80l_yXXIFoeDU,14
76
+ nninteractive-2.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+