Upload vit_base_patch16_224 multi-label model (AUC: 0.7595)
Browse files- .gitattributes +2 -0
- README.md +171 -0
- auroc_comparison_chexnet_vit.png +3 -0
- comparison_chexnet_vs_vit.png +3 -0
- config.json +49 -0
- pytorch_model.bin +3 -0
- run_report.json +354 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
auroc_comparison_chexnet_vit.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
comparison_chexnet_vs_vit.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- pytorch
|
| 4 |
+
- image-classification
|
| 5 |
+
- medical-imaging
|
| 6 |
+
- chest-x-ray
|
| 7 |
+
- multi-label-classification
|
| 8 |
+
- chexnet
|
| 9 |
+
- vit-base-patch16-224
|
| 10 |
+
license: mit
|
| 11 |
+
datasets:
|
| 12 |
+
- alkzar90/NIH-Chest-X-ray-dataset
|
| 13 |
+
language:
|
| 14 |
+
- en
|
| 15 |
+
metrics:
|
| 16 |
+
- accuracy
|
| 17 |
+
- f1
|
| 18 |
+
- roc_auc
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# 🫁 ViT-Base-Patch16-224 - Multi-Label Chest X-ray Classification (14 Pathologies)
|
| 22 |
+
|
| 23 |
+
Ce modèle a été entraîné pour la classification multi-label de **14 pathologies thoraciques**
|
| 24 |
+
à partir de radiographies X-ray du dataset ChestX-ray14.
|
| 25 |
+
|
| 26 |
+
## 📋 Description
|
| 27 |
+
|
| 28 |
+
- **Architecture**: ViT-Base-Patch16-224
|
| 29 |
+
- **Tâche**: Classification multi-label (14 pathologies)
|
| 30 |
+
- **Dataset**: [NIH Chest X-ray (ChestX-ray14)](https://huggingface.co/datasets/alkzar90/NIH-Chest-X-ray-dataset)
|
| 31 |
+
- **Framework**: PyTorch
|
| 32 |
+
- **Image Size**: 224×224
|
| 33 |
+
|
| 34 |
+
## 📊 Performance Globale
|
| 35 |
+
|
| 36 |
+
| Métrique | Valeur |
|
| 37 |
+
|----------|--------|
|
| 38 |
+
| **AUC-ROC (macro)** | **0.7595** |
|
| 39 |
+
| AUC-ROC (micro) | 0.8191 |
|
| 40 |
+
| F1 (macro) | 0.0916 |
|
| 41 |
+
| mAP | 0.2041 |
|
| 42 |
+
|
| 43 |
+
### Comparaison avec l'article CheXNet
|
| 44 |
+
|
| 45 |
+
| Modèle | AUC Macro | Δ |
|
| 46 |
+
|--------|-----------|---|
|
| 47 |
+
| CheXNet (article) | 0.8414 | - |
|
| 48 |
+
| **Notre modèle** | **0.7595** | -0.0819 |
|
| 49 |
+
|
| 50 |
+
## 📈 Performance par Pathologie
|
| 51 |
+
|
| 52 |
+
| Pathologie | AUROC | F1 | Support |
|
| 53 |
+
|------------|-------|----|---------|
|
| 54 |
+
| Atelectasis | 0.7253 | 0.0457 | 3279 |
|
| 55 |
+
| Cardiomegaly | 0.8585 | 0.2737 | 1069 |
|
| 56 |
+
| Effusion | 0.7918 | 0.3613 | 4658 |
|
| 57 |
+
| Infiltration | 0.6662 | 0.2098 | 6112 |
|
| 58 |
+
| Mass | 0.7563 | 0.1563 | 1748 |
|
| 59 |
+
| Nodule | 0.6822 | 0.0322 | 1623 |
|
| 60 |
+
| Pneumonia | 0.6705 | 0.0000 | 555 |
|
| 61 |
+
| Pneumothorax | 0.7889 | 0.0729 | 2665 |
|
| 62 |
+
| Consolidation | 0.7221 | 0.0129 | 1815 |
|
| 63 |
+
| Edema | 0.8229 | 0.0796 | 925 |
|
| 64 |
+
| Emphysema | 0.7516 | 0.0159 | 1093 |
|
| 65 |
+
| Fibrosis | 0.7701 | 0.0000 | 435 |
|
| 66 |
+
| Pleural_Thickening | 0.7429 | 0.0000 | 1143 |
|
| 67 |
+
| Hernia | 0.8836 | 0.0227 | 86 |
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
## 🏷️ Les 14 Pathologies
|
| 71 |
+
|
| 72 |
+
| ID | Pathologie |
|
| 73 |
+
|----|------------|
|
| 74 |
+
| 0 | Atelectasis |
|
| 75 |
+
| 1 | Cardiomegaly |
|
| 76 |
+
| 2 | Effusion |
|
| 77 |
+
| 3 | Infiltration |
|
| 78 |
+
| 4 | Mass |
|
| 79 |
+
| 5 | Nodule |
|
| 80 |
+
| 6 | Pneumonia |
|
| 81 |
+
| 7 | Pneumothorax |
|
| 82 |
+
| 8 | Consolidation |
|
| 83 |
+
| 9 | Edema |
|
| 84 |
+
| 10 | Emphysema |
|
| 85 |
+
| 11 | Fibrosis |
|
| 86 |
+
| 12 | Pleural_Thickening |
|
| 87 |
+
| 13 | Hernia |
|
| 88 |
+
|
| 89 |
+
## ⚙️ Configuration d'entraînement
|
| 90 |
+
|
| 91 |
+
```json
|
| 92 |
+
{
|
| 93 |
+
"data_variant": "full",
|
| 94 |
+
"batch_size": 16,
|
| 95 |
+
"image_size": 224,
|
| 96 |
+
"num_classes": 14,
|
| 97 |
+
"learning_rate": 0.0001,
|
| 98 |
+
"num_epochs": 50,
|
| 99 |
+
"scheduler": "ReduceLROnPlateau (factor=0.5, patience=5)",
|
| 100 |
+
"optimizer": "AdamW (weight_decay=0.01)",
|
| 101 |
+
"loss": "BCEWithLogitsLoss (non pond\u00e9r\u00e9e)"
|
| 102 |
+
}
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
## 🚀 Utilisation
|
| 106 |
+
|
| 107 |
+
```python
|
| 108 |
+
import torch
|
| 109 |
+
from torchvision import transforms
|
| 110 |
+
from PIL import Image
|
| 111 |
+
|
| 112 |
+
# Charger le modèle
|
| 113 |
+
# Pour ViT
|
| 114 |
+
import timm
|
| 115 |
+
|
| 116 |
+
model = timm.create_model(
|
| 117 |
+
'vit_base_patch16_224',
|
| 118 |
+
pretrained=False,
|
| 119 |
+
num_classes=14
|
| 120 |
+
)
|
| 121 |
+
model.load_state_dict(torch.load('pytorch_model.bin', map_location='cpu'))
|
| 122 |
+
model.eval()
|
| 123 |
+
|
| 124 |
+
# Préprocessing
|
| 125 |
+
transform = transforms.Compose([
|
| 126 |
+
transforms.Resize((224, 224)),
|
| 127 |
+
transforms.ToTensor(),
|
| 128 |
+
transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
|
| 129 |
+
])
|
| 130 |
+
|
| 131 |
+
# Pathologies
|
| 132 |
+
PATHOLOGIES = [
|
| 133 |
+
"Atelectasis", "Cardiomegaly", "Effusion", "Infiltration",
|
| 134 |
+
"Mass", "Nodule", "Pneumonia", "Pneumothorax", "Consolidation",
|
| 135 |
+
"Edema", "Emphysema", "Fibrosis", "Pleural_Thickening", "Hernia"
|
| 136 |
+
]
|
| 137 |
+
|
| 138 |
+
# Prédiction
|
| 139 |
+
image = Image.open('chest_xray.png').convert('RGB')
|
| 140 |
+
input_tensor = transform(image).unsqueeze(0)
|
| 141 |
+
|
| 142 |
+
with torch.no_grad():
|
| 143 |
+
logits = model(input_tensor)
|
| 144 |
+
probs = torch.sigmoid(logits)
|
| 145 |
+
|
| 146 |
+
# Afficher les probabilités
|
| 147 |
+
for name, prob in zip(PATHOLOGIES, probs[0]):
|
| 148 |
+
print(f"{name}: {prob:.4f}")
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+
## 📚 Citation
|
| 152 |
+
|
| 153 |
+
```bibtex
|
| 154 |
+
@inproceedings{Wang_2017,
|
| 155 |
+
title = {ChestX-Ray8: Hospital-Scale Chest X-Ray Database and Benchmarks},
|
| 156 |
+
author = {Wang, Xiaosong and Peng, Yifan and Lu, Le and Lu, Zhiyong and Bagheri, Mohammadhadi and Summers, Ronald M},
|
| 157 |
+
booktitle = {IEEE CVPR},
|
| 158 |
+
year = {2017}
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
@article{rajpurkar2017chexnet,
|
| 162 |
+
title={CheXNet: Radiologist-Level Pneumonia Detection on Chest X-Rays with Deep Learning},
|
| 163 |
+
author={Rajpurkar, Pranav and others},
|
| 164 |
+
journal={arXiv preprint arXiv:1711.05225},
|
| 165 |
+
year={2017}
|
| 166 |
+
}
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
## 📄 License
|
| 170 |
+
|
| 171 |
+
MIT License
|
auroc_comparison_chexnet_vit.png
ADDED
|
Git LFS Details
|
comparison_chexnet_vs_vit.png
ADDED
|
Git LFS Details
|
config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "vit_base_patch16_224",
|
| 3 |
+
"model_name": "vit_base_patch16_224",
|
| 4 |
+
"num_classes": 14,
|
| 5 |
+
"class_names": [
|
| 6 |
+
"Atelectasis",
|
| 7 |
+
"Cardiomegaly",
|
| 8 |
+
"Effusion",
|
| 9 |
+
"Infiltration",
|
| 10 |
+
"Mass",
|
| 11 |
+
"Nodule",
|
| 12 |
+
"Pneumonia",
|
| 13 |
+
"Pneumothorax",
|
| 14 |
+
"Consolidation",
|
| 15 |
+
"Edema",
|
| 16 |
+
"Emphysema",
|
| 17 |
+
"Fibrosis",
|
| 18 |
+
"Pleural_Thickening",
|
| 19 |
+
"Hernia"
|
| 20 |
+
],
|
| 21 |
+
"image_size": 224,
|
| 22 |
+
"task": "multi-label-classification",
|
| 23 |
+
"dataset": "NIH Chest X-ray (ChestX-ray14)",
|
| 24 |
+
"training_config": {
|
| 25 |
+
"data_variant": "full",
|
| 26 |
+
"batch_size": 16,
|
| 27 |
+
"image_size": 224,
|
| 28 |
+
"num_classes": 14,
|
| 29 |
+
"learning_rate": 0.0001,
|
| 30 |
+
"num_epochs": 50,
|
| 31 |
+
"scheduler": "ReduceLROnPlateau (factor=0.5, patience=5)",
|
| 32 |
+
"optimizer": "AdamW (weight_decay=0.01)",
|
| 33 |
+
"loss": "BCEWithLogitsLoss (non pond\u00e9r\u00e9e)"
|
| 34 |
+
},
|
| 35 |
+
"metrics": {
|
| 36 |
+
"auc_macro": 0.7594917020663023,
|
| 37 |
+
"auc_micro": 0.8191216196817769,
|
| 38 |
+
"auc_weighted": 0.7393044150431767,
|
| 39 |
+
"f1_macro": 0.09163418365201925,
|
| 40 |
+
"f1_micro": 0.1665905283995736,
|
| 41 |
+
"f1_weighted": 0.1486175695741358,
|
| 42 |
+
"precision_macro": 0.3352479370599724,
|
| 43 |
+
"precision_micro": 0.48587670989518567,
|
| 44 |
+
"recall_macro": 0.05992412756010187,
|
| 45 |
+
"recall_micro": 0.10052929500845402,
|
| 46 |
+
"mAP": 0.20411386154092143
|
| 47 |
+
},
|
| 48 |
+
"uploaded_at": "2025-12-06T23:55:15.974422"
|
| 49 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b88237f468a2998cd08385f2873d1ea59a22b0bcad3dd55fec8ae7bfda29c6d
|
| 3 |
+
size 343300969
|
run_report.json
ADDED
|
@@ -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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"timestamp_utc": "2025-12-06T23:46:39",
|
| 3 |
+
"model": "ViT (vit_base_patch16_224) Multi-Label",
|
| 4 |
+
"task": "14 pathologies classification",
|
| 5 |
+
"config": {
|
| 6 |
+
"data_variant": "full",
|
| 7 |
+
"batch_size": 16,
|
| 8 |
+
"image_size": 224,
|
| 9 |
+
"num_classes": 14,
|
| 10 |
+
"learning_rate": 0.0001,
|
| 11 |
+
"num_epochs": 50,
|
| 12 |
+
"scheduler": "ReduceLROnPlateau (factor=0.5, patience=5)",
|
| 13 |
+
"optimizer": "AdamW (weight_decay=0.01)",
|
| 14 |
+
"loss": "BCEWithLogitsLoss (non pond\u00e9r\u00e9e)"
|
| 15 |
+
},
|
| 16 |
+
"training": {
|
| 17 |
+
"history": {
|
| 18 |
+
"train_loss": [
|
| 19 |
+
0.15795161853920808,
|
| 20 |
+
0.1514771259932308,
|
| 21 |
+
0.1495829650051838,
|
| 22 |
+
0.14779357858368056,
|
| 23 |
+
0.1466357085110594,
|
| 24 |
+
0.14525542317449325,
|
| 25 |
+
0.14423545537153284,
|
| 26 |
+
0.1432988069253473,
|
| 27 |
+
0.14245807581171868,
|
| 28 |
+
0.14148768732251146,
|
| 29 |
+
0.14068052766089545,
|
| 30 |
+
0.14042458126487148,
|
| 31 |
+
0.1391056569957907,
|
| 32 |
+
0.13849249350502918,
|
| 33 |
+
0.1376091423363124,
|
| 34 |
+
0.13681426282282455,
|
| 35 |
+
0.1362750617546518,
|
| 36 |
+
0.13535684639963436,
|
| 37 |
+
0.13481243216197838,
|
| 38 |
+
0.1338201760641047,
|
| 39 |
+
0.13303599148936676,
|
| 40 |
+
0.1323197164285935,
|
| 41 |
+
0.13143239429866188,
|
| 42 |
+
0.13038955146046127,
|
| 43 |
+
0.12952067795165,
|
| 44 |
+
0.12843691301154164,
|
| 45 |
+
0.1272272804741659,
|
| 46 |
+
0.12609869775478846,
|
| 47 |
+
0.12479035782191282,
|
| 48 |
+
0.12319476159684818,
|
| 49 |
+
0.121741261945179,
|
| 50 |
+
0.12002663772751448,
|
| 51 |
+
0.11790216172227679,
|
| 52 |
+
0.10852766634013487,
|
| 53 |
+
0.10346905367254892,
|
| 54 |
+
0.09948658696596802,
|
| 55 |
+
0.09563699353869774
|
| 56 |
+
],
|
| 57 |
+
"val_loss": [
|
| 58 |
+
0.15671193304982953,
|
| 59 |
+
0.15331958706685223,
|
| 60 |
+
0.15214708272553637,
|
| 61 |
+
0.1512915269642132,
|
| 62 |
+
0.1497921284060932,
|
| 63 |
+
0.1502516961169331,
|
| 64 |
+
0.14787093696637207,
|
| 65 |
+
0.14803033278714486,
|
| 66 |
+
0.14634910712703758,
|
| 67 |
+
0.14607930663360244,
|
| 68 |
+
0.1463124513791361,
|
| 69 |
+
0.14558507918678018,
|
| 70 |
+
0.14541163907666965,
|
| 71 |
+
0.14452245534705807,
|
| 72 |
+
0.1427664903927312,
|
| 73 |
+
0.1434842435550117,
|
| 74 |
+
0.1447336386937421,
|
| 75 |
+
0.14370530595841116,
|
| 76 |
+
0.142669265046578,
|
| 77 |
+
0.1424816575059719,
|
| 78 |
+
0.14306365069201604,
|
| 79 |
+
0.14173207662710421,
|
| 80 |
+
0.14249003686823378,
|
| 81 |
+
0.14283239976425488,
|
| 82 |
+
0.1431077379533632,
|
| 83 |
+
0.14204279520650448,
|
| 84 |
+
0.14159522234512126,
|
| 85 |
+
0.14250034649551685,
|
| 86 |
+
0.14255158479933158,
|
| 87 |
+
0.1440697303334468,
|
| 88 |
+
0.14438093068721994,
|
| 89 |
+
0.1442309853495159,
|
| 90 |
+
0.1443068087996154,
|
| 91 |
+
0.14927874723803974,
|
| 92 |
+
0.15281767301715896,
|
| 93 |
+
0.1568728258313401,
|
| 94 |
+
0.1633390645030025
|
| 95 |
+
],
|
| 96 |
+
"train_auc_macro": [
|
| 97 |
+
0.625451578883831,
|
| 98 |
+
0.6906600626258499,
|
| 99 |
+
0.7104018717847923,
|
| 100 |
+
0.7250215666240262,
|
| 101 |
+
0.7352947702884968,
|
| 102 |
+
0.7444551905854568,
|
| 103 |
+
0.7547180563568351,
|
| 104 |
+
0.7606128725604394,
|
| 105 |
+
0.76635652627271,
|
| 106 |
+
0.7734457640895069,
|
| 107 |
+
0.7784413391122141,
|
| 108 |
+
0.7828781532509616,
|
| 109 |
+
0.7895272460668252,
|
| 110 |
+
0.7940546568786492,
|
| 111 |
+
0.7992262888737107,
|
| 112 |
+
0.8031265032720657,
|
| 113 |
+
0.8052926494302518,
|
| 114 |
+
0.810928757860809,
|
| 115 |
+
0.8142243348282235,
|
| 116 |
+
0.8207327918213497,
|
| 117 |
+
0.8241436059952091,
|
| 118 |
+
0.8264919213437528,
|
| 119 |
+
0.8319619667793193,
|
| 120 |
+
0.8359461870519015,
|
| 121 |
+
0.841056439776067,
|
| 122 |
+
0.8464174663115808,
|
| 123 |
+
0.8511028512364415,
|
| 124 |
+
0.8557113752386379,
|
| 125 |
+
0.8597649576881208,
|
| 126 |
+
0.8661855166219318,
|
| 127 |
+
0.871011514068717,
|
| 128 |
+
0.8763834117979201,
|
| 129 |
+
0.8825489035720537,
|
| 130 |
+
0.9072618315026882,
|
| 131 |
+
0.9184990290422054,
|
| 132 |
+
0.9254639864094848,
|
| 133 |
+
0.9326443951316907
|
| 134 |
+
],
|
| 135 |
+
"val_auc_macro": [
|
| 136 |
+
0.6919775468440609,
|
| 137 |
+
0.7316169582279445,
|
| 138 |
+
0.7315104047459193,
|
| 139 |
+
0.7398268055941861,
|
| 140 |
+
0.756912761419654,
|
| 141 |
+
0.747133598417906,
|
| 142 |
+
0.7658034727823019,
|
| 143 |
+
0.7653786783970856,
|
| 144 |
+
0.7727286506044241,
|
| 145 |
+
0.7759599770817529,
|
| 146 |
+
0.7779724208666704,
|
| 147 |
+
0.7775259925678133,
|
| 148 |
+
0.7813753581208358,
|
| 149 |
+
0.7868283739144734,
|
| 150 |
+
0.7918397356122081,
|
| 151 |
+
0.7887067843824543,
|
| 152 |
+
0.7930826156884682,
|
| 153 |
+
0.7980492438531822,
|
| 154 |
+
0.7952513916902587,
|
| 155 |
+
0.7997887894653531,
|
| 156 |
+
0.8020735566497487,
|
| 157 |
+
0.8054967472406098,
|
| 158 |
+
0.806244411412705,
|
| 159 |
+
0.7958049611152823,
|
| 160 |
+
0.8056448099858572,
|
| 161 |
+
0.8053965317067766,
|
| 162 |
+
0.8103128673428281,
|
| 163 |
+
0.8003536483912346,
|
| 164 |
+
0.8006700132190374,
|
| 165 |
+
0.8057644890223367,
|
| 166 |
+
0.7998996020776034,
|
| 167 |
+
0.8044427417405859,
|
| 168 |
+
0.8032892661538235,
|
| 169 |
+
0.7935798416729678,
|
| 170 |
+
0.7928453308685848,
|
| 171 |
+
0.7859274987555495,
|
| 172 |
+
0.7827800942977532
|
| 173 |
+
],
|
| 174 |
+
"lr": [
|
| 175 |
+
0.0001,
|
| 176 |
+
0.0001,
|
| 177 |
+
0.0001,
|
| 178 |
+
0.0001,
|
| 179 |
+
0.0001,
|
| 180 |
+
0.0001,
|
| 181 |
+
0.0001,
|
| 182 |
+
0.0001,
|
| 183 |
+
0.0001,
|
| 184 |
+
0.0001,
|
| 185 |
+
0.0001,
|
| 186 |
+
0.0001,
|
| 187 |
+
0.0001,
|
| 188 |
+
0.0001,
|
| 189 |
+
0.0001,
|
| 190 |
+
0.0001,
|
| 191 |
+
0.0001,
|
| 192 |
+
0.0001,
|
| 193 |
+
0.0001,
|
| 194 |
+
0.0001,
|
| 195 |
+
0.0001,
|
| 196 |
+
0.0001,
|
| 197 |
+
0.0001,
|
| 198 |
+
0.0001,
|
| 199 |
+
0.0001,
|
| 200 |
+
0.0001,
|
| 201 |
+
0.0001,
|
| 202 |
+
0.0001,
|
| 203 |
+
0.0001,
|
| 204 |
+
0.0001,
|
| 205 |
+
0.0001,
|
| 206 |
+
0.0001,
|
| 207 |
+
5e-05,
|
| 208 |
+
5e-05,
|
| 209 |
+
5e-05,
|
| 210 |
+
5e-05,
|
| 211 |
+
5e-05
|
| 212 |
+
]
|
| 213 |
+
},
|
| 214 |
+
"best_val_loss": 0.14159522234512126,
|
| 215 |
+
"best_val_auc": 0.8103128673428281,
|
| 216 |
+
"best_epoch": 27
|
| 217 |
+
},
|
| 218 |
+
"test_metrics": {
|
| 219 |
+
"global": {
|
| 220 |
+
"auc_macro": 0.7594917020663023,
|
| 221 |
+
"auc_micro": 0.8191216196817769,
|
| 222 |
+
"auc_weighted": 0.7393044150431767,
|
| 223 |
+
"f1_macro": 0.09163418365201925,
|
| 224 |
+
"f1_micro": 0.1665905283995736,
|
| 225 |
+
"f1_weighted": 0.1486175695741358,
|
| 226 |
+
"precision_macro": 0.3352479370599724,
|
| 227 |
+
"precision_micro": 0.48587670989518567,
|
| 228 |
+
"recall_macro": 0.05992412756010187,
|
| 229 |
+
"recall_micro": 0.10052929500845402,
|
| 230 |
+
"mAP": 0.20411386154092143
|
| 231 |
+
},
|
| 232 |
+
"per_class": {
|
| 233 |
+
"Atelectasis": {
|
| 234 |
+
"auc": 0.7253292384102571,
|
| 235 |
+
"f1": 0.04566473988439306,
|
| 236 |
+
"precision": 0.43646408839779005,
|
| 237 |
+
"recall": 0.02409271119243672,
|
| 238 |
+
"support": 3279
|
| 239 |
+
},
|
| 240 |
+
"Cardiomegaly": {
|
| 241 |
+
"auc": 0.8585349117749351,
|
| 242 |
+
"f1": 0.2736842105263158,
|
| 243 |
+
"precision": 0.547752808988764,
|
| 244 |
+
"recall": 0.1824134705332086,
|
| 245 |
+
"support": 1069
|
| 246 |
+
},
|
| 247 |
+
"Effusion": {
|
| 248 |
+
"auc": 0.7918250619578521,
|
| 249 |
+
"f1": 0.3612588015519471,
|
| 250 |
+
"precision": 0.546284224250326,
|
| 251 |
+
"recall": 0.2698583082868184,
|
| 252 |
+
"support": 4658
|
| 253 |
+
},
|
| 254 |
+
"Infiltration": {
|
| 255 |
+
"auc": 0.6662446796525757,
|
| 256 |
+
"f1": 0.20977622202775348,
|
| 257 |
+
"precision": 0.4446210916799152,
|
| 258 |
+
"recall": 0.13727094240837695,
|
| 259 |
+
"support": 6112
|
| 260 |
+
},
|
| 261 |
+
"Mass": {
|
| 262 |
+
"auc": 0.7562567792049877,
|
| 263 |
+
"f1": 0.15633672525439407,
|
| 264 |
+
"precision": 0.4082125603864734,
|
| 265 |
+
"recall": 0.09668192219679633,
|
| 266 |
+
"support": 1748
|
| 267 |
+
},
|
| 268 |
+
"Nodule": {
|
| 269 |
+
"auc": 0.6821773771525006,
|
| 270 |
+
"f1": 0.032238805970149255,
|
| 271 |
+
"precision": 0.5192307692307693,
|
| 272 |
+
"recall": 0.0166358595194085,
|
| 273 |
+
"support": 1623
|
| 274 |
+
},
|
| 275 |
+
"Pneumonia": {
|
| 276 |
+
"auc": 0.6704625315383671,
|
| 277 |
+
"f1": 0.0,
|
| 278 |
+
"precision": 0.0,
|
| 279 |
+
"recall": 0.0,
|
| 280 |
+
"support": 555
|
| 281 |
+
},
|
| 282 |
+
"Pneumothorax": {
|
| 283 |
+
"auc": 0.7888961934338786,
|
| 284 |
+
"f1": 0.07288016818500351,
|
| 285 |
+
"precision": 0.5502645502645502,
|
| 286 |
+
"recall": 0.03902439024390244,
|
| 287 |
+
"support": 2665
|
| 288 |
+
},
|
| 289 |
+
"Consolidation": {
|
| 290 |
+
"auc": 0.7220871281481165,
|
| 291 |
+
"f1": 0.012868632707774798,
|
| 292 |
+
"precision": 0.24,
|
| 293 |
+
"recall": 0.006611570247933884,
|
| 294 |
+
"support": 1815
|
| 295 |
+
},
|
| 296 |
+
"Edema": {
|
| 297 |
+
"auc": 0.8228541662330322,
|
| 298 |
+
"f1": 0.07955596669750231,
|
| 299 |
+
"precision": 0.27564102564102566,
|
| 300 |
+
"recall": 0.046486486486486484,
|
| 301 |
+
"support": 925
|
| 302 |
+
},
|
| 303 |
+
"Emphysema": {
|
| 304 |
+
"auc": 0.7515767903244963,
|
| 305 |
+
"f1": 0.01588702559576346,
|
| 306 |
+
"precision": 0.225,
|
| 307 |
+
"recall": 0.008234217749313814,
|
| 308 |
+
"support": 1093
|
| 309 |
+
},
|
| 310 |
+
"Fibrosis": {
|
| 311 |
+
"auc": 0.7700539559718172,
|
| 312 |
+
"f1": 0.0,
|
| 313 |
+
"precision": 0.0,
|
| 314 |
+
"recall": 0.0,
|
| 315 |
+
"support": 435
|
| 316 |
+
},
|
| 317 |
+
"Pleural_Thickening": {
|
| 318 |
+
"auc": 0.7429438529728626,
|
| 319 |
+
"f1": 0.0,
|
| 320 |
+
"precision": 0.0,
|
| 321 |
+
"recall": 0.0,
|
| 322 |
+
"support": 1143
|
| 323 |
+
},
|
| 324 |
+
"Hernia": {
|
| 325 |
+
"auc": 0.8836411621525531,
|
| 326 |
+
"f1": 0.022727272727272728,
|
| 327 |
+
"precision": 0.5,
|
| 328 |
+
"recall": 0.011627906976744186,
|
| 329 |
+
"support": 86
|
| 330 |
+
}
|
| 331 |
+
}
|
| 332 |
+
},
|
| 333 |
+
"comparison_with_article": {
|
| 334 |
+
"vit_mean_auc": 0.7594917020663023,
|
| 335 |
+
"article_mean_auc": 0.8413785714285714,
|
| 336 |
+
"delta": -0.08188686936226908
|
| 337 |
+
},
|
| 338 |
+
"pathology_labels": [
|
| 339 |
+
"Atelectasis",
|
| 340 |
+
"Cardiomegaly",
|
| 341 |
+
"Effusion",
|
| 342 |
+
"Infiltration",
|
| 343 |
+
"Mass",
|
| 344 |
+
"Nodule",
|
| 345 |
+
"Pneumonia",
|
| 346 |
+
"Pneumothorax",
|
| 347 |
+
"Consolidation",
|
| 348 |
+
"Edema",
|
| 349 |
+
"Emphysema",
|
| 350 |
+
"Fibrosis",
|
| 351 |
+
"Pleural_Thickening",
|
| 352 |
+
"Hernia"
|
| 353 |
+
]
|
| 354 |
+
}
|