StaAhmed commited on
Commit
04ccc31
·
verified ·
1 Parent(s): fb25129

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +30 -34
  2. model.safetensors +2 -2
config.json CHANGED
@@ -9,45 +9,41 @@
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 1024,
11
  "id2label": {
12
- "0": "venous congestion",
13
- "1": "post-traumatic ribs deformation",
14
- "2": "atelectasis",
15
- "3": "emphysema",
16
- "4": "abscess",
17
- "5": "post-inflammatory changes",
18
- "6": "fracture",
19
- "7": "ards",
20
- "8": "sarcoidosis",
21
- "9": "pneumosclerosis",
22
- "10": "hydrothorax",
23
- "11": "atherosclerosis of the aorta",
24
- "12": "cardiomegaly",
25
- "13": "pneumonia",
26
- "14": "scoliosis",
27
- "15": "hydropneumothorax",
28
- "16": "tuberculosis"
29
  },
30
  "image_size": 224,
31
  "initializer_range": 0.02,
32
  "intermediate_size": 4096,
33
  "label2id": {
34
- "abscess": 4,
35
- "ards": 7,
36
- "atelectasis": 2,
37
- "atherosclerosis of the aorta": 11,
38
- "cardiomegaly": 12,
39
- "emphysema": 3,
40
- "fracture": 6,
41
- "hydropneumothorax": 15,
42
- "hydrothorax": 10,
43
- "pneumonia": 13,
44
- "pneumosclerosis": 9,
45
- "post-inflammatory changes": 5,
46
- "post-traumatic ribs deformation": 1,
47
- "sarcoidosis": 8,
48
- "scoliosis": 14,
49
- "tuberculosis": 16,
50
- "venous congestion": 0
51
  },
52
  "layer_norm_eps": 1e-12,
53
  "model_type": "vit",
 
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 1024,
11
  "id2label": {
12
+ "0": "Edema",
13
+ "1": "Pneumothorax",
14
+ "2": "No Finding",
15
+ "3": "Atelectasis",
16
+ "4": "Hernia",
17
+ "5": "Nodule",
18
+ "6": "Cardiomegaly",
19
+ "7": "Emphysema",
20
+ "8": "Consolidation",
21
+ "9": "Pneumonia",
22
+ "10": "Effusion",
23
+ "11": "Pleural_Thickening",
24
+ "12": "Infiltration",
25
+ "13": "Mass",
26
+ "14": "Fibrosis"
 
 
27
  },
28
  "image_size": 224,
29
  "initializer_range": 0.02,
30
  "intermediate_size": 4096,
31
  "label2id": {
32
+ "Atelectasis": 3,
33
+ "Cardiomegaly": 6,
34
+ "Consolidation": 8,
35
+ "Edema": 0,
36
+ "Effusion": 10,
37
+ "Emphysema": 7,
38
+ "Fibrosis": 14,
39
+ "Hernia": 4,
40
+ "Infiltration": 12,
41
+ "Mass": 13,
42
+ "No Finding": 2,
43
+ "Nodule": 5,
44
+ "Pleural_Thickening": 11,
45
+ "Pneumonia": 9,
46
+ "Pneumothorax": 1
 
 
47
  },
48
  "layer_norm_eps": 1e-12,
49
  "model_type": "vit",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f54714511a262bc43d3279e54b7a4ebf677e98d86ac40d36479d57f0ef961f9a
3
- size 1213322772
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d3060a1984599f5f5b2445bc133e56f50fb20aba5b17565f50f31e3d6b3eeee
3
+ size 1213314572