Official Tutorials

MONAI tutorials can be found on the GitHub page.

These tutorials require Jupiter Notebooks:

python -m pip install -U notebook

Some tutorials require optional dependencies, which should have already been installed. In case you get import errors, run:

pip install -r https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/requirements-dev.txt

Run the notebooks from Colab

Data

You should keep all your datasets organized so you don’t end up downloading the same datasets again. The following tutorials rely on the environment variable MONAI_DATA_DIRECTORY to find the path of your datasets. Make a data folder in your MONAI folder. Add it as an environment variable to bashrc by running nano ~/.bashrc and adding export MONAI_DATA_DIRECTORY=~/MONAI/data to the end. Apply the change using source ~/.bashrc. This allows you to save results and reuse downloads.