Git Product home page Git Product logo

mano3-1 / covidnet Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 2.14 MB

The aim is not only to make a model which can classify the chest x-ray data but also to extract the heat maps of the x-ray for faster diagnosis and making it more reliable to use in real time.

Python 0.35% Jupyter Notebook 99.65%
gradcam covid-data lungs deeplearning self-supervised-learning denoising-autoencoders efficientnetb7

covidnet's Introduction

CovidNet

Run the Inference.ipynb in colab by opening it and clicking it on open in colab button.

segmetation model is taken from:https://www.kaggle.com/nikhilpandey360/lung-segmentation-from-chest-x-ray-dataset

covid data is taken from:https://github.com/ieee8023/covid-chestxray-dataset

additional pneumonia data for pretraining is taken from:https://www.kaggle.com/paultimothymooney/chest-xray-pneumonia

link to google drive:https://drive.google.com/drive/folders/18_m0UC6-mbFZ7k8rHxJesZTOEcSp6GIv?usp=sharing

The aim is not only to make a model which can classify the chest x-ray data but also to extract the heat maps of the x-ray for faster diagnosis and making it more reliable to use in real time. Plans include:

  1. using a lung segmenatation model to get rid of unnecessary biases and create new data.
  2. using self super learning to pretrain a CNN model with new data taken from various sources.
  3. fine tuining it on the classification task and getting Grad-cam heatmaps. 4.creating a fully optimised pipeline for the above in one package

Reason to choose X-ray scans and not CT scans is due to the fact that x-ray is cheaper and safer than CT scans and almost all hospitals have them. Results look like:

Covid 19 affected lungs

"Covid 19 affected lungs"

Grad cam of covid 19 affected lungs(input was cropped using Bounding Box model)

"Grad cam of covid 19 affected lungs"

pneumonia affected Lungs

"pneumonia affected Lungs"

gradcam of normal Lungs(input was cropped using Bounding Box model)

"gradcam of pneumonia affected Lungs"

The above results are obtained by training Denoising autoencoder on augmeneted cropped pneumonia dataset and then encoder is taken and re trained it on covid data for classification.But due to high bias in the data the accuracy score it little bit low.We are trying to improve it by using various methods such as outlier detection by generative models(using variational autoencoders to detect the outliers) and active learning.

covidnet's People

Contributors

mano3-1 avatar rootakash avatar

Stargazers

 avatar  avatar

Watchers

 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.