Views
No views yet
resnet50_imagenet (ImageNet pretrained)supervisedCardiomegaly, Pleural Effusion, Pneumothorax, Consolidation, Atelectasis, Edema| Class | AUROC |
|---|---|
| Cardiomegaly | 0.8479 |
| Pleural Effusion | 0.8972 |
| Pneumothorax | 0.7150 |
| Consolidation | 0.9103 |
| Atelectasis | 0.7289 |
| Edema | 0.8958 |
1from src.utils.hub import load_from_hub
2
3model = load_from_hub("loihuynh/semisub-cxr-supervised-0.1")
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}