Skip to content

Commit ef6cf9f

Browse files
Update documentation to reflect changes from nnUNet to MONet Bundle inference operator
1 parent 0865d33 commit ef6cf9f

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

examples/apps/ai_spleen_nnunet_seg_app/app.py

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@
3535
# pip_packages can be a string that is a path(str) to requirements.txt file or a list of packages.
3636
# The monai pkg is not required by this class, instead by the included operators.
3737
class AISpleennnUNetSegApp(Application):
38-
"""Demonstrates inference with built-in MONAI nnUNet Bundle inference operator with DICOM files as input/output
38+
"""Demonstrates inference with built-in MONet Bundle inference operator with DICOM files as input/output
3939
4040
This application loads a set of DICOM instances, select the appropriate series, converts the series to
41-
3D volume image, performs inference with the built-in MONAI nnUNet Bundle inference operator, including pre-processing
41+
3D volume image, performs inference with the built-in MONet Bundle inference operator, including nnUNet resampling,pre-processing
4242
and post-processing, save the segmentation image in a DICOM Seg OID in an instance file, and optionally the
4343
surface mesh in STL format.
4444
4545
Pertinent nnUNet MONAI Bundle:
4646
<Upload to the MONAI Model Zoo>
4747
4848
Execution Time Estimate:
49-
With a Nvidia RTXA600 48GB GPU, for an input DICOM Series of 139 instances, the execution time is around
50-
75 seconds with saving both DICOM Seg and surface mesh STL file.
49+
With a Nvidia RTXA600 48GB GPU, for an input DICOM Series of size 106x415x415 and patches of size 64x192x160, the execution time is around
50+
50 seconds with saving both DICOM Seg and surface mesh STL file.
5151
"""
5252

5353
def __init__(self, *args, **kwargs):
@@ -162,16 +162,6 @@ def compose(self):
162162
"""
163163

164164
if __name__ == "__main__":
165-
# Creates the app and test it standalone. When running is this mode, please note the following:
166-
# -m <model file>, for model file path
167-
# -i <DICOM folder>, for input DICOM CT series folder
168-
# -o <output folder>, for the output folder, default $PWD/output
169-
# e.g.
170-
# monai-deploy exec app.py -i input -m model/model.ts
171-
#
172-
# export HOLOSCAN_INPUT_PATH=dcm
173-
# export HOLOSCAN_MODEL_PATH=spleen_model/model.ts
174-
# export HOLOSCAN_OUTPUT_PATH="output"
175165
logging.info(f"Begin {__name__}")
176166
AISpleennnUNetSegApp().run()
177167
logging.info(f"End {__name__}")

monai/deploy/operators/monet_bundle_inference_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
class MONetBundleInferenceOperator(MonaiBundleInferenceOperator):
4242
"""
43-
A specialized operator for performing inference using the MONAI nnUNet bundle.
43+
A specialized operator for performing inference using the MONet bundle.
4444
This operator extends the `MonaiBundleInferenceOperator` to support nnUNet-specific
4545
configurations and prediction logic. It initializes the nnUNet predictor and provides
4646
a method for performing inference on input data.

0 commit comments

Comments
 (0)