dima806 commited on
Commit
26d9cd2
1 Parent(s): 278dee3

Upload . with huggingface_hub

Browse files
checkpoint-150/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "no",
13
+ "1": "yes"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "no": 0,
20
+ "yes": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.28.1"
32
+ }
checkpoint-150/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f6998cc66d9abccc151558a59bf49a18a7fff3cfd4dfc08ce7bd34af24f8c71
3
+ size 686518725
checkpoint-150/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.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
checkpoint-150/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6aeffa6c3dc034b1e00c7ff48f4d25548ee5d3257c432f40a18a771ccfb556c
3
+ size 343268717
checkpoint-150/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:297940ead5ab28c9ca795f1f27b80aa2505f6e6f878a5cecc9789065914dadb8
3
+ size 14575
checkpoint-150/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c8dcdc750e17c0e34e7ba218a04181c319f9b4bc8765e711a34bfe504c74f3d
3
+ size 627
checkpoint-150/trainer_state.json ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.2557521462440491,
3
+ "best_model_checkpoint": "brain_tumor_detection/checkpoint-150",
4
+ "epoch": 25.0,
5
+ "global_step": 150,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 1.0,
12
+ "eval_accuracy": 0.40789473684210525,
13
+ "eval_loss": 0.7052505016326904,
14
+ "eval_runtime": 1.0105,
15
+ "eval_samples_per_second": 75.212,
16
+ "eval_steps_per_second": 18.803,
17
+ "step": 6
18
+ },
19
+ {
20
+ "epoch": 2.0,
21
+ "eval_accuracy": 0.4342105263157895,
22
+ "eval_loss": 0.6993026733398438,
23
+ "eval_runtime": 0.9951,
24
+ "eval_samples_per_second": 76.376,
25
+ "eval_steps_per_second": 19.094,
26
+ "step": 12
27
+ },
28
+ {
29
+ "epoch": 3.0,
30
+ "eval_accuracy": 0.5394736842105263,
31
+ "eval_loss": 0.6891827583312988,
32
+ "eval_runtime": 1.0415,
33
+ "eval_samples_per_second": 72.974,
34
+ "eval_steps_per_second": 18.243,
35
+ "step": 18
36
+ },
37
+ {
38
+ "epoch": 4.0,
39
+ "eval_accuracy": 0.6842105263157895,
40
+ "eval_loss": 0.6738103628158569,
41
+ "eval_runtime": 1.2109,
42
+ "eval_samples_per_second": 62.762,
43
+ "eval_steps_per_second": 15.69,
44
+ "step": 24
45
+ },
46
+ {
47
+ "epoch": 5.0,
48
+ "eval_accuracy": 0.618421052631579,
49
+ "eval_loss": 0.6516199707984924,
50
+ "eval_runtime": 1.0165,
51
+ "eval_samples_per_second": 74.764,
52
+ "eval_steps_per_second": 18.691,
53
+ "step": 30
54
+ },
55
+ {
56
+ "epoch": 6.0,
57
+ "eval_accuracy": 0.6052631578947368,
58
+ "eval_loss": 0.6271821856498718,
59
+ "eval_runtime": 0.9975,
60
+ "eval_samples_per_second": 76.191,
61
+ "eval_steps_per_second": 19.048,
62
+ "step": 36
63
+ },
64
+ {
65
+ "epoch": 7.0,
66
+ "eval_accuracy": 0.618421052631579,
67
+ "eval_loss": 0.5994009971618652,
68
+ "eval_runtime": 1.0279,
69
+ "eval_samples_per_second": 73.939,
70
+ "eval_steps_per_second": 18.485,
71
+ "step": 42
72
+ },
73
+ {
74
+ "epoch": 8.0,
75
+ "eval_accuracy": 0.7105263157894737,
76
+ "eval_loss": 0.5614891052246094,
77
+ "eval_runtime": 1.0228,
78
+ "eval_samples_per_second": 74.307,
79
+ "eval_steps_per_second": 18.577,
80
+ "step": 48
81
+ },
82
+ {
83
+ "epoch": 9.0,
84
+ "eval_accuracy": 0.7763157894736842,
85
+ "eval_loss": 0.5187676548957825,
86
+ "eval_runtime": 1.0689,
87
+ "eval_samples_per_second": 71.101,
88
+ "eval_steps_per_second": 17.775,
89
+ "step": 54
90
+ },
91
+ {
92
+ "epoch": 10.0,
93
+ "eval_accuracy": 0.8421052631578947,
94
+ "eval_loss": 0.4717005789279938,
95
+ "eval_runtime": 1.0653,
96
+ "eval_samples_per_second": 71.339,
97
+ "eval_steps_per_second": 17.835,
98
+ "step": 60
99
+ },
100
+ {
101
+ "epoch": 11.0,
102
+ "eval_accuracy": 0.8552631578947368,
103
+ "eval_loss": 0.4375598728656769,
104
+ "eval_runtime": 1.0074,
105
+ "eval_samples_per_second": 75.442,
106
+ "eval_steps_per_second": 18.86,
107
+ "step": 66
108
+ },
109
+ {
110
+ "epoch": 12.0,
111
+ "eval_accuracy": 0.9078947368421053,
112
+ "eval_loss": 0.4062812924385071,
113
+ "eval_runtime": 1.0229,
114
+ "eval_samples_per_second": 74.301,
115
+ "eval_steps_per_second": 18.575,
116
+ "step": 72
117
+ },
118
+ {
119
+ "epoch": 13.0,
120
+ "eval_accuracy": 0.8947368421052632,
121
+ "eval_loss": 0.37752464413642883,
122
+ "eval_runtime": 1.2355,
123
+ "eval_samples_per_second": 61.515,
124
+ "eval_steps_per_second": 15.379,
125
+ "step": 78
126
+ },
127
+ {
128
+ "epoch": 14.0,
129
+ "eval_accuracy": 0.8947368421052632,
130
+ "eval_loss": 0.3536629378795624,
131
+ "eval_runtime": 0.9853,
132
+ "eval_samples_per_second": 77.132,
133
+ "eval_steps_per_second": 19.283,
134
+ "step": 84
135
+ },
136
+ {
137
+ "epoch": 15.0,
138
+ "eval_accuracy": 0.9210526315789473,
139
+ "eval_loss": 0.3310340642929077,
140
+ "eval_runtime": 1.0435,
141
+ "eval_samples_per_second": 72.829,
142
+ "eval_steps_per_second": 18.207,
143
+ "step": 90
144
+ },
145
+ {
146
+ "epoch": 16.0,
147
+ "eval_accuracy": 0.9342105263157895,
148
+ "eval_loss": 0.3159201145172119,
149
+ "eval_runtime": 1.0605,
150
+ "eval_samples_per_second": 71.667,
151
+ "eval_steps_per_second": 17.917,
152
+ "step": 96
153
+ },
154
+ {
155
+ "epoch": 17.0,
156
+ "eval_accuracy": 0.9342105263157895,
157
+ "eval_loss": 0.2986816465854645,
158
+ "eval_runtime": 1.0851,
159
+ "eval_samples_per_second": 70.038,
160
+ "eval_steps_per_second": 17.51,
161
+ "step": 102
162
+ },
163
+ {
164
+ "epoch": 18.0,
165
+ "eval_accuracy": 0.9342105263157895,
166
+ "eval_loss": 0.28630709648132324,
167
+ "eval_runtime": 0.9943,
168
+ "eval_samples_per_second": 76.436,
169
+ "eval_steps_per_second": 19.109,
170
+ "step": 108
171
+ },
172
+ {
173
+ "epoch": 19.0,
174
+ "eval_accuracy": 0.9342105263157895,
175
+ "eval_loss": 0.2788025438785553,
176
+ "eval_runtime": 1.0222,
177
+ "eval_samples_per_second": 74.352,
178
+ "eval_steps_per_second": 18.588,
179
+ "step": 114
180
+ },
181
+ {
182
+ "epoch": 20.0,
183
+ "eval_accuracy": 0.9342105263157895,
184
+ "eval_loss": 0.27185192704200745,
185
+ "eval_runtime": 0.99,
186
+ "eval_samples_per_second": 76.764,
187
+ "eval_steps_per_second": 19.191,
188
+ "step": 120
189
+ },
190
+ {
191
+ "epoch": 21.0,
192
+ "eval_accuracy": 0.9342105263157895,
193
+ "eval_loss": 0.266582190990448,
194
+ "eval_runtime": 1.0276,
195
+ "eval_samples_per_second": 73.958,
196
+ "eval_steps_per_second": 18.49,
197
+ "step": 126
198
+ },
199
+ {
200
+ "epoch": 22.0,
201
+ "eval_accuracy": 0.9342105263157895,
202
+ "eval_loss": 0.2617809474468231,
203
+ "eval_runtime": 1.2589,
204
+ "eval_samples_per_second": 60.368,
205
+ "eval_steps_per_second": 15.092,
206
+ "step": 132
207
+ },
208
+ {
209
+ "epoch": 23.0,
210
+ "eval_accuracy": 0.9342105263157895,
211
+ "eval_loss": 0.25773200392723083,
212
+ "eval_runtime": 1.0381,
213
+ "eval_samples_per_second": 73.213,
214
+ "eval_steps_per_second": 18.303,
215
+ "step": 138
216
+ },
217
+ {
218
+ "epoch": 24.0,
219
+ "eval_accuracy": 0.9342105263157895,
220
+ "eval_loss": 0.256051629781723,
221
+ "eval_runtime": 1.0599,
222
+ "eval_samples_per_second": 71.703,
223
+ "eval_steps_per_second": 17.926,
224
+ "step": 144
225
+ },
226
+ {
227
+ "epoch": 25.0,
228
+ "eval_accuracy": 0.9342105263157895,
229
+ "eval_loss": 0.2557521462440491,
230
+ "eval_runtime": 1.0247,
231
+ "eval_samples_per_second": 74.168,
232
+ "eval_steps_per_second": 18.542,
233
+ "step": 150
234
+ }
235
+ ],
236
+ "max_steps": 150,
237
+ "num_train_epochs": 25,
238
+ "total_flos": 3.429020540445696e+17,
239
+ "trial_name": null,
240
+ "trial_params": null
241
+ }
checkpoint-150/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24af2245e01104d2a86c1ab9f5f0ac0040b31dd1944679f40c0b476bebaea8e3
3
+ size 3579
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "no",
13
+ "1": "yes"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "no": 0,
20
+ "yes": 1
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.28.1"
32
+ }
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.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
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:e6aeffa6c3dc034b1e00c7ff48f4d25548ee5d3257c432f40a18a771ccfb556c
3
+ size 343268717
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24af2245e01104d2a86c1ab9f5f0ac0040b31dd1944679f40c0b476bebaea8e3
3
+ size 3579