/na_pducnn

Primary LanguageJupyter Notebook

Pneumonia Detection from Chest X-rays using Resnet18 and Vgg16

This is a case study comparing Resnet18 and Vgg16 models for pneumonia detection from chest X-rays. The study includes exploratory data analysis (EDA) and model comparison.

Model

  • Both VGG16 and Resnet18 is implemented from scratch and using pretrained model from PyTorch.
  • If using pretrained model, make sure to enable internet on kaggle.

Datasets

To obtain the datasets necessary for this case study, please download the following Kaggle datasets:

Dataset: https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia

Notebooks

Usage

To reproduce the results or conduct further research, follow these steps:

Method 1

  • Run the notebooks from link.

Method 2

  1. Download the datasets from the provided Kaggle links.
  2. Run the provided Jupyter Notebooks to perform EDA and compare the models.