Downloads · 30 days
0
Bunsya/E03_ResNet18_Scheduler_Chest_XRay
E03_ResNet18_Scheduler_Chest_XRay is a image classification model from Bunsya. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as mit.
This project develops a deep learning image classification model for classifying chest X-ray images into two classes:
Downloads · 30 days
0
Access
Public
Updated Aug 21, 2026
Repo size
44.8 MB
Likes
0
Public
Click a slice to open those files.
.pth44.8 MB · 100%
From the Hugging Face model README
This project develops a deep learning image classification model for classifying chest X-ray images into two classes:
The model uses a pretrained ResNet18 architecture with transfer learning and a StepLR learning-rate scheduler.
This project was developed as part of an AI Engineering Bootcamp final portfolio project.
The final E03 model achieved:
| Metric | Score |
|---|---|
| Test Accuracy | 92.31% |
| Weighted F1-score | 92.16% |
| Macro F1-score | 91.50% |
| Class | Precision | Recall | F1-score |
|---|---|---|---|
| NORMAL | 0.9697 | 0.8205 | 0.8889 |
| PNEUMONIA | 0.9014 | 0.9846 | 0.9412 |
Actual NORMAL: 192 NORMAL, 42 PNEUMONIA
Actual PNEUMONIA: 6 NORMAL, 384 PNEUMONIA
The model was developed using transfer learning with a pretrained ResNet18 network. The final fully connected layer was replaced with a two-class classification layer.
The training process used:
This model is intended for educational and experimental purposes, particularly for demonstrating computer vision and transfer learning workflows.
It should NOT be used as a medical diagnostic system or as a substitute for professional medical assessment.
The model was trained and evaluated on a specific chest X-ray dataset. Its performance may not generalize to images from different hospitals, devices, patient populations, or acquisition protocols.
The model should therefore not be used for clinical decision-making without appropriate external validation, clinical testing, regulatory review, and professional oversight.
The trained model weights are provided in:
E03_ResNet18_Scheduler_best.pth
Bunsya
AI Engineering Bootcamp - Final Portfolio Project