Skip to content

Diagnosis of multiple chest pathologies with deep learning and transfer learning developing an explanation of the model. Publication "Deep Transfer Learning for Interpretable Chest X-Ray Diagnosis"

Notifications You must be signed in to change notification settings

carloslago/IntelligentXray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IntelligentXray

Table of Contents

About The Project

Final Degree Project for Computer Engineering, the project is oriented towards the diagnosis of multiple chest pathologies with deep learning, studying the effectiveness of transfer learning techniques. The datasets for the model development are acquired both by Kaggle and CheXpert, a dataset provided by Stanford ML Group, with over 200.000 samples with both frontal and lateral X-rays and 14 different observations.

First, the data is cleaned and prepared for the training process, where several architectures and techniques are tested, like transfer learning from deep convolutional neural networks , such as DenseNet, image augmentation techniques and parallel CNNs. Then, an explanation of the model is performed to detect how it decides whether a certain pathology exists or not and what are the areas of interest for each pathology, comparing its thinking process with state of the art methods used by doctors to check if the predictions have sense.

Finally, the obtained model is deployed on a web server, accesible in this repo, which can be used to upload an X-Ray to get a fast real-time analysis. An additional case motivated by the current situation has also been studied, using transfer learning to detect COVID-19 and differentiate it from usual pneumonia, reaching an accuracy higher than 90% and an AUC of 0.98.

Publication (September, 2021): ''Deep Transfer Learning for Interpretable Chest X-Ray Diagnosis'' was accepted by HAIS 2021.

Built With

Getting Started

In order to train the models its neccesary to acquire the datasets being used and to install all the requirements.

Datasets

The datasets used for the project are the following:

Installation

  1. Clone the repository
git clone https://github.com/carloslago/IntelligentXray.git
  1. Install Python packages
pip install requirements.txt

Packages

  • CheXpert: code for training models for the CheXpert challenge.
  • Covid: COVID-19 network.
  • Pneuomonia: network for the pneuomina kaggle challenge.
  • XretAbnormalities: network with transfer learning from the pneumonia case.
  • utils: scripts to reorder datasets csv and get network statistics.

Citations

Feel free to cite the following publication:

 @article{lago_lopez-gazpio_onieva_2021, title={Deep Transfer Learning for interpretable chest X-ray diagnosis}, DOI={10.1007/978-3-030-86271-8_44}, journal={Lecture Notes in Computer Science}, author={Lago, C. and Lopez-Gazpio, I. and Onieva, E.}, year={2021}, pages={524–537}} 

About

Diagnosis of multiple chest pathologies with deep learning and transfer learning developing an explanation of the model. Publication "Deep Transfer Learning for Interpretable Chest X-Ray Diagnosis"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages