loihuynh/semisub-cxr-supervised-0.1

Semi-supervised multi-label chest X-ray classifier trained on the CheXpert dataset.

Model Description

  • Architecture: ResNet-50 backbone + Dropout + Linear head (6 classes)
  • Backbone: resnet50_imagenet (ImageNet pretrained)
  • Training setting: supervised
  • Labeled data ratio: 0.1 (10% of training set)
  • Seed: 42
  • Best epoch: 1

Labels

This model predicts the following 6 chest X-ray findings:

Cardiomegaly, Pleural Effusion, Pneumothorax, Consolidation, Atelectasis, Edema

Performance

Macro AUROC: 0.8325

Class AUROC
Cardiomegaly 0.8479
Pleural Effusion 0.8972
Pneumothorax 0.7150
Consolidation 0.9103
Atelectasis 0.7289
Edema 0.8958

Usage

from src.utils.hub import load_from_hub

model = load_from_hub("loihuynh/semisub-cxr-supervised-0.1")
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)

Training Details

  • Dataset: CheXpert
  • Method: Supervised baseline
  • Loss: Binary Cross-Entropy (with masking for pseudo-labels)
  • Image size: 224x224

Citation

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}
}
Downloads last month
14
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support