Views
No views yet
resnet50_imagenet (ImageNet pretrained)pseudo_labelCardiomegaly, Pleural Effusion, Pneumothorax, Consolidation, Atelectasis, Edema| Class | AUROC |
|---|---|
| Cardiomegaly | 0.7917 |
| Pleural Effusion | 0.9046 |
| Pneumothorax | 0.8158 |
| Consolidation | 0.8954 |
| Atelectasis | 0.8072 |
| Edema | 0.8938 |
1from src.utils.hub import load_from_hub
2
3model = load_from_hub("loihuynh/semisub-cxr-pseudo_label-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}