Skip to content

Commit 7669d45

Browse files
Fix omniverse tutorial missing lib error (#1955)
Fixes #1954 ### Description ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [ ] Avoid including large-size files in the PR. - [ ] Clean up long text outputs from code cells in the notebook. - [ ] For security purposes, please check the contents and remove any sensitive info such as user names and private key. - [ ] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the `./figure` folder - [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>` Signed-off-by: Yiheng Wang <vennw@nvidia.com>
1 parent 9c7bbf4 commit 7669d45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/omniverse/omniverse_integration.ipynb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"outputs": [],
5858
"source": [
5959
"!python -c \"import monai\" || pip install -q \"monai-weekly[nibabel]\"\n",
60+
"!python -c \"import skimage\" || pip install -q scikit-image\n",
6061
"!python -c \"import vtk\" || pip install -q vtk\n",
6162
"!python -c \"import pxr\" || pip install -q usd-core\n",
6263
"!python -c \"import trimesh\" || pip install -q trimesh\n",
@@ -466,6 +467,11 @@
466467
" print(f\"Saved whole segmentation {all_organ_filename}\")\n",
467468
"\n",
468469
"\n",
470+
"# if workflow.run() is uncommented and run, an image and a label files will be generated in the output folder\n",
471+
"# for example, file paths are like this:\n",
472+
"# f\"{bundle_root}/output/sample_20250317_065034_415537_image.nii.gz\"\n",
473+
"# f\"{bundle_root}/output/sample_20250317_065034_415537_label.nii.gz\"\n",
474+
"# then you can replace the \"input_nii_path\" below with the generated label file\n",
469475
"input_nii_path = f\"{bundle_root}/datasets/IntegrationTest-AbdomenCT.nii.gz\"\n",
470476
"output_nii_path = f\"{bundle_root}/datasets/monai/nii\"\n",
471477
"output_obj_path = f\"{bundle_root}/datasets/monai/obj\"\n",

0 commit comments

Comments
 (0)