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

17 Add load medical image notebook #19

Merged
merged 2 commits into from
Sep 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ This notebook compares the performance of `Dataset`, `CacheDataset` and `Persist
#### [integrate_3rd_party_transforms](./integrate_3rd_party_transforms.ipynb)
This tutorial shows how to integrate 3rd party transforms into MONAI program.
Mainly shows transforms from BatchGenerator, TorchIO, Rising and ITK.
#### [load_medical_imagesl](./load_medical_images.ipynb)
This notebook introduces how to easily load different formats of medical images in MONAI and execute many additional operations.
#### [mednist_GAN_tutorial](./mednist_GAN_tutorial.ipynb)
This notebook illustrates the use of MONAI for training a network to generate images from a random input tensor.
A simple GAN is employed to do with a separate Generator and Discriminator networks.
Expand Down
19 changes: 19 additions & 0 deletions automatic_mixed_precision.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,25 @@
"plt.legend(loc='best')\n",
"plt.show()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Cleanup data directory\n",
"\n",
"Remove directory if a temporary was used."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if directory is None:\n",
" shutil.rmtree(root_dir)"
]
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion brats_segmentation_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.9"
"version": "3.6.10"
}
},
"nbformat": 4,
Expand Down
Loading