Skip to content

Commit 3722155

Browse files
authored
Fix broken link in vista3d and modify import section in vista2d (#1837)
### 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: YunLiu <[email protected]>
1 parent e66be59 commit 3722155

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

vista_2d/vista_2d_tutorial_monai.ipynb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,13 @@
5353
"metadata": {},
5454
"outputs": [],
5555
"source": [
56-
"!python -c \"import monai\" || pip install -q monai\n",
57-
"!python -c \"import fire\" || pip install -q fire\n",
58-
"!python -c \"import tifffile\" || pip install -q tifffile\n",
59-
"!python -c \"import imagecodecs\" || pip install -q imagecodecs\n",
60-
"!python -c \"import PIL\" || pip install -q pillow\n",
56+
"!python -c \"import monai\" || pip install -q \"monai-weekly[fire, tifffile, imagecodecs, pillow, tqdm]\"\n",
6157
"!python -c \"import fastremap\" || pip install -q fastremap\n",
6258
"!python -c \"import cellpose\" || pip install -q cellpose\n",
6359
"!python -c \"import natsort\" || pip install -q natsort\n",
6460
"!python -c \"import roifile\" || pip install -q roifile\n",
6561
"!python -c \"import ipykernel\" || pip install -q ipykernel\n",
6662
"!python -c \"import cv2\" || pip install -q opencv-python-headless\n",
67-
"!python -c \"import tqdm\" || pip install -q tqdm\n",
6863
"!python -c \"import numba\" || pip install -q numba\n",
6964
"!python -c \"import segment_anything\" || pip install -q git+https://github.com/facebookresearch/segment-anything.git\n",
7065
"%matplotlib inline"

vista_3d/vista3d_spleen_finetune.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"\n",
3333
"The Spleen dataset can be downloaded from http://medicaldecathlon.com/.\n",
3434
"\n",
35-
"![spleen](../../figures/spleen0.png)\n",
35+
"![spleen](../figures/spleen0.png)\n",
3636
"\n",
3737
"Target: Spleen \n",
3838
"Modality: CT \n",

0 commit comments

Comments
 (0)