MahmoudWSegni
commited on
Commit
•
8bbefac
1
Parent(s):
a6adb06
Training in progress, epoch 0
Browse files- config.json +113 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": "use_amazed",
|
21 |
+
"1": "use_amused",
|
22 |
+
"2": "use_angry",
|
23 |
+
"3": "use_annoyed",
|
24 |
+
"4": "use_ashamed",
|
25 |
+
"5": "use_bored",
|
26 |
+
"6": "use_calm",
|
27 |
+
"7": "use_confused",
|
28 |
+
"8": "use_desiring",
|
29 |
+
"9": "use_disappointed",
|
30 |
+
"10": "use_disgusted",
|
31 |
+
"11": "use_distressed",
|
32 |
+
"12": "use_doubtful",
|
33 |
+
"13": "use_embarrassed",
|
34 |
+
"14": "use_excited",
|
35 |
+
"15": "use_loved",
|
36 |
+
"16": "use_melancholic",
|
37 |
+
"17": "use_pleased",
|
38 |
+
"18": "use_proud",
|
39 |
+
"19": "use_sad",
|
40 |
+
"20": "use_scared",
|
41 |
+
"21": "use_sleepy",
|
42 |
+
"22": "use_surprised",
|
43 |
+
"23": "use_terrified",
|
44 |
+
"24": "use_thoughtful",
|
45 |
+
"25": "use_tired",
|
46 |
+
"26": "use_victorious",
|
47 |
+
"27": "use_worried"
|
48 |
+
},
|
49 |
+
"image_size": 224,
|
50 |
+
"initializer_range": 0.02,
|
51 |
+
"label2id": {
|
52 |
+
"use_amazed": 0,
|
53 |
+
"use_amused": 1,
|
54 |
+
"use_angry": 2,
|
55 |
+
"use_annoyed": 3,
|
56 |
+
"use_ashamed": 4,
|
57 |
+
"use_bored": 5,
|
58 |
+
"use_calm": 6,
|
59 |
+
"use_confused": 7,
|
60 |
+
"use_desiring": 8,
|
61 |
+
"use_disappointed": 9,
|
62 |
+
"use_disgusted": 10,
|
63 |
+
"use_distressed": 11,
|
64 |
+
"use_doubtful": 12,
|
65 |
+
"use_embarrassed": 13,
|
66 |
+
"use_excited": 14,
|
67 |
+
"use_loved": 15,
|
68 |
+
"use_melancholic": 16,
|
69 |
+
"use_pleased": 17,
|
70 |
+
"use_proud": 18,
|
71 |
+
"use_sad": 19,
|
72 |
+
"use_scared": 20,
|
73 |
+
"use_sleepy": 21,
|
74 |
+
"use_surprised": 22,
|
75 |
+
"use_terrified": 23,
|
76 |
+
"use_thoughtful": 24,
|
77 |
+
"use_tired": 25,
|
78 |
+
"use_victorious": 26,
|
79 |
+
"use_worried": 27
|
80 |
+
},
|
81 |
+
"layer_norm_eps": 1e-05,
|
82 |
+
"mlp_ratio": 4.0,
|
83 |
+
"model_type": "swin",
|
84 |
+
"num_channels": 3,
|
85 |
+
"num_heads": [
|
86 |
+
3,
|
87 |
+
6,
|
88 |
+
12,
|
89 |
+
24
|
90 |
+
],
|
91 |
+
"num_layers": 4,
|
92 |
+
"out_features": [
|
93 |
+
"stage4"
|
94 |
+
],
|
95 |
+
"out_indices": [
|
96 |
+
4
|
97 |
+
],
|
98 |
+
"patch_size": 4,
|
99 |
+
"path_norm": true,
|
100 |
+
"problem_type": "single_label_classification",
|
101 |
+
"qkv_bias": true,
|
102 |
+
"stage_names": [
|
103 |
+
"stem",
|
104 |
+
"stage1",
|
105 |
+
"stage2",
|
106 |
+
"stage3",
|
107 |
+
"stage4"
|
108 |
+
],
|
109 |
+
"torch_dtype": "float32",
|
110 |
+
"transformers_version": "4.34.1",
|
111 |
+
"use_absolute_embeddings": false,
|
112 |
+
"window_size": 7
|
113 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c88b2750529776c8b2f1f41b6bd9b3973832b67cc79c95f4e0033c312d8fdc7
|
3 |
+
size 110475246
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b16a8c1a02907bb7289a4f893c7a6ec5612249782b577bf4a487ce23cb205a04
|
3 |
+
size 4600
|