Skip to content

Commit a151445

Browse files
authored
Merge branch 'main' into hugging-face
2 parents 67a64e2 + 7669d45 commit a151445

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)