rafaelpadilla commited on
Commit
4503690
1 Parent(s): 8d6f00e

Add config

Browse files
Files changed (1) hide show
  1. config.json +83 -84
config.json CHANGED
@@ -1,11 +1,17 @@
1
  {
2
  "act_decoder": "relu",
3
  "act_encoder": "silu",
4
- "architectures": [
5
- "RTDetrModel"
6
- ],
7
  "aux_loss": true,
8
- "backbone": "resnet50d",
 
 
 
 
 
 
 
 
 
9
  "box_noise_scale": 1.0,
10
  "depth_mult": 1.0,
11
  "dim_feedforward": 1024,
@@ -32,19 +38,10 @@
32
  ],
33
  "focal_loss_alpha": 0.75,
34
  "focal_loss_gamma": 2.0,
35
- "freeze_batch_norm_2d": true,
36
  "hidden_dim": 256,
37
  "id2label": {
38
  "0": "person",
39
  "1": "bicycle",
40
- "2": "car",
41
- "3": "motorcycle",
42
- "4": "airplane",
43
- "5": "bus",
44
- "6": "train",
45
- "7": "truck",
46
- "8": "boat",
47
- "9": "traffic light",
48
  "10": "fire hydrant",
49
  "11": "stop sign",
50
  "12": "parking meter",
@@ -55,6 +52,7 @@
55
  "17": "horse",
56
  "18": "sheep",
57
  "19": "cow",
 
58
  "20": "elephant",
59
  "21": "bear",
60
  "22": "zebra",
@@ -65,6 +63,7 @@
65
  "27": "tie",
66
  "28": "suitcase",
67
  "29": "frisbee",
 
68
  "30": "skis",
69
  "31": "snowboard",
70
  "32": "sports ball",
@@ -75,6 +74,7 @@
75
  "37": "surfboard",
76
  "38": "tennis racket",
77
  "39": "bottle",
 
78
  "40": "wine glass",
79
  "41": "cup",
80
  "42": "fork",
@@ -85,6 +85,7 @@
85
  "47": "apple",
86
  "48": "sandwich",
87
  "49": "orange",
 
88
  "50": "broccoli",
89
  "51": "carrot",
90
  "52": "hot dog",
@@ -95,6 +96,7 @@
95
  "57": "couch",
96
  "58": "potted plant",
97
  "59": "bed",
 
98
  "60": "dining table",
99
  "61": "toilet",
100
  "62": "tv",
@@ -105,6 +107,7 @@
105
  "67": "cell phone",
106
  "68": "microwave",
107
  "69": "oven",
 
108
  "70": "toaster",
109
  "71": "sink",
110
  "72": "refrigerator",
@@ -114,7 +117,9 @@
114
  "76": "scissors",
115
  "77": "teddy bear",
116
  "78": "hair drier",
117
- "79": "toothbrush"
 
 
118
  },
119
  "in_channels": [
120
  512,
@@ -123,86 +128,86 @@
123
  ],
124
  "initializer_range": 0.02,
