Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tcia prostatex model notebook #1852

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
16 changes: 10 additions & 6 deletions model_zoo/TCIA_PROSTATEx_Prostate_MRI_Anatomy_Model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,21 @@
"!python -c \"import cv2\" || pip install -q opencv-python-headless\n",
"\n",
"# These are the libraries used to read DICOM Seg objects.\n",
"!python -m pip install -q pydicom pydicom-seg\n",
"\n",
"# Install tcia_utils to download the datasets.\n",
"!python -m pip install --upgrade -q --no-deps tcia_utils\n",
"!python -m pip install -q \"pydicom<3\" pydicom-seg\n",
"\n",
"# Install the dependency manually to avoid installing opencv-python.\n",
"!python -m pip install -q plotly bs4 ipywidgets unidecode jsonschema\n",
"!python -m pip install -q plotly bs4 unidecode\n",
kirbyju marked this conversation as resolved.
Show resolved Hide resolved
"!python -m pip install -q --no-deps rt-utils\n",
"\n",
"# Install tcia_utils to download the datasets.\n",
"!python -m pip install --upgrade -q --no-deps tcia_utils\n",
"\n",
"# This is the installation required for itkWidgets.\n",
"!python -m pip install --upgrade --pre -q \"itkwidgets[all]==1.0a23\" imjoy_elfinder"
"!python -m pip install --upgrade --pre -q \"itkwidgets[all]\" imjoy_elfinder\n",
kirbyju marked this conversation as resolved.
Show resolved Hide resolved
"\n",
"# TEMPORARY WORKAROUND TO RESOLVE: https://github.com/kirbyju/TCIA_Notebooks/issues/30\n",
kirbyju marked this conversation as resolved.
Show resolved Hide resolved
"!python -m pip uninstall -y -q zarr ngff_zarr\n",
"!python -m pip install -q zarr ngff_zarr"
]
},
{
Expand Down
Loading