MTWD commited on
Commit
0f1d642
1 Parent(s): 65f0608

Training in progress, step 100

Browse files
Files changed (5) hide show
  1. README.md +55 -0
  2. config.json +312 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +45 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/detr-resnet-50
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - facebook/detr-resnet-50
8
+ model-index:
9
+ - name: DETR Resnet fine tuned with BrainHack dataset
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # DETR Resnet fine tuned with BrainHack dataset
17
+
18
+ This model is a fine-tuned version of [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50) on the BrainHack VLM dataset.
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: 4
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - training_steps: 1000
44
+ - mixed_precision_training: Native AMP
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - Transformers 4.41.2
53
+ - Pytorch 2.3.0+cu118
54
+ - Datasets 2.19.1
55
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/detr-resnet-50-dc5",
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
+ "output_stride": 16
21
+ },
22
+ "bbox_cost": 5,
23
+ "bbox_loss_coefficient": 5,
24
+ "class_cost": 1,
25
+ "classifier_dropout": 0.0,
26
+ "d_model": 256,
27
+ "decoder_attention_heads": 8,
28
+ "decoder_ffn_dim": 2048,
29
+ "decoder_layerdrop": 0.0,
30
+ "decoder_layers": 6,
31
+ "dice_loss_coefficient": 1,
32
+ "dilation": true,
33
+ "dropout": 0.1,
34
+ "encoder_attention_heads": 8,
35
+ "encoder_ffn_dim": 2048,
36
+ "encoder_layerdrop": 0.0,
37
+ "encoder_layers": 6,
38
+ "eos_coefficient": 0.1,
39
+ "giou_cost": 2,
40
+ "giou_loss_coefficient": 2,
41
+ "id2label": {
42
+ "0": "grey and white light aircraft",
43
+ "1": "grey fighter jet",
44
+ "2": "grey helicopter",
45
+ "3": "orange and black fighter jet",
46
+ "4": "white commercial aircraft",
47
+ "5": "white and yellow commercial aircraft",
48
+ "6": "white light aircraft",
49
+ "7": "blue and green fighter plane",
50
+ "8": "green fighter plane",
51
+ "9": "white, blue, and red commercial aircraft",
52
+ "10": "white and blue fighter plane",
53
+ "11": "yellow and red light aircraft",
54
+ "12": "grey drone",
55
+ "13": "black camouflage fighter jet",
56
+ "14": "blue and red light aircraft",
57
+ "15": "black and white commercial aircraft",
58
+ "16": "blue commercial aircraft",
59
+ "17": "black cargo aircraft",
60
+ "18": "yellow, black, and red helicopter",
61
+ "19": "white, red, and green fighter plane",
62
+ "20": "white and blue fighter jet",
63
+ "21": "blue and grey fighter jet",
64
+ "22": "green and grey helicopter",
65
+ "23": "blue and red commercial aircraft",
66
+ "24": "yellow fighter plane",
67
+ "25": "yellow and black fighter plane",
68
+ "26": "green and black camouflage helicopter",
69
+ "27": "black helicopter",
70
+ "28": "red light aircraft",
71
+ "29": "green and brown camouflage helicopter",
72
+ "30": "black fighter plane",
73
+ "31": "grey and yellow fighter plane",
74
+ "32": "white and black cargo aircraft",
75
+ "33": "green light aircraft",
76
+ "34": "white and black fighter plane",
77
+ "35": "white and black light aircraft",
78
+ "36": "white drone",
79
+ "37": "yellow light aircraft",
80
+ "38": "white and red light aircraft",
81
+ "39": "yellow and green helicopter",
82
+ "40": "white and black drone",
83
+ "41": "white fighter jet",
84
+ "42": "grey, red, and blue commercial aircraft",
85
+ "43": "white cargo aircraft",
86
+ "44": "white, black, and grey missile",
87
+ "45": "red, white, and blue light aircraft",
88
+ "46": "red and black drone",
89
+ "47": "green and white fighter plane",
90
+ "48": "red fighter plane",
91
+ "49": "grey commercial aircraft",
92
+ "50": "grey and red fighter jet",
93
+ "51": "grey and black fighter plane",
94
+ "52": "grey camouflage fighter jet",
95
+ "53": "green camouflage helicopter",
96
+ "54": "white and red fighter plane",
97
+ "55": "blue and yellow fighter jet",
98
+ "56": "blue and white helicopter",
99
+ "57": "white, black, and red drone",
100
+ "58": "white and blue cargo aircraft",
101
+ "59": "green and yellow fighter plane",
102
+ "60": "red and white helicopter",
103
+ "61": "grey and green cargo aircraft",
104
+ "62": "yellow, red, and grey helicopter",
105
+ "63": "silver fighter plane",
106
+ "64": "blue, yellow, and green fighter plane",
107
+ "65": "red and white fighter plane",
108
+ "66": "grey missile",
109
+ "67": "white and black fighter jet",
110
+ "68": "blue missile",
111
+ "69": "grey light aircraft",
112
+ "70": "red fighter jet",
113
+ "71": "yellow missile",
114
+ "72": "white helicopter",
115
+ "73": "black drone",
116
+ "74": "yellow helicopter",
117
+ "75": "black fighter jet",
118
+ "76": "white and red helicopter",
119
+ "77": "grey and white fighter plane",
120
+ "78": "blue helicopter",
121
+ "79": "white and blue light aircraft",
122
+ "80": "grey and black helicopter",
123
+ "81": "blue and yellow helicopter",
124
+ "82": "white and blue commercial aircraft",
125
+ "83": "blue and white missile",
126
+ "84": "black and brown camouflage helicopter",
127
+ "85": "red and white fighter jet",
128
+ "86": "white and orange commercial aircraft",
129
+ "87": "black and white cargo aircraft",
130
+ "88": "white and red missile",
131
+ "89": "white and red commercial aircraft",
132
+ "90": "white missile",
133
+ "91": "white and black helicopter",
134
+ "92": "yellow, red, and blue fighter plane",
135
+ "93": "red helicopter",
136
+ "94": "black and white missile",
137
+ "95": "green helicopter",
138
+ "96": "green and brown camouflage fighter plane",
139
+ "97": "grey cargo aircraft",
140
+ "98": "green and brown camouflage fighter jet",
141
+ "99": "yellow commercial aircraft",
142
+ "100": "white and grey helicopter",
143
+ "101": "white fighter plane",
144
+ "102": "silver and blue fighter plane",
145
+ "103": "red and white missile",
146
+ "104": "green missile",
147
+ "105": "black and orange drone",
148
+ "106": "grey fighter plane",
149
+ "107": "black and yellow missile",
150
+ "108": "orange light aircraft",
151
+ "109": "white and blue helicopter",
152
+ "110": "red and white light aircraft",
153
+ "111": "grey and red missile",
154
+ "112": "black and yellow drone",
155
+ "113": "white and orange light aircraft",
156
+ "114": "blue, yellow, and white cargo aircraft",
157
+ "115": "yellow fighter jet",
158
+ "116": "blue camouflage fighter jet",
159
+ "117": "green and black missile",
160
+ "118": "blue, yellow, and black helicopter",
161
+ "119": "white and red fighter jet",
162
+ "120": "grey and red commercial aircraft",
163
+ "121": "red, white, and blue fighter jet",
164
+ "122": "white, red, and blue commercial aircraft",
165
+ "123": "blue and white commercial aircraft",
166
+ "124": "blue and white light aircraft",
167
+ "125": "red and grey missile"
168
+ },
169
+ "init_std": 0.02,
170
+ "init_xavier_std": 1.0,
171
+ "is_encoder_decoder": true,
172
+ "label2id": {
173
+ "black and brown camouflage helicopter": 84,
174
+ "black and orange drone": 105,
175
+ "black and white cargo aircraft": 87,
176
+ "black and white commercial aircraft": 15,
177
+ "black and white missile": 94,
178
+ "black and yellow drone": 112,
179
+ "black and yellow missile": 107,
180
+ "black camouflage fighter jet": 13,
181
+ "black cargo aircraft": 17,
182
+ "black drone": 73,
183
+ "black fighter jet": 75,
184
+ "black fighter plane": 30,
185
+ "black helicopter": 27,
186
+ "blue and green fighter plane": 7,
187
+ "blue and grey fighter jet": 21,
188
+ "blue and red commercial aircraft": 23,
189
+ "blue and red light aircraft": 14,
190
+ "blue and white commercial aircraft": 123,
191
+ "blue and white helicopter": 56,
192
+ "blue and white light aircraft": 124,
193
+ "blue and white missile": 83,
194
+ "blue and yellow fighter jet": 55,
195
+ "blue and yellow helicopter": 81,
196
+ "blue camouflage fighter jet": 116,
197
+ "blue commercial aircraft": 16,
198
+ "blue helicopter": 78,
199
+ "blue missile": 68,
200
+ "blue, yellow, and black helicopter": 118,
201
+ "blue, yellow, and green fighter plane": 64,
202
+ "blue, yellow, and white cargo aircraft": 114,
203
+ "green and black camouflage helicopter": 26,
204
+ "green and black missile": 117,
205
+ "green and brown camouflage fighter jet": 98,
206
+ "green and brown camouflage fighter plane": 96,
207
+ "green and brown camouflage helicopter": 29,
208
+ "green and grey helicopter": 22,
209
+ "green and white fighter plane": 47,
210
+ "green and yellow fighter plane": 59,
211
+ "green camouflage helicopter": 53,
212
+ "green fighter plane": 8,
213
+ "green helicopter": 95,
214
+ "green light aircraft": 33,
215
+ "green missile": 104,
216
+ "grey and black fighter plane": 51,
217
+ "grey and black helicopter": 80,
218
+ "grey and green cargo aircraft": 61,
219
+ "grey and red commercial aircraft": 120,
220
+ "grey and red fighter jet": 50,
221
+ "grey and red missile": 111,
222
+ "grey and white fighter plane": 77,
223
+ "grey and white light aircraft": 0,
224
+ "grey and yellow fighter plane": 31,
225
+ "grey camouflage fighter jet": 52,
226
+ "grey cargo aircraft": 97,
227
+ "grey commercial aircraft": 49,
228
+ "grey drone": 12,
229
+ "grey fighter jet": 1,
230
+ "grey fighter plane": 106,
231
+ "grey helicopter": 2,
232
+ "grey light aircraft": 69,
233
+ "grey missile": 66,
234
+ "grey, red, and blue commercial aircraft": 42,
235
+ "orange and black fighter jet": 3,
236
+ "orange light aircraft": 108,
237
+ "red and black drone": 46,
238
+ "red and grey missile": 125,
239
+ "red and white fighter jet": 85,
240
+ "red and white fighter plane": 65,
241
+ "red and white helicopter": 60,
242
+ "red and white light aircraft": 110,
243
+ "red and white missile": 103,
244
+ "red fighter jet": 70,
245
+ "red fighter plane": 48,
246
+ "red helicopter": 93,
247
+ "red light aircraft": 28,
248
+ "red, white, and blue fighter jet": 121,
249
+ "red, white, and blue light aircraft": 45,
250
+ "silver and blue fighter plane": 102,
251
+ "silver fighter plane": 63,
252
+ "white and black cargo aircraft": 32,
253
+ "white and black drone": 40,
254
+ "white and black fighter jet": 67,
255
+ "white and black fighter plane": 34,
256
+ "white and black helicopter": 91,
257
+ "white and black light aircraft": 35,
258
+ "white and blue cargo aircraft": 58,
259
+ "white and blue commercial aircraft": 82,
260
+ "white and blue fighter jet": 20,
261
+ "white and blue fighter plane": 10,
262
+ "white and blue helicopter": 109,
263
+ "white and blue light aircraft": 79,
264
+ "white and grey helicopter": 100,
265
+ "white and orange commercial aircraft": 86,
266
+ "white and orange light aircraft": 113,
267
+ "white and red commercial aircraft": 89,
268
+ "white and red fighter jet": 119,
269
+ "white and red fighter plane": 54,
270
+ "white and red helicopter": 76,
271
+ "white and red light aircraft": 38,
272
+ "white and red missile": 88,
273
+ "white and yellow commercial aircraft": 5,
274
+ "white cargo aircraft": 43,
275
+ "white commercial aircraft": 4,
276
+ "white drone": 36,
277
+ "white fighter jet": 41,
278
+ "white fighter plane": 101,
279
+ "white helicopter": 72,
280
+ "white light aircraft": 6,
281
+ "white missile": 90,
282
+ "white, black, and grey missile": 44,
283
+ "white, black, and red drone": 57,
284
+ "white, blue, and red commercial aircraft": 9,
285
+ "white, red, and blue commercial aircraft": 122,
286
+ "white, red, and green fighter plane": 19,
287
+ "yellow and black fighter plane": 25,
288
+ "yellow and green helicopter": 39,
289
+ "yellow and red light aircraft": 11,
290
+ "yellow commercial aircraft": 99,
291
+ "yellow fighter jet": 115,
292
+ "yellow fighter plane": 24,
293
+ "yellow helicopter": 74,
294
+ "yellow light aircraft": 37,
295
+ "yellow missile": 71,
296
+ "yellow, black, and red helicopter": 18,
297
+ "yellow, red, and blue fighter plane": 92,
298
+ "yellow, red, and grey helicopter": 62
299
+ },
300
+ "mask_loss_coefficient": 1,
301
+ "max_position_embeddings": 1024,
302
+ "model_type": "detr",
303
+ "num_channels": 3,
304
+ "num_hidden_layers": 6,
305
+ "num_queries": 100,
306
+ "position_embedding_type": "sine",
307
+ "scale_embedding": false,
308
+ "torch_dtype": "float32",
309
+ "transformers_version": "4.41.2",
310
+ "use_pretrained_backbone": true,
311
+ "use_timm_backbone": true
312
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbca65ea2b779375e6abe63adea9a68117ee35cbb2a8f94cfcf8db1b8cbc38d1
3
+ size 166623364
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:7fca1e452aff7f40131e0a19d57cd5e55d28107d698804a382cdfa9801702602
3
+ size 5112