125
  "label2id": {
126
- "person": 0,
127
- "bicycle": 1,
128
- "car": 2,
129
- "motorcycle": 3,
130
  "airplane": 4,
131
- "bus": 5,
132
- "train": 6,
133
- "truck": 7,
134
- "boat": 8,
135
- "traffic light": 9,
136
- "fire hydrant": 10,
137
- "stop sign": 11,
138
- "parking meter": 12,
139
- "bench": 13,
140
- "bird": 14,
141
- "cat": 15,
142
- "dog": 16,
143
- "horse": 17,
144
- "sheep": 18,
145
- "cow": 19,
146
- "elephant": 20,
147
- "bear": 21,
148
- "zebra": 22,
149
- "giraffe": 23,
150
  "backpack": 24,
151
- "umbrella": 25,
152
- "handbag": 26,
153
- "tie": 27,
154
- "suitcase": 28,
155
- "frisbee": 29,
156
- "skis": 30,
157
- "snowboard": 31,
158
- "sports ball": 32,
159
- "kite": 33,
160
  "baseball bat": 34,
161
  "baseball glove": 35,
162
- "skateboard": 36,
163
- "surfboard": 37,
164
- "tennis racket": 38,
 
 
 
 
165
  "bottle": 39,
166
- "wine glass": 40,
167
- "cup": 41,
168
- "fork": 42,
169
- "knife": 43,
170
- "spoon": 44,
171
  "bowl": 45,
172
- "banana": 46,
173
- "apple": 47,
174
- "sandwich": 48,
175
- "orange": 49,
176
  "broccoli": 50,
177
- "carrot": 51,
178
- "hot dog": 52,
179
- "pizza": 53,
180
- "donut": 54,
181
  "cake": 55,
 
 
 
 
182
  "chair": 56,
 
183
  "couch": 57,
184
- "potted plant": 58,
185
- "bed": 59,
186
  "dining table": 60,
187
- "toilet": 61,
188
- "tv": 62,
189
- "laptop": 63,
190
- "mouse": 64,
191
- "remote": 65,
 
 
 
 
 
 
192
  "keyboard": 66,
193
- "cell phone": 67,
 
 
194
  "microwave": 68,
 
 
 
195
  "oven": 69,
196
- "toaster": 70,
197
- "sink": 71,
 
 
198
  "refrigerator": 72,
199
- "book": 73,
200
- "clock": 74,
201
- "vase": 75,
202
  "scissors": 76,
 
 
 
 
 
 
 
 
 
 
203
  "teddy bear": 77,
204
- "hair drier": 78,
205
- "toothbrush": 79
 
 
 
 
 
 
 
 
 
 
 
206
  },
207
  "label_noise_ratio": 0.5,
208
  "learnt_init_query": false,
@@ -220,15 +225,9 @@
220
  "num_head": 8,
221
  "num_levels": 3,
222
  "num_queries": 300,
223
- "out_indices": [
224
- 2,
225
- 3,
226
- 4
227
- ],
228
  "pe_temperature": 10000,
229
  "position_embed_type": "sine",
230
- "torch_dtype": "float32",
231
- "transformers_version": "4.35.0.dev0",
232
  "use_encoder_idx": [
233
  2
234
  ],
 
1
  {
2
  "act_decoder": "relu",
3
  "act_encoder": "silu",
 
 
 
4
  "aux_loss": true,
5
+ "backbone_config": {
6
+ "backbone": "resnet50d",
7
+ "freeze_batch_norm_2d": true,
8
+ "model_type": "timm_backbone",
9
+ "out_indices": [
10
+ 2,
11
+ 3,
12
+ 4
13
+ ]
14
+ },
15
  "box_noise_scale": 1.0,
16
  "depth_mult": 1.0,
17
  "dim_feedforward": 1024,
 
38
  ],
39
  "focal_loss_alpha": 0.75,
40
  "focal_loss_gamma": 2.0,
 
41
  "hidden_dim": 256,
42
  "id2label": {
43
  "0": "person",
44
  "1": "bicycle",
 
 
 
 
 
 
 
 
45
  "10": "fire hydrant",
46
  "11": "stop sign",
47
  "12": "parking meter",
 
52
  "17": "horse",
53
  "18": "sheep",
54
  "19": "cow",
55
+ "2": "car",
56
  "20": "elephant",
57
  "21": "bear",
58
  "22": "zebra",
 
63
  "27": "tie",
64
  "28": "suitcase",
65
  "29": "frisbee",
66
+ "3": "motorcycle",
67
  "30": "skis",
68
  "31": "snowboard",
69
  "32": "sports ball",
 
74
  "37": "surfboard",
75
  "38": "tennis racket",
76
  "39": "bottle",
77
+ "4": "airplane",
78
  "40": "wine glass",
79
  "41": "cup",
80
  "42": "fork",
 
85
  "47": "apple",
86
  "48": "sandwich",
87
  "49": "orange",
88
+ "5": "bus",
89
  "50": "broccoli",
90
  "51": "carrot",
91
  "52": "hot dog",
 
96
  "57": "couch",
97
  "58": "potted plant",
98
  "59": "bed",
99
+ "6": "train",
100
  "60": "dining table",
101
  "61": "toilet",
102
  "62": "tv",
 
107
  "67": "cell phone",
108
  "68": "microwave",
109
  "69": "oven",
110
+ "7": "truck",
111
  "70": "toaster",
112
  "71": "sink",
113
  "72": "refrigerator",
 
117
  "76": "scissors",
118
  "77": "teddy bear",
119
  "78": "hair drier",
120
+ "79": "toothbrush",
121
+ "8": "boat",
122
+ "9": "traffic light"
123
  },
