Giter Site home page Giter Site logo

faust-prime / x-ray-images-classification-with-keras-tensorflow Goto Github PK

View Code? Open in Web Editor NEW
9.0 0.0 12.0 89.48 MB

ConvNet (CNN) implementation to classify x-ray medical images

Jupyter Notebook 100.00%
cnn cnn-keras cnn-tensorflow cnn-for-visual-recognition keras-implementations keras-layer keras-neural-networks tensorflow tensorflow-examples augmentation medical-image-processing medical medical-image-analysis computer-vision

x-ray-images-classification-with-keras-tensorflow's Introduction

NIH ChestXray14 image classification

About

We are using the ChestXray14 raw chest x-ray dataset at NIH Clinical Center. The code is inspired by the cat vs. dog image classificaton at Machine Learning Crash Course by Google Developers.

Requirements

Tested in Ubuntu 18.04.1 and MacOS:

  1. Download image data from ChestXray14 source and decompress.
  2. Download and install Anaconda.
  3. Start Anaconda Navigator.
  4. Create TensorFlow environment (Tab "Environments").
  5. Select TensorFlow environment and install: keras, tensorflow, matplotlib, nomkl, h5py, pillow and keras-metrics (pip install keras-metrics).
  6. Install Jupyter Notebook (Tab "Home").

Run

  1. Activate TF environment (Tab "Environments").
  2. Launch Jupyter Notebook (Tab "Home").
  3. Open "CNN.ipynb"-file inside the Jupyter Notebook and run all cells starting at the top.

Improve

  1. Create Deep CNN (more layers).
  2. Add different Dropout layers.
  3. Less image-downscaling (variable: target_size).
  4. Create Transfer learning CNN from InceptionV3 by cutting at 'mixed7' or last convolution layer (VGG, AlexNet, ResNet, DenseNet).
  5. Use data augmentation to balance underrepresented classes.
  6. Play with train/validation split.
  7. Consideration of unbalanced dataset (class_weight='balanced')

x-ray-images-classification-with-keras-tensorflow's People

Contributors

faust-prime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.