Skip to content

swathimudda/cxr_classification_covid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Chest X-Ray Image Classification

Note : This is only a learning exercise. This is not a scientifically rigorous study nor will it be published in a journal.

This repository contains a very basic code to perform deep learning on Chest X-Ray images obtained from various sources and classifying them into COVID-19, Pneumonia and Normal using Pytorch and fastai library. No cleaning and optimization has been done so far, as this is a learning exercise I have done after the first lesson of the course Practical Deep Learning for Coders v3. I will work on this further to improve as I learn from the following lessons of the course.

Datasets

Following are the datasets I used for collecting the CXR images :

  1. ChestXray-NIHCC
  2. https://github.com/ieee8023/covid-chestxray-dataset
  3. https://www.kaggle.com/paultimothymooney/chest-xray-pneumonia

For the purpose of this exercise, I excluded Axial, Coronal, L, AP Semi Erect images. All the images are stored in Google Cloud Storage and the training is done on a Google Compute Engine VM Instance.

Current Results

Following are the results I have obtained using current dataset and model :

Error rate :

Screen Shot 2020-05-04 at 12 25 32 PM

Confusion Matrix :

Screen Shot 2020-05-04 at 12 27 58 PM

References

  1. https://towardsdatascience.com/using-deep-learning-to-detect-ncov-19-from-x-ray-images-1a89701d1acd
  2. https://github.com/lindawangg/COVID-Net
  3. https://docs.fast.ai/

About

Classification of Chest X-Ray images into COVID-19, Pneumonia and Normal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published