124
  "in_channels": [
125
  512,
 
128
  ],
129
  "initializer_range": 0.02,
130
  "label2id": {
 
 
 
 
131
  "airplane": 4,
132
+ "apple": 47,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  "backpack": 24,
134
+ "banana": 46,
 
 
 
 
 
 
 
 
135
  "baseball bat": 34,
136
  "baseball glove": 35,
137
+ "bear": 21,
138
+ "bed": 59,
139
+ "bench": 13,
140
+ "bicycle": 1,
141
+ "bird": 14,
142
+ "boat": 8,
143
+ "book": 73,
144
  "bottle": 39,
 
 
 
 
 
145
  "bowl": 45,
 
 
 
 
146
  "broccoli": 50,
147
+ "bus": 5,
 
 
 
148
  "cake": 55,
149
+ "car": 2,
150
+ "carrot": 51,
151
+ "cat": 15,
152
+ "cell phone": 67,
153
  "chair": 56,
154
+ "clock": 74,
155
  "couch": 57,
156
+ "cow": 19,
157
+ "cup": 41,
158
  "dining table": 60,
159
+ "dog": 16,
160
+ "donut": 54,
161
+ "elephant": 20,
162
+ "fire hydrant": 10,
163
+ "fork": 42,
164
+ "frisbee": 29,
165
+ "giraffe": 23,
166
+ "hair drier": 78,
167
+ "handbag": 26,
168
+ "horse": 17,
169
+ "hot dog": 52,
170
  "keyboard": 66,
171
+ "kite": 33,
172
+ "knife": 43,
173
+ "laptop": 63,
174
  "microwave": 68,
175
+ "motorcycle": 3,
176
+ "mouse": 64,
177
+ "orange": 49,
178
  "oven": 69,
179
+ "parking meter": 12,
180
+ "person": 0,
181
+ "pizza": 53,
182
+ "potted plant": 58,
183
  "refrigerator": 72,
184
+ "remote": 65,
185
+ "sandwich": 48,
 
186
  "scissors": 76,
187
+ "sheep": 18,
188
+ "sink": 71,
189
+ "skateboard": 36,
190
+ "skis": 30,
191
+ "snowboard": 31,
192
+ "spoon": 44,
193
+ "sports ball": 32,
194
+ "stop sign": 11,
195
+ "suitcase": 28,
196
+ "surfboard": 37,
197
  "teddy bear": 77,
198
+ "tennis racket": 38,
199
+ "tie": 27,
200
+ "toaster": 70,
201
+ "toilet": 61,
202
+ "toothbrush": 79,
203
+ "traffic light": 9,
204
+ "train": 6,
205
+ "truck": 7,
206
+ "tv": 62,
207
+ "umbrella": 25,
208
+ "vase": 75,
209
+ "wine glass": 40,
210
+ "zebra": 22
211
  },
212
  "label_noise_ratio": 0.5,
213
  "learnt_init_query": false,
 
225
  "num_head": 8,
226
  "num_levels": 3,
227
  "num_queries": 300,
 
 
 
 
 
228
  "pe_temperature": 10000,
229
  "position_embed_type": "sine",
230
+ "transformers_version": "4.36.0.dev0",
 
231
  "use_encoder_idx": [
232
  2
233
  ],