HotJellyBean commited on
Commit
bf4dea0
·
verified ·
1 Parent(s): 8b32138

Upload SwinForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +73 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 8,
3
+ "architectures": [
4
+ "SwinForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "dtype": "float32",
15
+ "embed_dim": 128,
16
+ "encoder_stride": 32,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.0,
19
+ "hidden_size": 1024,
20
+ "id2label": {
21
+ "0": "AK",
22
+ "1": "BCC",
23
+ "2": "BKL",
24
+ "3": "DF",
25
+ "4": "MEL",
26
+ "5": "NV",
27
+ "6": "SCC",
28
+ "7": "VASC"
29
+ },
30
+ "image_size": 224,
31
+ "initializer_range": 0.02,
32
+ "label2id": {
33
+ "AK": 0,
34
+ "BCC": 1,
35
+ "BKL": 2,
36
+ "DF": 3,
37
+ "MEL": 4,
38
+ "NV": 5,
39
+ "SCC": 6,
40
+ "VASC": 7
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
+ "transformers_version": "4.57.3",
71
+ "use_absolute_embeddings": false,
72
+ "window_size": 7
73
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eada057239c274dcf90bacfeb17d0c3298dfa3d6f214a26f3a3ca8d2d592f9e5
3
+ size 347523416