Downloads · 30 days
0
mobadara/pneumonia-densenet121
pneumonia-densenet121 is a image classification model from mobadara. Use it when you need a label for an image. The card lists the license as mit.
This is a fine-tuned DenseNet121 model trained to classify chest X-rays into two categories: NORMAL and PNEUMONIA. It was developed as part of a precision diagnostics AI pipeline to assist clinical workflows.
Downloads · 30 days
0
Access
Public
Updated May 28, 2026
Repo size
29.5 MB
Likes
0
Public
Click a slice to open those files.
.pth29.5 MB · 100%
From the Hugging Face model README
This is a fine-tuned DenseNet121 model trained to classify chest X-rays into two categories: NORMAL and PNEUMONIA. It was developed as part of a precision diagnostics AI pipeline to assist clinical workflows.
To handle the severe class imbalance inherent in the dataset, dynamic class weights were applied to the PyTorch CrossEntropyLoss function, heavily penalizing false negatives to prioritize patient safety.
Trained on the Kaggle Chest X-Ray Images (Pneumonia) dataset. All images were normalized and resized to 224x224. Light data augmentation (rotation and color jittering) was applied to the training set to prevent overfitting.
The model was evaluated on a completely unseen test dataset consisting of 624 images.
The high recall indicates the model heavily prioritizes catching pathology, treating false positives as an acceptable clinical trade-off requiring secondary physician review.