End of training
Browse files- README.md +52 -0
- config.json +315 -0
- model.safetensors +3 -0
- preprocessor_config.json +45 -0
- runs/May21_01-11-30_b64d1e5d96a8/events.out.tfevents.1716253923.b64d1e5d96a8.291.0 +3 -0
- runs/May21_01-15-58_b64d1e5d96a8/events.out.tfevents.1716254162.b64d1e5d96a8.291.1 +3 -0
- runs/May21_01-54-36_b64d1e5d96a8/events.out.tfevents.1716256478.b64d1e5d96a8.291.2 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/detr-resnet-50
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: detr-resnet-50_finetuned_swny
|
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 |
+
# detr-resnet-50_finetuned_swny
|
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 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 1e-05
|
36 |
+
- train_batch_size: 8
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 42
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: linear
|
41 |
+
- num_epochs: 10
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.40.2
|
50 |
+
- Pytorch 2.2.1+cu121
|
51 |
+
- Datasets 2.19.1
|
52 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": null,
|
13 |
+
"bbox_cost": 5,
|
14 |
+
"bbox_loss_coefficient": 5,
|
15 |
+
"class_cost": 1,
|
16 |
+
"classifier_dropout": 0.0,
|
17 |
+
"d_model": 256,
|
18 |
+
"decoder_attention_heads": 8,
|
19 |
+
"decoder_ffn_dim": 2048,
|
20 |
+
"decoder_layerdrop": 0.0,
|
21 |
+
"decoder_layers": 6,
|
22 |
+
"dice_loss_coefficient": 1,
|
23 |
+
"dilation": false,
|
24 |
+
"dropout": 0.1,
|
25 |
+
"encoder_attention_heads": 8,
|
26 |
+
"encoder_ffn_dim": 2048,
|
27 |
+
"encoder_layerdrop": 0.0,
|
28 |
+
"encoder_layers": 6,
|
29 |
+
"eos_coefficient": 0.1,
|
30 |
+
"giou_cost": 2,
|
31 |
+
"giou_loss_coefficient": 2,
|
32 |
+
"id2label": {
|
33 |
+
"1": 81,
|
34 |
+
"2": 80,
|
35 |
+
"3": 78,
|
36 |
+
"4": 66,
|
37 |
+
"5": 42,
|
38 |
+
"6": 43,
|
39 |
+
"7": 74,
|
40 |
+
"8": 54,
|
41 |
+
"9": 55,
|
42 |
+
"10": 56,
|
43 |
+
"11": 47,
|
44 |
+
"12": 48,
|
45 |
+
"13": 10,
|
46 |
+
"14": 61,
|
47 |
+
"15": 62,
|
48 |
+
"16": 41,
|
49 |
+
"17": 42,
|
50 |
+
"18": 17,
|
51 |
+
"19": 21,
|
52 |
+
"20": 57,
|
53 |
+
"21": 58,
|
54 |
+
"22": 70,
|
55 |
+
"23": 71,
|
56 |
+
"24": 92,
|
57 |
+
"25": 93,
|
58 |
+
"26": 1,
|
59 |
+
"27": 101,
|
60 |
+
"28": 100,
|
61 |
+
"29": 102,
|
62 |
+
"30": 52,
|
63 |
+
"31": 70,
|
64 |
+
"32": 87,
|
65 |
+
"33": 89,
|
66 |
+
"34": 22,
|
67 |
+
"35": 20,
|
68 |
+
"36": 19,
|
69 |
+
"37": 8,
|
70 |
+
"38": 35,
|
71 |
+
"39": 34,
|
72 |
+
"40": 49,
|
73 |
+
"41": 57,
|
74 |
+
"42": 58,
|
75 |
+
"43": 59,
|
76 |
+
"44": 60,
|
77 |
+
"45": 28,
|
78 |
+
"46": 30,
|
79 |
+
"47": 18,
|
80 |
+
"48": 90,
|
81 |
+
"49": 91,
|
82 |
+
"50": 14,
|
83 |
+
"51": 82,
|
84 |
+
"52": 3,
|
85 |
+
"53": 94,
|
86 |
+
"54": 92,
|
87 |
+
"55": 98,
|
88 |
+
"56": 99,
|
89 |
+
"57": 69,
|
90 |
+
"58": 83,
|
91 |
+
"59": 97,
|
92 |
+
"60": 98,
|
93 |
+
"61": 99,
|
94 |
+
"62": 6,
|
95 |
+
"63": 32,
|
96 |
+
"64": 103,
|
97 |
+
"65": 104,
|
98 |
+
"66": 105,
|
99 |
+
"67": 63,
|
100 |
+
"68": 64,
|
101 |
+
"69": 87,
|
102 |
+
"70": 51,
|
103 |
+
"71": 83,
|
104 |
+
"72": 36,
|
105 |
+
"73": 37,
|
106 |
+
"74": 38,
|
107 |
+
"75": 8,
|
108 |
+
"76": 106,
|
109 |
+
"77": 107,
|
110 |
+
"78": 2,
|
111 |
+
"79": 28,
|
112 |
+
"80": 29,
|
113 |
+
"81": 67,
|
114 |
+
"82": 74,
|
115 |
+
"83": 63,
|
116 |
+
"84": 63,
|
117 |
+
"85": 20,
|
118 |
+
"86": 19,
|
119 |
+
"87": 50,
|
120 |
+
"88": 7,
|
121 |
+
"89": 9,
|
122 |
+
"90": 10,
|
123 |
+
"91": 28,
|
124 |
+
"92": 29,
|
125 |
+
"93": 63,
|
126 |
+
"94": 97,
|
127 |
+
"95": 98,
|
128 |
+
"96": 99,
|
129 |
+
"97": 53,
|
130 |
+
"98": 51,
|
131 |
+
"99": 76,
|
132 |
+
"100": 77,
|
133 |
+
"101": 4,
|
134 |
+
"102": 72,
|
135 |
+
"103": 73,
|
136 |
+
"104": 68,
|
137 |
+
"105": 14,
|
138 |
+
"106": 16,
|
139 |
+
"107": 106,
|
140 |
+
"108": 107,
|
141 |
+
"109": 2,
|
142 |
+
"110": 23,
|
143 |
+
"111": 24,
|
144 |
+
"112": 15,
|
145 |
+
"113": 12,
|
146 |
+
"114": 61,
|
147 |
+
"115": 62,
|
148 |
+
"116": 35,
|
149 |
+
"117": 34,
|
150 |
+
"118": 32,
|
151 |
+
"119": 33,
|
152 |
+
"120": 53,
|
153 |
+
"121": 84,
|
154 |
+
"122": 67,
|
155 |
+
"123": 25,
|
156 |
+
"124": 23,
|
157 |
+
"125": 24,
|
158 |
+
"126": 72,
|
159 |
+
"127": 26,
|
160 |
+
"128": 27,
|
161 |
+
"129": 26,
|
162 |
+
"130": 87,
|
163 |
+
"131": 88,
|
164 |
+
"132": 53,
|
165 |
+
"133": 85,
|
166 |
+
"134": 86,
|
167 |
+
"135": 101,
|
168 |
+
"136": 100,
|
169 |
+
"137": 102,
|
170 |
+
"138": 20,
|
171 |
+
"139": 19,
|
172 |
+
"140": 39,
|
173 |
+
"141": 40,
|
174 |
+
"142": 31,
|
175 |
+
"143": 81,
|
176 |
+
"144": 80,
|
177 |
+
"145": 78,
|
178 |
+
"146": 79,
|
179 |
+
"147": 7,
|
180 |
+
"148": 74,
|
181 |
+
"149": 75,
|
182 |
+
"150": 44,
|
183 |
+
"151": 45,
|
184 |
+
"152": 46,
|
185 |
+
"153": 92,
|
186 |
+
"154": 95,
|
187 |
+
"155": 96,
|
188 |
+
"156": 15,
|
189 |
+
"157": 12,
|
190 |
+
"158": 11,
|
191 |
+
"159": 13
|
192 |
+
},
|
193 |
+
"init_std": 0.02,
|
194 |
+
"init_xavier_std": 1.0,
|
195 |
+
"is_encoder_decoder": true,
|
196 |
+
"label2id": {
|
197 |
+
"1": 26,
|
198 |
+
"2": 109,
|
199 |
+
"3": 52,
|
200 |
+
"4": 101,
|
201 |
+
"6": 62,
|
202 |
+
"7": 147,
|
203 |
+
"8": 75,
|
204 |
+
"9": 89,
|
205 |
+
"10": 90,
|
206 |
+
"11": 158,
|
207 |
+
"12": 157,
|
208 |
+
"13": 159,
|
209 |
+
"14": 105,
|
210 |
+
"15": 156,
|
211 |
+
"16": 106,
|
212 |
+
"17": 18,
|
213 |
+
"18": 47,
|
214 |
+
"19": 139,
|
215 |
+
"20": 138,
|
216 |
+
"21": 19,
|
217 |
+
"22": 34,
|
218 |
+
"23": 124,
|
219 |
+
"24": 125,
|
220 |
+
"25": 123,
|
221 |
+
"26": 129,
|
222 |
+
"27": 128,
|
223 |
+
"28": 91,
|
224 |
+
"29": 92,
|
225 |
+
"30": 46,
|
226 |
+
"31": 142,
|
227 |
+
"32": 118,
|
228 |
+
"33": 119,
|
229 |
+
"34": 117,
|
230 |
+
"35": 116,
|
231 |
+
"36": 72,
|
232 |
+
"37": 73,
|
233 |
+
"38": 74,
|
234 |
+
"39": 140,
|
235 |
+
"40": 141,
|
236 |
+
"41": 16,
|
237 |
+
"42": 17,
|
238 |
+
"43": 6,
|
239 |
+
"44": 150,
|
240 |
+
"45": 151,
|
241 |
+
"46": 152,
|
242 |
+
"47": 11,
|
243 |
+
"48": 12,
|
244 |
+
"49": 40,
|
245 |
+
"50": 87,
|
246 |
+
"51": 98,
|
247 |
+
"52": 30,
|
248 |
+
"53": 132,
|
249 |
+
"54": 8,
|
250 |
+
"55": 9,
|
251 |
+
"56": 10,
|
252 |
+
"57": 41,
|
253 |
+
"58": 42,
|
254 |
+
"59": 43,
|
255 |
+
"60": 44,
|
256 |
+
"61": 114,
|
257 |
+
"62": 115,
|
258 |
+
"63": 93,
|
259 |
+
"64": 68,
|
260 |
+
"66": 4,
|
261 |
+
"67": 122,
|
262 |
+
"68": 104,
|
263 |
+
"69": 57,
|
264 |
+
"70": 31,
|
265 |
+
"71": 23,
|
266 |
+
"72": 126,
|
267 |
+
"73": 103,
|
268 |
+
"74": 148,
|
269 |
+
"75": 149,
|
270 |
+
"76": 99,
|
271 |
+
"77": 100,
|
272 |
+
"78": 145,
|
273 |
+
"79": 146,
|
274 |
+
"80": 144,
|
275 |
+
"81": 143,
|
276 |
+
"82": 51,
|
277 |
+
"83": 71,
|
278 |
+
"84": 121,
|
279 |
+
"85": 133,
|
280 |
+
"86": 134,
|
281 |
+
"87": 130,
|
282 |
+
"88": 131,
|
283 |
+
"89": 33,
|
284 |
+
"90": 48,
|
285 |
+
"91": 49,
|
286 |
+
"92": 153,
|
287 |
+
"93": 25,
|
288 |
+
"94": 53,
|
289 |
+
"95": 154,
|
290 |
+
"96": 155,
|
291 |
+
"97": 94,
|
292 |
+
"98": 95,
|
293 |
+
"99": 96,
|
294 |
+
"100": 136,
|
295 |
+
"101": 135,
|
296 |
+
"102": 137,
|
297 |
+
"103": 64,
|
298 |
+
"104": 65,
|
299 |
+
"105": 66,
|
300 |
+
"106": 107,
|
301 |
+
"107": 108
|
302 |
+
},
|
303 |
+
"mask_loss_coefficient": 1,
|
304 |
+
"max_position_embeddings": 1024,
|
305 |
+
"model_type": "detr",
|
306 |
+
"num_channels": 3,
|
307 |
+
"num_hidden_layers": 6,
|
308 |
+
"num_queries": 100,
|
309 |
+
"position_embedding_type": "sine",
|
310 |
+
"scale_embedding": false,
|
311 |
+
"torch_dtype": "float32",
|
312 |
+
"transformers_version": "4.40.2",
|
313 |
+
"use_pretrained_backbone": true,
|
314 |
+
"use_timm_backbone": true
|
315 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2052dfe5b6ae797a1c8caf5e44b64f15f590f417781ca8730641a18954577cd8
|
3 |
+
size 166657288
|
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 |
+
}
|
runs/May21_01-11-30_b64d1e5d96a8/events.out.tfevents.1716253923.b64d1e5d96a8.291.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cca9957dcd0624a2a051b58bb4b5e25a3616eb0ea426c7d556712a2192aaf31e
|
3 |
+
size 8209
|
runs/May21_01-15-58_b64d1e5d96a8/events.out.tfevents.1716254162.b64d1e5d96a8.291.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f9b6723ddf6991b648b51918d04c2ac187bdd3ee035630d55732c8c9ca1f07e
|
3 |
+
size 8213
|
runs/May21_01-54-36_b64d1e5d96a8/events.out.tfevents.1716256478.b64d1e5d96a8.291.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c35e22b7073e82fe64393ff25582fd0c984af0b9458dbb49237277d25f11e76a
|
3 |
+
size 9839
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae96edbc42511cd1fd7dc2eecfcd4d787d6ed5daf2e6001f91da9144ec62714c
|
3 |
+
size 4984
|