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.
| Lesson | Notebook | Data |
|---|---|---|
| 1. Classify chest vs. abdominal X-rays (TensorFlow/Keras) | GitHub | Project |
| 2. Segment lungs on X-rays with U-Net | GitHub | Project |
| 3. Detect pneumonia (RSNA), Kaggle data format | GitHub | Project |
| 3. Detect pneumonia (RSNA), with the MD.ai client | GitHub | Project |
Chest vs. abdomen X-ray classification
Using the Hello World project:
Run a notebook on Google Colab
- Open Colab, choose File > Open notebook, and select the GitHub tab.
- Paste the notebook's GitHub URL.
- 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.