Upload folder using huggingface_hub
Browse files- README.md +27 -0
- label_mapping.json +1 -0
- pytorch_model.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
tags:
|
| 5 |
+
- medical
|
| 6 |
+
- chest-xray
|
| 7 |
+
- pneumonia
|
| 8 |
+
- image-classification
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Chest X-ray Pneumonia Classifier
|
| 12 |
+
|
| 13 |
+
This model is a **ResNet18-based classifier** trained to detect **Pneumonia vs Normal**
|
| 14 |
+
from chest X-ray images.
|
| 15 |
+
|
| 16 |
+
## Labels
|
| 17 |
+
- 0 → Normal
|
| 18 |
+
- 1 → Pneumonia
|
| 19 |
+
|
| 20 |
+
## Input
|
| 21 |
+
- Chest X-ray image
|
| 22 |
+
- Size: 224×224
|
| 23 |
+
- Converted to 3-channel RGB
|
| 24 |
+
|
| 25 |
+
## Disclaimer
|
| 26 |
+
This model is for **research and educational purposes only**.
|
| 27 |
+
It is **not approved for clinical use**.
|
label_mapping.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"label2id": {"Normal": 0, "Pneumonia": 1}, "id2label": {"0": "Normal", "1": "Pneumonia"}}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e26af337ea1411951a24166b38ab06948536a591aa65e7a796e5992d7e38fbc8
|
| 3 |
+
size 44790155
|