Downloads · 30 days
3
9% of all-time downloads
loihuynh/semisub-cxr-supervised-0.05
semisub-cxr-supervised-0.05 is a machine learning model from loihuynh. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
Semi-supervised multi-label chest X-ray classifier trained on the CheXpert dataset.
Downloads · 30 days
3
9% of all-time downloads
All-time downloads
35
Public
Repo size
94.4 MB
Likes
0
Public
Click a slice to open those files.
.pt94.4 MB · 100%
From the Hugging Face model README
Semi-supervised multi-label chest X-ray classifier trained on the CheXpert dataset.
resnet50_imagenet (ImageNet pretrained)supervisedThis model predicts the following 6 chest X-ray findings:
Cardiomegaly, Pleural Effusion, Pneumothorax, Consolidation, Atelectasis, Edema
Macro AUROC: 0.8429
| Class | AUROC |
|---|---|
| Cardiomegaly | 0.8338 |
| Pleural Effusion | 0.9181 |
| Pneumothorax | 0.7788 |
| Consolidation | 0.9162 |
| Atelectasis | 0.7122 |
| Edema | 0.8982 |
from src.utils.hub import load_from_hub
model = load_from_hub("loihuynh/semisub-cxr-supervised-0.05")
model.eval()
# Run inference on a preprocessed image tensor (1, 3, 224, 224)
import torch
with torch.no_grad():
logits = model(image_tensor)
probabilities = torch.sigmoid(logits)
If you use this model, please cite the CheXpert dataset:
@inproceedings{irvin2019chexpert,
title={CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparison},
author={Irvin, Jeremy and others},
booktitle={AAAI},
year={2019}
}