davidhajdu commited on
Commit
1d6d31c
1 Parent(s): 604fe2e

Add new model

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