Git Product home page Git Product logo

pneumothorax_detection's Introduction

Pneumothorax Identification from X-Ray Images

Open In Colab


This repo contains my solution to the SIIM-ACR Pneumothorax Segmentation; Identify Pneumothorax Disease in Chest X-Rays challenge. The challenge consists on detecting pneumothorax disease (i.e. collapsed lung disease) from x-ray images and masking the location of the disease within the x-ray image.

The solution consists on a two-step approach.
  1. The first step is to run the images through an ensemble of EfficientNet (Tan & Le 2020) based binary image classifiers to determine whether the x-ray presents pneumothorax disease.

  2. The second step, runs the image through an ensemble of Unet (Ronneberger et al., 2015) and Unet ++ (Zhou et al., 2019) networks with EfficientNet backbones to identify the location of the disease.

This approach achieves a Dice coefficient of 0.8522 in the offcial private test data of the competition, on par with the top 3% of the results.

Re-running the Notebook

  • Open the notebook in Colab and select TPU as accelerator (recommended).
  • Update the GCS Path as indicated in the notebook
  • Run all

About the Dataset

To train using TPUs, I extracted the original data from DICOM files (X-Rays, patient metadata) and CSV files (mask RLE encodings) and placed it in TFRec files. The original DICOM and CSV data can be found here. The TFRecs used in the notebook can be found here.

Acknowledgements:

Thanks to The Society for Imaging Informatics in Medicine (SIIM) and the American College of Radiology (ACR) for creating and providing the dataset.

References:

  • Ronneberger O., Fischer, P., & Brox, T. (2015). U-Net: Convolutional Networks for Biomedical Image Segmentation. arXiv:1505.04597v1.
  • Tan, M., & Le, Q. V. (2020). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. arXiv:1905.11946v5.
  • Zhou, Z., Siddiquee, M., Tajbakhsh, N., & Liang, J. (2019). UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentation. arXiv:1912.05074v2.

pneumothorax_detection's People

Contributors

reyvaz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.