MD.ai

Notebook Tutorials

Jupyter notebooks that train models on MD.ai data

These notebooks walk through downloading MD.ai data with the Python client and training models on it.

These notebooks were written for earlier versions of the mdai library and of the deep learning frameworks they use, and may need updates to run today. In particular, the mdai.utils.keras_utils and mdai.utils.tensorflow_utils modules they import were removed in mdai 0.16.0.

Introduction to deep learning for medical imaging

The ml-lessons cover downloading and parsing annotations, and training and evaluating models for classification, segmentation and detection.

LessonNotebookData
1. Classify chest vs. abdominal X-rays (TensorFlow/Keras)GitHubProject
2. Segment lungs on X-rays with U-NetGitHubProject
3. Detect pneumonia (RSNA), Kaggle data formatGitHubProject
3. Detect pneumonia (RSNA), with the MD.ai clientGitHubProject

Chest vs. abdomen X-ray classification

Using the Hello World project:

Run a notebook on Google Colab

  1. Open Colab, choose File > Open notebook, and select the GitHub tab.
  2. Paste the notebook's GitHub URL.
  3. To use a GPU, choose Runtime > Change runtime type and select a GPU.

To share notebooks with your project team, add them to the project's Notebooks.

On this page