Views
No views yet
resnet50_imagenet (ImageNet pretrained)supervisedCardiomegaly, Pleural Effusion, Pneumothorax, Consolidation, Atelectasis, Edema| Class | AUROC |
|---|---|
| Cardiomegaly | 0.7625 |
| Pleural Effusion | 0.9194 |
| Pneumothorax | 0.8520 |
| Consolidation | 0.8323 |
| Atelectasis | 0.8182 |
| Edema | 0.9135 |
1from src.utils.hub import load_from_hub
2
3model = load_from_hub("loihuynh/semisub-cxr-supervised-0.2")
4model.eval()
5
6# Run inference on a preprocessed image tensor (1, 3, 224, 224)
7import torch
8with torch.no_grad():
9 logits = model(image_tensor)
10 probabilities = torch.sigmoid(logits)1@inproceedings{irvin2019chexpert,
2 title={CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparison},
3 author={Irvin, Jeremy and others},
4 booktitle={AAAI},
5 year={2019}
6}