Skip to content

Commit

Permalink
Fixes runner tests (Project-MONAI#362)
Browse files Browse the repository at this point in the history
* fixes unet demo

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes install command

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes reg mednist

Signed-off-by: Wenqi Li <wenqil@nvidia.com>

* fixes install commands

Signed-off-by: Wenqi Li <wenqil@nvidia.com>
  • Loading branch information
wyli authored Sep 21, 2021
1 parent 5fdab78 commit cded0cf
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 76 deletions.
14 changes: 10 additions & 4 deletions 2d_registration/registration_mednist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,21 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "4OTG9ShCUQtS"
},
"metadata": {},
"outputs": [],
"source": [
"!BUILD_MONAI=1 pip install git+https://github.com/Project-MONAI/MONAI#egg=monai[all]\n",
"%env BUILD_MONAI=1"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!python -c \"import monai\" || pip install -q git+https://github.com/Project-MONAI/MONAI#egg=monai[all]"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down
4 changes: 2 additions & 2 deletions deployment/bentoml/mednist_classifier_bentoml.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"metadata": {},
"outputs": [],
"source": [
"!python -c \"import monai\" || pip install -q \"monai[pillow, tqdm]\"\n",
"!python -c \"import monai\" || pip install -q \"monai-weekly[pillow, tqdm]\"\n",
"!python -c \"import bentoml\" || pip install -q bentoml"
]
},
Expand Down Expand Up @@ -635,7 +635,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.7.10"
}
},
"nbformat": 4,
Expand Down
10 changes: 9 additions & 1 deletion modules/TorchIO_MONAI_PyTorch_Lightning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@
"Training curves will be logged and visualized using TensorFlow's [TensorBoard](https://www.tensorflow.org/tensorboard). For quantitative results, we will use [Pandas](https://pandas.pydata.org/) and [Seaborn](https://seaborn.pydata.org/). Finally, we will perform a qualitative evaluation using TorchIO and [Matplotlib](https://matplotlib.org/stable/index.html)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!python -c \"import monai\" || pip install -q \"monai-weekly\""
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -61,7 +70,6 @@
"source": [
"%%bash\n",
"pip install -q torchio==0.18.39\n",
"pip install -q monai==0.6.0\n",
"pip install -q pytorch-lightning==1.2.10\n",
"pip install -q pandas==1.1.5 seaborn==0.11.1"
]
Expand Down
Loading

0 comments on commit cded0cf

Please sign in to comment.