Skip to content

Commit

Permalink
Update MONAI_DATA_DIRECTORY path in nnUNet bundle notebook to relativ…
Browse files Browse the repository at this point in the history
…e path
  • Loading branch information
SimoneBendazzoli93 committed Feb 26, 2025
1 parent 482bb70 commit 3f71b08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bundle/06_nnunet_monai_bundle.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"metadata": {},
"outputs": [],
"source": [
"os.environ[\"MONAI_DATA_DIRECTORY\"] = \"/home/maia-user/Documents/MONAI/Data\""
"os.environ[\"MONAI_DATA_DIRECTORY\"] = \"MONAI/Data\""
]
},
{
Expand Down Expand Up @@ -488,7 +488,7 @@
"\n",
"\n",
"BUNDLE_ROOT=nnUNetBundle\n",
"MONAI_DATA_DIRECTORY=/home/maia-user/Documents/MONAI/Data\n",
"MONAI_DATA_DIRECTORY=MONAI/Data\n",
"\n",
"python -m monai.bundle run \\\n",
" --config-file $BUNDLE_ROOT/configs/inference.yaml \\\n",
Expand Down Expand Up @@ -825,7 +825,7 @@
"outputs": [],
"source": [
"%%bash\n",
"export MONAI_DATA_DIRECTORY=/home/maia-user/Documents/MONAI/Data\n",
"export MONAI_DATA_DIRECTORY=MONAI/Data\n",
"export nnUNet_raw=$MONAI_DATA_DIRECTORY\"/nnUNet/nnUNet_raw_data_base\"\n",
"export nnUNet_preprocessed=$MONAI_DATA_DIRECTORY\"/nnUNet/nnUNet_preprocessed\"\n",
"export nnUNet_results=$MONAI_DATA_DIRECTORY\"/nnUNet/nnUNet_trained_models\"\n",
Expand Down

0 comments on commit 3f71b08

Please sign in to comment.