amaye15 commited on
Commit
e8b7c34
·
verified ·
1 Parent(s): 660c71e

End of training

Browse files
Files changed (5) hide show
  1. README.md +249 -0
  2. config.json +63 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +45 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/detr-resnet-50
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: results
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # results
15
+
16
+ This model is a fine-tuned version of [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 2.0368
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 1e-05
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 4
42
+ - total_train_batch_size: 32
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - training_steps: 2000
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:------:|:----:|:---------------:|
51
+ | 3.4991 | 0.3137 | 100 | 3.6244 |
52
+ | 3.1728 | 0.3451 | 110 | 3.4319 |
53
+ | 2.7857 | 0.3765 | 120 | 3.2574 |
54
+ | 3.0606 | 0.4078 | 130 | 3.1484 |
55
+ | 2.6704 | 0.4392 | 140 | 3.0390 |
56
+ | 2.7332 | 0.4706 | 150 | 2.9956 |
57
+ | 2.8436 | 0.5020 | 160 | 2.9110 |
58
+ | 2.8464 | 0.5333 | 170 | 2.8551 |
59
+ | 2.1192 | 0.5647 | 180 | 2.8163 |
60
+ | 2.6557 | 0.5961 | 190 | 2.8145 |
61
+ | 2.3224 | 0.6275 | 200 | 2.7858 |
62
+ | 2.6007 | 0.6588 | 210 | 2.7064 |
63
+ | 2.6117 | 0.6902 | 220 | 2.6602 |
64
+ | 2.4549 | 0.7216 | 230 | 2.6368 |
65
+ | 2.5487 | 0.7529 | 240 | 2.6029 |
66
+ | 2.6048 | 0.7843 | 250 | 2.5573 |
67
+ | 2.0348 | 0.8157 | 260 | 2.5203 |
68
+ | 2.4741 | 0.8471 | 270 | 2.4935 |
69
+ | 2.5855 | 0.8784 | 280 | 2.4731 |
70
+ | 2.1076 | 0.9098 | 290 | 2.4283 |
71
+ | 2.3073 | 0.9412 | 300 | 2.3896 |
72
+ | 2.214 | 0.9725 | 310 | 2.3919 |
73
+ | 2.2078 | 1.0039 | 320 | 2.3343 |
74
+ | 2.2391 | 1.0353 | 330 | 2.2970 |
75
+ | 2.3607 | 1.0667 | 340 | 2.2921 |
76
+ | 2.0244 | 1.0980 | 350 | 2.2751 |
77
+ | 2.251 | 1.1294 | 360 | 2.2713 |
78
+ | 2.1133 | 1.1608 | 370 | 2.2701 |
79
+ | 2.124 | 1.1922 | 380 | 2.2618 |
80
+ | 2.1989 | 1.2235 | 390 | 2.2429 |
81
+ | 2.2315 | 1.2549 | 400 | 2.2463 |
82
+ | 2.2398 | 1.2863 | 410 | 2.2386 |
83
+ | 2.261 | 1.3176 | 420 | 2.2360 |
84
+ | 2.2144 | 1.3490 | 430 | 2.2427 |
85
+ | 2.3344 | 1.3804 | 440 | 2.2452 |
86
+ | 2.0412 | 1.4118 | 450 | 2.2092 |
87
+ | 2.0854 | 1.4431 | 460 | 2.2197 |
88
+ | 2.1636 | 1.4745 | 470 | 2.1830 |
89
+ | 1.7776 | 1.5059 | 480 | 2.1904 |
90
+ | 2.1118 | 1.5373 | 490 | 2.2194 |
91
+ | 2.1203 | 1.5686 | 500 | 2.1978 |
92
+ | 2.2468 | 1.6 | 510 | 2.1968 |
93
+ | 2.2992 | 1.6314 | 520 | 2.1963 |
94
+ | 2.2596 | 1.6627 | 530 | 2.1816 |
95
+ | 2.1836 | 1.6941 | 540 | 2.1800 |
96
+ | 2.2672 | 1.7255 | 550 | 2.1679 |
97
+ | 2.0702 | 1.7569 | 560 | 2.1607 |
98
+ | 2.5606 | 1.7882 | 570 | 2.1568 |
99
+ | 2.1392 | 1.8196 | 580 | 2.1578 |
100
+ | 1.9255 | 1.8510 | 590 | 2.1799 |
101
+ | 2.0995 | 1.8824 | 600 | 2.1995 |
102
+ | 2.1153 | 1.9137 | 610 | 2.1741 |
103
+ | 2.2068 | 1.9451 | 620 | 2.1638 |
104
+ | 1.8698 | 1.9765 | 630 | 2.1819 |
105
+ | 1.8849 | 2.0078 | 640 | 2.1807 |
106
+ | 2.0291 | 2.0392 | 650 | 2.1636 |
107
+ | 2.2092 | 2.0706 | 660 | 2.1356 |
108
+ | 2.1117 | 2.1020 | 670 | 2.1682 |
109
+ | 1.8318 | 2.1333 | 680 | 2.1719 |
110
+ | 1.9884 | 2.1647 | 690 | 2.2114 |
111
+ | 2.1933 | 2.1961 | 700 | 2.1526 |
112
+ | 2.2953 | 2.2275 | 710 | 2.1525 |
113
+ | 2.2841 | 2.2588 | 720 | 2.1417 |
114
+ | 1.9865 | 2.2902 | 730 | 2.1399 |
115
+ | 1.9193 | 2.3216 | 740 | 2.1313 |
116
+ | 1.8882 | 2.3529 | 750 | 2.1362 |
117
+ | 1.8967 | 2.3843 | 760 | 2.1454 |
118
+ | 1.9424 | 2.4157 | 770 | 2.1356 |
119
+ | 1.8531 | 2.4471 | 780 | 2.1340 |
120
+ | 1.9435 | 2.4784 | 790 | 2.1413 |
121
+ | 2.0455 | 2.5098 | 800 | 2.1558 |
122
+ | 1.9384 | 2.5412 | 810 | 2.1519 |
123
+ | 2.0826 | 2.5725 | 820 | 2.1381 |
124
+ | 2.0008 | 2.6039 | 830 | 2.1136 |
125
+ | 1.922 | 2.6353 | 840 | 2.1160 |
126
+ | 1.9567 | 2.6667 | 850 | 2.0991 |
127
+ | 2.2798 | 2.6980 | 860 | 2.0998 |
128
+ | 2.4014 | 2.7294 | 870 | 2.0922 |
129
+ | 2.3427 | 2.7608 | 880 | 2.0976 |
130
+ | 2.2701 | 2.7922 | 890 | 2.0823 |
131
+ | 2.1405 | 2.8235 | 900 | 2.1009 |
132
+ | 1.9259 | 2.8549 | 910 | 2.1075 |
133
+ | 2.0055 | 2.8863 | 920 | 2.1041 |
134
+ | 1.9902 | 2.9176 | 930 | 2.0854 |
135
+ | 1.9821 | 2.9490 | 940 | 2.1107 |
136
+ | 2.0292 | 2.9804 | 950 | 2.0901 |
137
+ | 1.9811 | 3.0118 | 960 | 2.1227 |
138
+ | 2.2674 | 3.0431 | 970 | 2.0934 |
139
+ | 2.0632 | 3.0745 | 980 | 2.0935 |
140
+ | 2.1232 | 3.1059 | 990 | 2.0843 |
141
+ | 2.0056 | 3.1373 | 1000 | 2.0891 |
142
+ | 2.0188 | 3.1686 | 1010 | 2.0811 |
143
+ | 2.0898 | 3.2 | 1020 | 2.0848 |
144
+ | 2.1809 | 3.2314 | 1030 | 2.0883 |
145
+ | 2.1636 | 3.2627 | 1040 | 2.0931 |
146
+ | 1.9941 | 3.2941 | 1050 | 2.0894 |
147
+ | 1.9761 | 3.3255 | 1060 | 2.0957 |
148
+ | 1.9908 | 3.3569 | 1070 | 2.0715 |
149
+ | 2.0806 | 3.3882 | 1080 | 2.0774 |
150
+ | 1.9419 | 3.4196 | 1090 | 2.0713 |
151
+ | 1.8643 | 3.4510 | 1100 | 2.0654 |
152
+ | 1.969 | 3.4824 | 1110 | 2.0636 |
153
+ | 2.0104 | 3.5137 | 1120 | 2.0710 |
154
+ | 1.6745 | 3.5451 | 1130 | 2.0551 |
155
+ | 2.047 | 3.5765 | 1140 | 2.0598 |
156
+ | 2.1289 | 3.6078 | 1150 | 2.0426 |
157
+ | 2.1158 | 3.6392 | 1160 | 2.0525 |
158
+ | 1.8543 | 3.6706 | 1170 | 2.0515 |
159
+ | 2.0206 | 3.7020 | 1180 | 2.0508 |
160
+ | 2.1992 | 3.7333 | 1190 | 2.0485 |
161
+ | 1.6875 | 3.7647 | 1200 | 2.0558 |
162
+ | 1.8452 | 3.7961 | 1210 | 2.0543 |
163
+ | 2.2061 | 3.8275 | 1220 | 2.0594 |
164
+ | 2.0418 | 3.8588 | 1230 | 2.0652 |
165
+ | 2.0411 | 3.8902 | 1240 | 2.0679 |
166
+ | 2.0835 | 3.9216 | 1250 | 2.0731 |
167
+ | 1.9003 | 3.9529 | 1260 | 2.0574 |
168
+ | 1.7881 | 3.9843 | 1270 | 2.0777 |
169
+ | 2.1354 | 4.0157 | 1280 | 2.0630 |
170
+ | 1.8935 | 4.0471 | 1290 | 2.0607 |
171
+ | 2.1067 | 4.0784 | 1300 | 2.0576 |
172
+ | 1.8225 | 4.1098 | 1310 | 2.0767 |
173
+ | 1.8132 | 4.1412 | 1320 | 2.0507 |
174
+ | 1.985 | 4.1725 | 1330 | 2.0669 |
175
+ | 2.112 | 4.2039 | 1340 | 2.0836 |
176
+ | 1.7993 | 4.2353 | 1350 | 2.0718 |
177
+ | 1.9784 | 4.2667 | 1360 | 2.0676 |
178
+ | 2.1628 | 4.2980 | 1370 | 2.0525 |
179
+ | 1.876 | 4.3294 | 1380 | 2.0615 |
180
+ | 2.0081 | 4.3608 | 1390 | 2.0736 |
181
+ | 1.8642 | 4.3922 | 1400 | 2.0565 |
182
+ | 1.9308 | 4.4235 | 1410 | 2.0608 |
183
+ | 2.2296 | 4.4549 | 1420 | 2.0553 |
184
+ | 2.0166 | 4.4863 | 1430 | 2.0575 |
185
+ | 2.0422 | 4.5176 | 1440 | 2.0543 |
186
+ | 1.8729 | 4.5490 | 1450 | 2.0552 |
187
+ | 2.0323 | 4.5804 | 1460 | 2.0656 |
188
+ | 1.9935 | 4.6118 | 1470 | 2.0794 |
189
+ | 1.8534 | 4.6431 | 1480 | 2.0685 |
190
+ | 1.8363 | 4.6745 | 1490 | 2.0581 |
191
+ | 1.9679 | 4.7059 | 1500 | 2.0353 |
192
+ | 1.8585 | 4.7373 | 1510 | 2.0334 |
193
+ | 1.9772 | 4.7686 | 1520 | 2.0420 |
194
+ | 1.8753 | 4.8 | 1530 | 2.0427 |
195
+ | 1.8911 | 4.8314 | 1540 | 2.0499 |
196
+ | 2.0614 | 4.8627 | 1550 | 2.0481 |
197
+ | 2.1184 | 4.8941 | 1560 | 2.0481 |
198
+ | 1.9504 | 4.9255 | 1570 | 2.0541 |
199
+ | 2.1337 | 4.9569 | 1580 | 2.0480 |
200
+ | 2.4391 | 4.9882 | 1590 | 2.0416 |
201
+ | 1.72 | 5.0196 | 1600 | 2.0412 |
202
+ | 2.0808 | 5.0510 | 1610 | 2.0458 |
203
+ | 1.8639 | 5.0824 | 1620 | 2.0438 |
204
+ | 1.9462 | 5.1137 | 1630 | 2.0428 |
205
+ | 2.0055 | 5.1451 | 1640 | 2.0366 |
206
+ | 2.0345 | 5.1765 | 1650 | 2.0644 |
207
+ | 1.9321 | 5.2078 | 1660 | 2.0454 |
208
+ | 1.8705 | 5.2392 | 1670 | 2.0394 |
209
+ | 2.0345 | 5.2706 | 1680 | 2.0475 |
210
+ | 1.9992 | 5.3020 | 1690 | 2.0567 |
211
+ | 2.2208 | 5.3333 | 1700 | 2.0558 |
212
+ | 1.8253 | 5.3647 | 1710 | 2.0413 |
213
+ | 2.0765 | 5.3961 | 1720 | 2.0319 |
214
+ | 2.2315 | 5.4275 | 1730 | 2.0360 |
215
+ | 2.2432 | 5.4588 | 1740 | 2.0436 |
216
+ | 2.0666 | 5.4902 | 1750 | 2.0451 |
217
+ | 2.0603 | 5.5216 | 1760 | 2.0296 |
218
+ | 1.6625 | 5.5529 | 1770 | 2.0513 |
219
+ | 2.0946 | 5.5843 | 1780 | 2.0306 |
220
+ | 1.9464 | 5.6157 | 1790 | 2.0315 |
221
+ | 2.0183 | 5.6471 | 1800 | 2.0276 |
222
+ | 2.0794 | 5.6784 | 1810 | 2.0512 |
223
+ | 2.0289 | 5.7098 | 1820 | 2.0369 |
224
+ | 2.1014 | 5.7412 | 1830 | 2.0520 |
225
+ | 1.9159 | 5.7725 | 1840 | 2.0491 |
226
+ | 2.2446 | 5.8039 | 1850 | 2.0508 |
227
+ | 1.9383 | 5.8353 | 1860 | 2.0327 |
228
+ | 2.0132 | 5.8667 | 1870 | 2.0161 |
229
+ | 2.2234 | 5.8980 | 1880 | 2.0406 |
230
+ | 2.2556 | 5.9294 | 1890 | 2.0365 |
231
+ | 2.2061 | 5.9608 | 1900 | 2.0314 |
232
+ | 1.7465 | 5.9922 | 1910 | 2.0543 |
233
+ | 1.9388 | 6.0235 | 1920 | 2.0525 |
234
+ | 1.9223 | 6.0549 | 1930 | 2.0325 |
235
+ | 1.9386 | 6.0863 | 1940 | 2.0282 |
236
+ | 1.9171 | 6.1176 | 1950 | 2.0462 |
237
+ | 1.9319 | 6.1490 | 1960 | 2.0369 |
238
+ | 1.7689 | 6.1804 | 1970 | 2.0364 |
239
+ | 2.0063 | 6.2118 | 1980 | 2.0388 |
240
+ | 2.1053 | 6.2431 | 1990 | 2.0346 |
241
+ | 2.1074 | 6.2745 | 2000 | 2.0368 |
242
+
243
+
244
+ ### Framework versions
245
+
246
+ - Transformers 4.41.2
247
+ - Pytorch 2.3.1
248
+ - Datasets 2.19.2
249
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/detr-resnet-50",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "DetrForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": false,
10
+ "backbone": "resnet50",
11
+ "backbone_config": null,
12
+ "backbone_kwargs": {
13
+ "in_chans": 3,
14
+ "out_indices": [
15
+ 1,
16
+ 2,
17
+ 3,
18
+ 4
19
+ ]
20
+ },
21
+ "bbox_cost": 5,
22
+ "bbox_loss_coefficient": 5,
23
+ "class_cost": 1,
24
+ "classifier_dropout": 0.0,
25
+ "d_model": 256,
26
+ "decoder_attention_heads": 8,
27
+ "decoder_ffn_dim": 2048,
28
+ "decoder_layerdrop": 0.0,
29
+ "decoder_layers": 6,
30
+ "dice_loss_coefficient": 1,
31
+ "dilation": false,
32
+ "dropout": 0.1,
33
+ "encoder_attention_heads": 8,
34
+ "encoder_ffn_dim": 2048,
35
+ "encoder_layerdrop": 0.0,
36
+ "encoder_layers": 6,
37
+ "eos_coefficient": 0.1,
38
+ "giou_cost": 2,
39
+ "giou_loss_coefficient": 2,
40
+ "id2label": {
41
+ "0": "Not Text",
42
+ "1": "Text"
43
+ },
44
+ "init_std": 0.02,
45
+ "init_xavier_std": 1.0,
46
+ "is_encoder_decoder": true,
47
+ "label2id": {
48
+ "Not Text": 0,
49
+ "Text": 1
50
+ },
51
+ "mask_loss_coefficient": 1,
52
+ "max_position_embeddings": 1024,
53
+ "model_type": "detr",
54
+ "num_channels": 3,
55
+ "num_hidden_layers": 6,
56
+ "num_queries": 100,
57
+ "position_embedding_type": "sine",
58
+ "scale_embedding": false,
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.41.2",
61
+ "use_pretrained_backbone": true,
62
+ "use_timm_backbone": true
63
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56522da0a1265dd5ead6352bc05ddca67ea116dc849a29e9400fce8265dfc8bf
3
+ size 166495852
preprocessor_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "annotations",
5
+ "return_segmentation_masks",
6
+ "masks_path",
7
+ "do_resize",
8
+ "size",
9
+ "resample",
10
+ "do_rescale",
11
+ "rescale_factor",
12
+ "do_normalize",
13
+ "do_convert_annotations",
14
+ "image_mean",
15
+ "image_std",
16
+ "do_pad",
17
+ "format",
18
+ "return_tensors",
19
+ "data_format",
20
+ "input_data_format"
21
+ ],
22
+ "do_convert_annotations": true,
23
+ "do_normalize": true,
24
+ "do_pad": true,
25
+ "do_rescale": true,
26
+ "do_resize": true,
27
+ "format": "coco_detection",
28
+ "image_mean": [
29
+ 0.485,
30
+ 0.456,
31
+ 0.406
32
+ ],
33
+ "image_processor_type": "DetrImageProcessor",
34
+ "image_std": [
35
+ 0.229,
36
+ 0.224,
37
+ 0.225
38
+ ],
39
+ "resample": 2,
40
+ "rescale_factor": 0.00392156862745098,
41
+ "size": {
42
+ "longest_edge": 1333,
43
+ "shortest_edge": 800
44
+ }
45
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51c5c3ec934e6ccbac5cd4f1a0285a19e3244578f27eed2d75589c76e72eb839
3
+ size 5048