@@ -409,31 +409,26 @@ Now get the automatic inference of the trained SwinUNETR model!
409409Use Case 2: Bundle with Customized Scripts for Renal Substructure Segmentation
410410=================================================================================
411411
412- This use case provides an instruction on using bundle model with customized scripts.
412+ This use case (renalStructures_UNEST_segmentation_v0.2.0) provides an instruction on using bundle model with customized scripts.
413413
414414Prerequisite: Check Model Zoo `Release <https://github.com/Project-MONAI/model-zoo/releases/tag/hosting_storage_v1 >`_.
415415
416416.. code-block :: bash
417417
418- # install MONAI Label
418+ # Step 1: install MONAI Label
419419 pip install monailabel
420420
421- # download Bundle sample app to local directory
421+ # Step 2: download Bundle sample app to local directory
422422 monailabel apps --name monaibundle --download --output .
423423
424- # download a local study images, sample dataset such as spleen:
424+ # Step 3: download a local study images, sample dataset such as spleen CT (contrast enhanced CTs are better) :
425425 monailabel datasets --download --name Task09_Spleen --output .
426426
427- # download the bundle move the downloaded ZIP file to the MONAILable/sample-apps/monaibundle/model and unzip
428- # and save to the monaibundle/model and direct to the customized bundle folder
429- cd < path to the bundle model> /renalStructures_UNEST_segmentation_v0.1.0
427+ # Step4: set customised bundle scripts to python path (the bundle models and code are downloaded when start monai label server)
428+ export PYTHONPATH=$PYTHONPATH :" monaibundle/model/renalStructures_UNEST_segmentation_v0.2.0"
430429
431- # add customized scripts in the downloaded bundle
432- export PYTHONPATH=$PYTHONPATH :" '/monaibundle/model/renalStructures_UNEST_segmentation_v0.1.0/scripts"
433-
434- # start the bundle app in MONAI label server
435- monailabel start_server --app < full path to the monaibundle app/monaibundle> --studies < path to the local dataset/Task09_Spleen/imagesTr>
436- --conf models renalStructures_UNEST_segmentation_v0.1.0
430+ # Step 5: start the bundle app in MONAI label server
431+ monailabel start_server --app monaibundle --studies Task09_Spleen/imagesTr --conf models renalStructures_UNEST_segmentation_v0.2.0
437432
438433
439434
0 commit comments