File size: 5,267 Bytes
9dfcec7
 
 
75aa45c
9dfcec7
 
 
 
 
ebe47af
db7ec35
 
 
 
 
 
 
 
 
 
 
 
 
 
67d2707
db7ec35
 
 
 
 
 
 
 
 
 
 
ebe47af
9dfcec7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ebe47af
 
9dfcec7
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
{
  "activation_dropout": 0.0,
  "activation_function": "silu",
  "anchor_image_size": null,
  "architectures": [
    "RTDetrForObjectDetection"
  ],
  "attention_dropout": 0.0,
  "auxiliary_loss": true,
  "backbone": null,
  "backbone_config": {
    "depths": [
      2,
      2,
      2,
      2
    ],
    "hidden_sizes": [
      64,
      128,
      256,
      512
    ],
    "layer_type": "basic",
    "model_type": "rt_detr_resnet",
    "out_features": [
      "stage2",
      "stage3",
      "stage4"
    ],
    "out_indices": [
      2,
      3,
      4
    ]
  },
  "backbone_kwargs": null,
  "batch_norm_eps": 1e-05,
  "box_noise_scale": 1.0,
  "d_model": 256,
  "decoder_activation_function": "relu",
  "decoder_attention_heads": 8,
  "decoder_ffn_dim": 1024,
  "decoder_in_channels": [
    256,
    256,
    256
  ],
  "decoder_layers": 3,
  "decoder_n_points": 4,
  "disable_custom_kernels": true,
  "dropout": 0.0,
  "encode_proj_layers": [
    2
  ],
  "encoder_activation_function": "gelu",
  "encoder_attention_heads": 8,
  "encoder_ffn_dim": 1024,
  "encoder_hidden_dim": 256,
  "encoder_in_channels": [
    128,
    256,
    512
  ],
  "encoder_layers": 1,
  "eos_coefficient": 0.0001,
  "eval_size": null,
  "feat_strides": [
    8,
    16,
    32
  ],
  "focal_loss_alpha": 0.75,
  "focal_loss_gamma": 2.0,
  "hidden_expansion": 0.5,
  "id2label": {
    "0": "person",
    "1": "bicycle",
    "2": "car",
    "3": "motorbike",
    "4": "aeroplane",
    "5": "bus",
    "6": "train",
    "7": "truck",
    "8": "boat",
    "9": "traffic light",
    "10": "fire hydrant",
    "11": "stop sign",
    "12": "parking meter",
    "13": "bench",
    "14": "bird",
    "15": "cat",
    "16": "dog",
    "17": "horse",
    "18": "sheep",
    "19": "cow",
    "20": "elephant",
    "21": "bear",
    "22": "zebra",
    "23": "giraffe",
    "24": "backpack",
    "25": "umbrella",
    "26": "handbag",
    "27": "tie",
    "28": "suitcase",
    "29": "frisbee",
    "30": "skis",
    "31": "snowboard",
    "32": "sports ball",
    "33": "kite",
    "34": "baseball bat",
    "35": "baseball glove",
    "36": "skateboard",
    "37": "surfboard",
    "38": "tennis racket",
    "39": "bottle",
    "40": "wine glass",
    "41": "cup",
    "42": "fork",
    "43": "knife",
    "44": "spoon",
    "45": "bowl",
    "46": "banana",
    "47": "apple",
    "48": "sandwich",
    "49": "orange",
    "50": "broccoli",
    "51": "carrot",
    "52": "hot dog",
    "53": "pizza",
    "54": "donut",
    "55": "cake",
    "56": "chair",
    "57": "sofa",
    "58": "pottedplant",
    "59": "bed",
    "60": "diningtable",
    "61": "toilet",
    "62": "tvmonitor",
    "63": "laptop",
    "64": "mouse",
    "65": "remote",
    "66": "keyboard",
    "67": "cell phone",
    "68": "microwave",
    "69": "oven",
    "70": "toaster",
    "71": "sink",
    "72": "refrigerator",
    "73": "book",
    "74": "clock",
    "75": "vase",
    "76": "scissors",
    "77": "teddy bear",
    "78": "hair drier",
    "79": "toothbrush"
  },
  "initializer_range": 0.01,
  "is_encoder_decoder": true,
  "label2id": {
    "aeroplane": 4,
    "apple": 47,
    "backpack": 24,
    "banana": 46,
    "baseball bat": 34,
    "baseball glove": 35,
    "bear": 21,
    "bed": 59,
    "bench": 13,
    "bicycle": 1,
    "bird": 14,
    "boat": 8,
    "book": 73,
    "bottle": 39,
    "bowl": 45,
    "broccoli": 50,
    "bus": 5,
    "cake": 55,
    "car": 2,
    "carrot": 51,
    "cat": 15,
    "cell phone": 67,
    "chair": 56,
    "clock": 74,
    "cow": 19,
    "cup": 41,
    "diningtable": 60,
    "dog": 16,
    "donut": 54,
    "elephant": 20,
    "fire hydrant": 10,
    "fork": 42,
    "frisbee": 29,
    "giraffe": 23,
    "hair drier": 78,
    "handbag": 26,
    "horse": 17,
    "hot dog": 52,
    "keyboard": 66,
    "kite": 33,
    "knife": 43,
    "laptop": 63,
    "microwave": 68,
    "motorbike": 3,
    "mouse": 64,
    "orange": 49,
    "oven": 69,
    "parking meter": 12,
    "person": 0,
    "pizza": 53,
    "pottedplant": 58,
    "refrigerator": 72,
    "remote": 65,
    "sandwich": 48,
    "scissors": 76,
    "sheep": 18,
    "sink": 71,
    "skateboard": 36,
    "skis": 30,
    "snowboard": 31,
    "sofa": 57,
    "spoon": 44,
    "sports ball": 32,
    "stop sign": 11,
    "suitcase": 28,
    "surfboard": 37,
    "teddy bear": 77,
    "tennis racket": 38,
    "tie": 27,
    "toaster": 70,
    "toilet": 61,
    "toothbrush": 79,
    "traffic light": 9,
    "train": 6,
    "truck": 7,
    "tvmonitor": 62,
    "umbrella": 25,
    "vase": 75,
    "wine glass": 40,
    "zebra": 22
  },
  "label_noise_ratio": 0.5,
  "layer_norm_eps": 1e-05,
  "learn_initial_query": false,
  "matcher_alpha": 0.25,
  "matcher_bbox_cost": 5.0,
  "matcher_class_cost": 2.0,
  "matcher_gamma": 2.0,
  "matcher_giou_cost": 2.0,
  "model_type": "rt_detr",
  "normalize_before": false,
  "num_denoising": 100,
  "num_feature_levels": 3,
  "num_queries": 300,
  "positional_encoding_temperature": 10000,
  "torch_dtype": "float32",
  "transformers_version": "4.42.0.dev0",
  "use_focal_loss": true,
  "use_pretrained_backbone": false,
  "use_timm_backbone": false,
  "weight_loss_bbox": 5.0,
  "weight_loss_giou": 2.0,
  "weight_loss_vfl": 1.0,
  "with_box_refine": true
}