Ken0965 commited on
Commit
3fb8253
·
verified ·
1 Parent(s): 6903c96

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +74 -0
  2. model.safetensors +3 -0
  3. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SwinForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 18,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.1,
13
+ "embed_dim": 128,
14
+ "encoder_stride": 32,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "hidden_size": 1024,
18
+ "id2label": {
19
+ "0": "Central Serous Chorioretinopathy",
20
+ "1": "Diabetic Retinopathy",
21
+ "2": "Disc Edema",
22
+ "3": "Glaucoma",
23
+ "4": "Healthy",
24
+ "5": "Macular Scar",
25
+ "6": "Myopia",
26
+ "7": "Retinal Detachment",
27
+ "8": "Retinitis Pigmentosa"
28
+ },
29
+ "image_size": 224,
30
+ "initializer_range": 0.02,
31
+ "label2id": {
32
+ "Central Serous Chorioretinopathy": 0,
33
+ "Diabetic Retinopathy": 1,
34
+ "Disc Edema": 2,
35
+ "Glaucoma": 3,
36
+ "Healthy": 4,
37
+ "Macular Scar": 5,
38
+ "Myopia": 6,
39
+ "Retinal Detachment": 7,
40
+ "Retinitis Pigmentosa": 8
41
+ },
42
+ "layer_norm_eps": 1e-05,
43
+ "mlp_ratio": 4.0,
44
+ "model_type": "swin",
45
+ "num_channels": 3,
46
+ "num_heads": [
47
+ 4,
48
+ 8,
49
+ 16,
50
+ 32
51
+ ],
52
+ "num_layers": 4,
53
+ "out_features": [
54
+ "stage4"
55
+ ],
56
+ "out_indices": [
57
+ 4
58
+ ],
59
+ "patch_size": 4,
60
+ "path_norm": true,
61
+ "problem_type": "single_label_classification",
62
+ "qkv_bias": true,
63
+ "stage_names": [
64
+ "stem",
65
+ "stage1",
66
+ "stage2",
67
+ "stage3",
68
+ "stage4"
69
+ ],
70
+ "torch_dtype": "float32",
71
+ "transformers_version": "4.55.2",
72
+ "use_absolute_embeddings": false,
73
+ "window_size": 7
74
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d8d68bad495810bb07e3d0b751a37cf70fcdd002246524c323f92d20137f54a
3
+ size 347527516
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a0938ed0f263ab957dd0ddfa432a2ab69c9e82e116047bb8dcae7c954386841
3
+ size 5777