Skip to content
Intro to deep learning for medical imaging lesson, by
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
images add project image Aug 27, 2018
.gitignore Initial commit Aug 14, 2018
LICENSE Update Aug 25, 2018
lesson1-xray-images-classification.ipynb fix lesson 1 label ids Sep 16, 2018
lesson2-lung-xrays-segmentation.ipynb reset images and masks after training for proper display Aug 27, 2018
lesson3-rsna-pneumonia-detection-kaggle.ipynb Update lesson3-rsna-pneumonia-detection-kaggle.ipynb Sep 3, 2018
lesson3-rsna-pneumonia-detection-mdai-client-lib.ipynb Update lesson3-rsna-pneumonia-detection-mdai-client-lib.ipynb Aug 29, 2018
pneumonia-detection-clone-project-data.ipynb formatting Aug 29, 2018 Update Aug 24, 2018

Introductory lessons to Deep Learning for medical imaging by

The following are several Jupyter notebooks covering the basics of downloading and parsing annotation data, and training and evaluating different deep learning models for classification, semantic and instance segmentation and object detection problems in the medical imaging domain. The notebooks can be run on Google's colab with GPU (see instruction below).

  • Lesson 1. Classification of chest vs. adominal X-rays using TensorFlow/Keras Github | Annotator
  • Lesson 2. Lung X-Rays Semantic Segmentation using UNets. Github | Annotator
  • Lesson 3. RSNA Pneumonia detection using Kaggle data format Github | Annotator
  • Lesson 3. RSNA Pneumonia detection using python client library Github | Annotator

Note that the mdai client requires an access token, which authenticates you as the user. To create a new token or select an existing token, to go a specific domain (e.g.,, register, then navigate to the "Personal Access Tokens" tab on your user settings page to create and obtain your access token.

The Annotator

The annotator is a powerful web based application, to store and view anonymized medical images (e.g, DICOM) on the cloud, create annotations collaboratively, in real-time, and export annotations, images and labels for training. The python client library can be used to download images and annotations, prepare the datasets, and then used to train and evaluate deep learning models. Further documentation and videos are available at Annotator

Running Jupyter notebooks Colab

It’s easy to run a Jupyter notebook on Google's Colab with free GPU use (time limited).
For example, you can add the Github jupyter notebook path to Select the "GITHUB" tab, and add the Lesson 1 URL:

To use the GPU, in the notebook menu, go to Runtime -> Change runtime type -> switch to Python 3, and turn on GPU. See more colab tips.

Advanced: How to run on Google Cloud Platform with Deep Learning Images

You can also run the notebook with powerful GPUs on the Google Cloud Platform. In this case, you need to authenticate to the Google Cloug Platform, create a private virtual machine instance running a Google's Deep Learning image, and import the lessons. See instructions below.

GCP Deep Learnings Images How To

© 2018, Inc.
Licensed under the Apache License, Version 2.0

You can’t perform that action at this time.