davidhajdu commited on
Commit
6898e02
·
verified ·
1 Parent(s): c0d5f4b

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.json +246 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "prelu",
4
+ "architectures": [
5
+ "DABDETRForObjectDetection"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "auxiliary_loss": false,
9
+ "backbone": "resnet50",
10
+ "backbone_config": null,
11
+ "backbone_kwargs": {
12
+ "in_chans": 3,
13
+ "out_indices": [
14
+ 1,
15
+ 2,
16
+ 3,
17
+ 4
18
+ ]
19
+ },
20
+ "bbox_cost": 5,
21
+ "bbox_embed_diff_each_layer": false,
22
+ "bbox_loss_coefficient": 5,
23
+ "class_cost": 2,
24
+ "cls_loss_coefficient": 2,
25
+ "d_model": 256,
26
+ "decoder_attention_heads": 8,
27
+ "decoder_bbox_embed_diff_each_layer": false,
28
+ "decoder_ffn_dim": 2048,
29
+ "decoder_keep_query_pos": false,
30
+ "decoder_layerdrop": 0.0,
31
+ "decoder_modulate_hw_attn": true,
32
+ "decoder_nhead": 8,
33
+ "decoder_normalize_before": false,
34
+ "decoder_num_patterns": 0,
35
+ "decoder_query_dim": 4,
36
+ "dice_loss_coefficient": 1,
37
+ "dilation": false,
38
+ "dropout": 0.1,
39
+ "encoder_attention_heads": 8,
40
+ "encoder_ffn_dim": 2048,
41
+ "encoder_layerdrop": 0.0,
42
+ "encoder_layers": 6,
43
+ "focal_alpha": 0.25,
44
+ "giou_cost": 2,
45
+ "giou_loss_coefficient": 2,
46
+ "hidden_dim": 256,
47
+ "id2label": {
48
+ "0": "N/A",
49
+ "1": "person",
50
+ "2": "bicycle",
51
+ "3": "car",
52
+ "4": "motorcycle",
53
+ "5": "airplane",
54
+ "6": "bus",
55
+ "7": "train",
56
+ "8": "truck",
57
+ "9": "boat",
58
+ "10": "traffic light",
59
+ "11": "fire hydrant",
60
+ "12": "N/A",
61
+ "13": "stop sign",
62
+ "14": "parking meter",
63
+ "15": "bench",
64
+ "16": "bird",
65
+ "17": "cat",
66
+ "18": "dog",
67
+ "19": "horse",
68
+ "20": "sheep",
69
+ "21": "cow",
70
+ "22": "elephant",
71
+ "23": "bear",
72
+ "24": "zebra",
73
+ "25": "giraffe",
74
+ "26": "N/A",
75
+ "27": "backpack",
76
+ "28": "umbrella",
77
+ "29": "N/A",
78
+ "30": "N/A",
79
+ "31": "handbag",
80
+ "32": "tie",
81
+ "33": "suitcase",
82
+ "34": "frisbee",
83
+ "35": "skis",
84
+ "36": "snowboard",
85
+ "37": "sports ball",
86
+ "38": "kite",
87
+ "39": "baseball bat",
88
+ "40": "baseball glove",
89
+ "41": "skateboard",
90
+ "42": "surfboard",
91
+ "43": "tennis racket",
92
+ "44": "bottle",
93
+ "45": "N/A",
94
+ "46": "wine glass",
95
+ "47": "cup",
96
+ "48": "fork",
97
+ "49": "knife",
98
+ "50": "spoon",
99
+ "51": "bowl",
100
+ "52": "banana",
101
+ "53": "apple",
102
+ "54": "sandwich",
103
+ "55": "orange",
104
+ "56": "broccoli",
105
+ "57": "carrot",
106
+ "58": "hot dog",
107
+ "59": "pizza",
108
+ "60": "donut",
109
+ "61": "cake",
110
+ "62": "chair",
111
+ "63": "couch",
112
+ "64": "potted plant",
113
+ "65": "bed",
114
+ "66": "N/A",
115
+ "67": "dining table",
116
+ "68": "N/A",
117
+ "69": "N/A",
118
+ "70": "toilet",
119
+ "71": "N/A",
120
+ "72": "tv",
121
+ "73": "laptop",
122
+ "74": "mouse",
123
+ "75": "remote",
124
+ "76": "keyboard",
125
+ "77": "cell phone",
126
+ "78": "microwave",
127
+ "79": "oven",
128
+ "80": "toaster",
129
+ "81": "sink",
130
+ "82": "refrigerator",
131
+ "83": "N/A",
132
+ "84": "book",
133
+ "85": "clock",
134
+ "86": "vase",
135
+ "87": "scissors",
136
+ "88": "teddy bear",
137
+ "89": "hair drier",
138
+ "90": "toothbrush"
139
+ },
140
+ "init_std": 0.02,
141
+ "init_xavier_std": 1.0,
142
+ "is_encoder_decoder": true,
143
+ "iter_update": true,
144
+ "label2id": {
145
+ "N/A": 83,
146
+ "airplane": 5,
147
+ "apple": 53,
148
+ "backpack": 27,
149
+ "banana": 52,
150
+ "baseball bat": 39,
151
+ "baseball glove": 40,
152
+ "bear": 23,
153
+ "bed": 65,
154
+ "bench": 15,
155
+ "bicycle": 2,
156
+ "bird": 16,
157
+ "boat": 9,
158
+ "book": 84,
159
+ "bottle": 44,
160
+ "bowl": 51,
161
+ "broccoli": 56,
162
+ "bus": 6,
163
+ "cake": 61,
164
+ "car": 3,
165
+ "carrot": 57,
166
+ "cat": 17,
167
+ "cell phone": 77,
168
+ "chair": 62,
169
+ "clock": 85,
170
+ "couch": 63,
171
+ "cow": 21,
172
+ "cup": 47,
173
+ "dining table": 67,
174
+ "dog": 18,
175
+ "donut": 60,
176
+ "elephant": 22,
177
+ "fire hydrant": 11,
178
+ "fork": 48,
179
+ "frisbee": 34,
180
+ "giraffe": 25,
181
+ "hair drier": 89,
182
+ "handbag": 31,
183
+ "horse": 19,
184
+ "hot dog": 58,
185
+ "keyboard": 76,
186
+ "kite": 38,
187
+ "knife": 49,
188
+ "laptop": 73,
189
+ "microwave": 78,
190
+ "motorcycle": 4,
191
+ "mouse": 74,
192
+ "orange": 55,
193
+ "oven": 79,
194
+ "parking meter": 14,
195
+ "person": 1,
196
+ "pizza": 59,
197
+ "potted plant": 64,
198
+ "refrigerator": 82,
199
+ "remote": 75,
200
+ "sandwich": 54,
201
+ "scissors": 87,
202
+ "sheep": 20,
203
+ "sink": 81,
204
+ "skateboard": 41,
205
+ "skis": 35,
206
+ "snowboard": 36,
207
+ "spoon": 50,
208
+ "sports ball": 37,
209
+ "stop sign": 13,
210
+ "suitcase": 33,
211
+ "surfboard": 42,
212
+ "teddy bear": 88,
213
+ "tennis racket": 43,
214
+ "tie": 32,
215
+ "toaster": 80,
216
+ "toilet": 70,
217
+ "toothbrush": 90,
218
+ "traffic light": 10,
219
+ "train": 7,
220
+ "truck": 8,
221
+ "tv": 72,
222
+ "umbrella": 28,
223
+ "vase": 86,
224
+ "wine glass": 46,
225
+ "zebra": 24
226
+ },
227
+ "mask_loss_coefficient": 1,
228
+ "model_type": "dab-detr",
229
+ "normalize_before": false,
230
+ "num_channels": 3,
231
+ "num_decoder_layers": 6,
232
+ "num_hidden_layers": 6,
233
+ "num_queries": 300,
234
+ "num_target_classes": 91,
235
+ "position_embedding_type": "sine",
236
+ "query_dim": 4,
237
+ "query_scale_type": "cond_elewise",
238
+ "random_refpoints_xy": false,
239
+ "rm_self_attn_decoder": false,
240
+ "temperatureH": 20,
241
+ "temperatureW": 20,
242
+ "torch_dtype": "float32",
243
+ "transformers_version": "4.41.0.dev0",
244
+ "use_pretrained_backbone": true,
245
+ "use_timm_backbone": true
246
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4aa47546ef9ab848bd987308e567836ff0cc5068d45bf49c518777452f37051a
3
+ size 175305002