• This repository has been archived on 25/Feb/2022
  • Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Jupyter Notebook
  • Created about 3 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Materials for the 2021 MONAI Bootcamp

MONAIBootcamp2021

This repository hosts the notebooks for the 2021 MONAI Bootcamp event. The data required for the notebooks is available through the download mechanisms given in each notebook or through the organizers. All bootcamp participants can access the bootcamp Slack channel to ask for help with any issues.

Most of the notebooks in this repository would benefit considerably from having GPU support enabled. Therefore, it is recommended to run notebooks on Google Colab. Instructions to replicate the Python environment on your local machines are also provided (See Install Local Environment)

Run on Google Colab (Recommended)

Notebooks can be accessed in Colab by using the links below:

Day 1 Notebooks:

Day 3 Notebooks:

Further notes

1. Required Packages for Colab Execution

The Day 1 notebooks have the pip command for install MONAI, however this will have to be added to any subsequent notebook. Place this at the top of the first cell to install MONAI the first time a colab notebook is run:

%pip install -qU "monai[nibabel,ignite,torchvision]==0.6.0"

2. Enabling GPU Support

To use GPU resources through Colab remember to change the runtime to GPU:

  1. From the "Runtime" menu select "Change Runtime Type"
  2. Choose "GPU" from the drop-down menu
  3. Click "SAVE"

This will reset the notebook and probably ask you if you are a robot (these instructions assume you are not). Running

!nvidia-smi

in a cell will verify this has worked and show you what kind of hardware you have access to.

Instal Local Environment

Instructions to setup the (local) Python development environment are reported below, either using venv or conda (for Anaconda Python distribution):

Set up environment using conda

If you are using Anaconda Python distribution, it is possible to re-create the entire virtual (conda) environment using the monai_bootcamp.yml (YAML) file:

conda env create -f monai_bootcamp.yml

This will create a new environment named monai-bootcamp, with all the required packages. To activate the environment:

conda activate monai-bootcamp

Set up environment using venv

The venv module provides support for creating lightweight “virtual environments” with their own site directories, optionally isolated from system site directories. Each virtual environment has its own Python binary (which matches the version of the binary that was used to create this environment) and can have its own independent set of installed Python packages in its site directories.

Note: The venv module is part of the Python Standard Library, so no further installation is required. Python 3.7+ is assumed.

The following 3 steps are required to setup a new virtual environment using venv:

  1. Create the environment:

    python -m venv <PATH-TO-VENV-FOLDER>/monai-bootcamp
  2. Activate the environment:

source <PATH-TO-VENV-FOLDER>/monai-bootcamp/bin/activate
  1. Install the Required Package (using the requirements.txt file):

    pip install -r requirements.txt

Notes on Jupyter Notebook Kernel

Notes: The following instructions only applies to virtual environment created using venv

In order to enable the new venv environment within your default Jupyter server, a new Jupyter Kernel should be added.

In order to do so, the following command should be executed:

python -m ipykernel install --user --prefix <PATH-TO-VENV-FOLDER>/monai-bootcamp --display-name "Python 3 (MONAI Bootcamp 2020)"

This will add a new Python 3 (MONAI Bootcamp 2020) to the list of available Jupyter kernel. Please make sure to select or change this kernel to run the notebooks in this repository.

Further information here

Notes on GPU support on Local machine

If your local machine has GPU support, please follow the instructions on the official PyTorch documentation on how to install PyTorch with GPU support in your local environment, depending on your system configuration.

More Repositories

1

MONAI

AI Toolkit for Healthcare Imaging
Python
5,756
star
2

tutorials

MONAI Tutorials
Jupyter Notebook
1,809
star
3

research-contributions

Implementations of recent research prototypes/demonstrations using MONAI.
Python
1,004
star
4

GenerativeModels

MONAI Generative Models makes it easy to train, evaluate, and deploy generative models and related applications
Jupyter Notebook
605
star
5

MONAILabel

MONAI Label is an intelligent open source image labeling and learning tool.
Python
599
star
6

model-zoo

MONAI Model Zoo that hosts models in the MONAI Bundle format.
Python
192
star
7

VISTA

MONAI Versatile Imaging Segmentation and Annotation
Python
123
star
8

monai-deploy

MONAI Deploy aims to become the de-facto standard for developing, packaging, testing, deploying and running medical AI applications in clinical production.
Shell
97
star
9

monai-deploy-app-sdk

MONAI Deploy App SDK offers a framework and associated tools to design, develop and verify AI-driven applications in the healthcare imaging domain.
Jupyter Notebook
92
star
10

MetricsReloaded

Python
70
star
11

MONAIBootcamp2020

Material for the 2020 MONAI Bootcamp
Jupyter Notebook
65
star
12

monai-bootcamp

Jupyter Notebook
60
star
13

monai-deploy-informatics-gateway

MONAI Deploy Informatics Gateway facilitates integration with DICOM compliant systems, enables ingestion of imaging data, helps triggering of workflows with the MONAI Deploy Workflow Manager and offers pushing the output to PACS systems.
C#
26
star
14

SlicerMONAIViz

MONAIViz - 3D Slicer Extension
Python
22
star
15

MONAIStream

The codebase is currently NOT under active development.
Python
18
star
16

monai-deploy-workflow-manager

Repository containing the Workflow Manager sub-system part of MONAI Deploy.
C#
13
star
17

monai-deploy-app-server

Application server that will run MAPs (MONAI Application Package)
Python
9
star
18

monai-deploy-storage

Storage layer for MONAI Deploy clinical data pipelines system
C#
5
star
19

project-monai.github.io

project monai website https://monai.io/
HTML
5
star
20

MONAI-extra-test-data

Repository containing extra test data for MONAI
Python
5
star
21

monai-tutorial-miccai-2023

MONAI tutorial website for MICCAI 2023
HTML
3
star
22

monai-code-formatter

A github action for automatically formatting source code files for MONAI
HTML
2
star
23

monai-deploy-messaging

MONAI Deploy communication system between clinical data pipelines components
C#
2
star
24

GliMR_workshop

Notebooks for the MONAI session of GliMR workshop. Brain tumour classification and segmentation
Jupyter Notebook
2
star
25

monai-tutorial-miccai-2022

HTML
2
star
26

.github

for the Project-MONAI org level configurations on GitHub
1
star