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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "70120ba84d68ca1211e007c4fb61d0cd5424be54",
|
3 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "relu",
|
6 |
+
"architectures": [
|
7 |
+
"DetrForObjectDetection"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"auxiliary_loss": false,
|
11 |
+
"backbone": null,
|
12 |
+
"backbone_config": {
|
13 |
+
"_name_or_path": "",
|
14 |
+
"add_cross_attention": false,
|
15 |
+
"architectures": null,
|
16 |
+
"bad_words_ids": null,
|
17 |
+
"begin_suppress_tokens": null,
|
18 |
+
"bos_token_id": null,
|
19 |
+
"chunk_size_feed_forward": 0,
|
20 |
+
"cross_attention_hidden_size": null,
|
21 |
+
"decoder_start_token_id": null,
|
22 |
+
"depths": [
|
23 |
+
3,
|
24 |
+
4,
|
25 |
+
6,
|
26 |
+
3
|
27 |
+
],
|
28 |
+
"diversity_penalty": 0.0,
|
29 |
+
"do_sample": false,
|
30 |
+
"downsample_in_first_stage": false,
|
31 |
+
"early_stopping": false,
|
32 |
+
"embedding_size": 64,
|
33 |
+
"encoder_no_repeat_ngram_size": 0,
|
34 |
+
"eos_token_id": null,
|
35 |
+
"exponential_decay_length_penalty": null,
|
36 |
+
"finetuning_task": null,
|
37 |
+
"forced_bos_token_id": null,
|
38 |
+
"forced_eos_token_id": null,
|
39 |
+
"hidden_act": "relu",
|
40 |
+
"hidden_sizes": [
|
41 |
+
256,
|
42 |
+
512,
|
43 |
+
1024,
|
44 |
+
2048
|
45 |
+
],
|
46 |
+
"id2label": {
|
47 |
+
"0": "LABEL_0",
|
48 |
+
"1": "LABEL_1"
|
49 |
+
},
|
50 |
+
"is_decoder": false,
|
51 |
+
"is_encoder_decoder": false,
|
52 |
+
"label2id": {
|
53 |
+
"LABEL_0": 0,
|
54 |
+
"LABEL_1": 1
|
55 |
+
},
|
56 |
+
"layer_type": "bottleneck",
|
57 |
+
"length_penalty": 1.0,
|
58 |
+
"max_length": 20,
|
59 |
+
"min_length": 0,
|
60 |
+
"model_type": "resnet",
|
61 |
+
"no_repeat_ngram_size": 0,
|
62 |
+
"num_beam_groups": 1,
|
63 |
+
"num_beams": 1,
|
64 |
+
"num_channels": 3,
|
65 |
+
"num_return_sequences": 1,
|
66 |
+
"out_features": [
|
67 |
+
"stage4"
|
68 |
+
],
|
69 |
+
"out_indices": [
|
70 |
+
4
|
71 |
+
],
|
72 |
+
"output_attentions": false,
|
73 |
+
"output_hidden_states": false,
|
74 |
+
"output_scores": false,
|
75 |
+
"pad_token_id": null,
|
76 |
+
"prefix": null,
|
77 |
+
"problem_type": null,
|
78 |
+
"pruned_heads": {},
|
79 |
+
"remove_invalid_values": false,
|
80 |
+
"repetition_penalty": 1.0,
|
81 |
+
"return_dict": true,
|
82 |
+
"return_dict_in_generate": false,
|
83 |
+
"sep_token_id": null,
|
84 |
+
"stage_names": [
|
85 |
+
"stem",
|
86 |
+
"stage1",
|
87 |
+
"stage2",
|
88 |
+
"stage3",
|
89 |
+
"stage4"
|
90 |
+
],
|
91 |
+
"suppress_tokens": null,
|
92 |
+
"task_specific_params": null,
|
93 |
+
"temperature": 1.0,
|
94 |
+
"tf_legacy_loss": false,
|
95 |
+
"tie_encoder_decoder": false,
|
96 |
+
"tie_word_embeddings": true,
|
97 |
+
"tokenizer_class": null,
|
98 |
+
"top_k": 50,
|
99 |
+
"top_p": 1.0,
|
100 |
+
"torch_dtype": null,
|
101 |
+
"torchscript": false,
|
102 |
+
"transformers_version": "4.31.0",
|
103 |
+
"typical_p": 1.0,
|
104 |
+
"use_bfloat16": false
|
105 |
+
},
|
106 |
+
"bbox_cost": 5,
|
107 |
+
"bbox_loss_coefficient": 5,
|
108 |
+
"class_cost": 1,
|
109 |
+
"d_model": 256,
|
110 |
+
"decoder_attention_heads": 8,
|
111 |
+
"decoder_ffn_dim": 2048,
|
112 |
+
"decoder_layerdrop": 0.0,
|
113 |
+
"decoder_layers": 6,
|
114 |
+
"dice_loss_coefficient": 1,
|
115 |
+
"dilation": null,
|
116 |
+
"dropout": 0.1,
|
117 |
+
"encoder_attention_heads": 8,
|
118 |
+
"encoder_ffn_dim": 2048,
|
119 |
+
"encoder_layerdrop": 0.0,
|
120 |
+
"encoder_layers": 6,
|
121 |
+
"eos_coefficient": 0.1,
|
122 |
+
"giou_cost": 2,
|
123 |
+
"giou_loss_coefficient": 2,
|
124 |
+
"id2label": {
|
125 |
+
"0": "LABEL_0",
|
126 |
+
"1": "LABEL_1",
|
127 |
+
"2": "LABEL_2",
|
128 |
+
"3": "LABEL_3",
|
129 |
+
"4": "LABEL_4",
|
130 |
+
"5": "LABEL_5",
|
131 |
+
"6": "LABEL_6",
|
132 |
+
"7": "LABEL_7",
|
133 |
+
"8": "LABEL_8",
|
134 |
+
"9": "LABEL_9",
|
135 |
+
"10": "LABEL_10",
|
136 |
+
"11": "LABEL_11",
|
137 |
+
"12": "LABEL_12",
|
138 |
+
"13": "LABEL_13",
|
139 |
+
"14": "LABEL_14",
|
140 |
+
"15": "LABEL_15",
|
141 |
+
"16": "LABEL_16",
|
142 |
+
"17": "LABEL_17",
|
143 |
+
"18": "LABEL_18",
|
144 |
+
"19": "LABEL_19",
|
145 |
+
"20": "LABEL_20",
|
146 |
+
"21": "LABEL_21",
|
147 |
+
"22": "LABEL_22",
|
148 |
+
"23": "LABEL_23",
|
149 |
+
"24": "LABEL_24",
|
150 |
+
"25": "LABEL_25",
|
151 |
+
"26": "LABEL_26",
|
152 |
+
"27": "LABEL_27",
|
153 |
+
"28": "LABEL_28",
|
154 |
+
"29": "LABEL_29",
|
155 |
+
"30": "LABEL_30",
|
156 |
+
"31": "LABEL_31",
|
157 |
+
"32": "LABEL_32",
|
158 |
+
"33": "LABEL_33",
|
159 |
+
"34": "LABEL_34",
|
160 |
+
"35": "LABEL_35",
|
161 |
+
"36": "LABEL_36",
|
162 |
+
"37": "LABEL_37",
|
163 |
+
"38": "LABEL_38",
|
164 |
+
"39": "LABEL_39",
|
165 |
+
"40": "LABEL_40",
|
166 |
+
"41": "LABEL_41",
|
167 |
+
"42": "LABEL_42",
|
168 |
+
"43": "LABEL_43",
|
169 |
+
"44": "LABEL_44",
|
170 |
+
"45": "LABEL_45",
|
171 |
+
"46": "LABEL_46",
|
172 |
+
"47": "LABEL_47",
|
173 |
+
"48": "LABEL_48",
|
174 |
+
"49": "LABEL_49",
|
175 |
+
"50": "LABEL_50",
|
176 |
+
"51": "LABEL_51",
|
177 |
+
"52": "LABEL_52",
|
178 |
+
"53": "LABEL_53",
|
179 |
+
"54": "LABEL_54",
|
180 |
+
"55": "LABEL_55",
|
181 |
+
"56": "LABEL_56",
|
182 |
+
"57": "LABEL_57",
|
183 |
+
"58": "LABEL_58",
|
184 |
+
"59": "LABEL_59",
|
185 |
+
"60": "LABEL_60",
|
186 |
+
"61": "LABEL_61",
|
187 |
+
"62": "LABEL_62",
|
188 |
+
"63": "LABEL_63",
|
189 |
+
"64": "LABEL_64",
|
190 |
+
"65": "LABEL_65",
|
191 |
+
"66": "LABEL_66",
|
192 |
+
"67": "LABEL_67",
|
193 |
+
"68": "LABEL_68",
|
194 |
+
"69": "LABEL_69",
|
195 |
+
"70": "LABEL_70",
|
196 |
+
"71": "LABEL_71",
|
197 |
+
"72": "LABEL_72",
|
198 |
+
"73": "LABEL_73",
|
199 |
+
"74": "LABEL_74",
|
200 |
+
"75": "LABEL_75",
|
201 |
+
"76": "LABEL_76",
|
202 |
+
"77": "LABEL_77",
|
203 |
+
"78": "LABEL_78",
|
204 |
+
"79": "LABEL_79",
|
205 |
+
"80": "LABEL_80",
|
206 |
+
"81": "LABEL_81",
|
207 |
+
"82": "LABEL_82",
|
208 |
+
"83": "LABEL_83",
|
209 |
+
"84": "LABEL_84",
|
210 |
+
"85": "LABEL_85",
|
211 |
+
"86": "LABEL_86",
|
212 |
+
"87": "LABEL_87",
|
213 |
+
"88": "LABEL_88",
|
214 |
+
"89": "LABEL_89"
|
215 |
+
},
|
216 |
+
"init_std": 0.02,
|
217 |
+
"init_xavier_std": 1.0,
|
218 |
+
"is_encoder_decoder": true,
|
219 |
+
"label2id": {
|
220 |
+
"LABEL_0": 0,
|
221 |
+
"LABEL_1": 1,
|
222 |
+
"LABEL_10": 10,
|
223 |
+
"LABEL_11": 11,
|
224 |
+
"LABEL_12": 12,
|
225 |
+
"LABEL_13": 13,
|
226 |
+
"LABEL_14": 14,
|
227 |
+
"LABEL_15": 15,
|
228 |
+
"LABEL_16": 16,
|
229 |
+
"LABEL_17": 17,
|
230 |
+
"LABEL_18": 18,
|
231 |
+
"LABEL_19": 19,
|
232 |
+
"LABEL_2": 2,
|
233 |
+
"LABEL_20": 20,
|
234 |
+
"LABEL_21": 21,
|
235 |
+
"LABEL_22": 22,
|
236 |
+
"LABEL_23": 23,
|
237 |
+
"LABEL_24": 24,
|
238 |
+
"LABEL_25": 25,
|
239 |
+
"LABEL_26": 26,
|
240 |
+
"LABEL_27": 27,
|
241 |
+
"LABEL_28": 28,
|
242 |
+
"LABEL_29": 29,
|
243 |
+
"LABEL_3": 3,
|
244 |
+
"LABEL_30": 30,
|
245 |
+
"LABEL_31": 31,
|
246 |
+
"LABEL_32": 32,
|
247 |
+
"LABEL_33": 33,
|
248 |
+
"LABEL_34": 34,
|
249 |
+
"LABEL_35": 35,
|
250 |
+
"LABEL_36": 36,
|
251 |
+
"LABEL_37": 37,
|
252 |
+
"LABEL_38": 38,
|
253 |
+
"LABEL_39": 39,
|
254 |
+
"LABEL_4": 4,
|
255 |
+
"LABEL_40": 40,
|
256 |
+
"LABEL_41": 41,
|
257 |
+
"LABEL_42": 42,
|
258 |
+
"LABEL_43": 43,
|
259 |
+
"LABEL_44": 44,
|
260 |
+
"LABEL_45": 45,
|
261 |
+
"LABEL_46": 46,
|
262 |
+
"LABEL_47": 47,
|
263 |
+
"LABEL_48": 48,
|
264 |
+
"LABEL_49": 49,
|
265 |
+
"LABEL_5": 5,
|
266 |
+
"LABEL_50": 50,
|
267 |
+
"LABEL_51": 51,
|
268 |
+
"LABEL_52": 52,
|
269 |
+
"LABEL_53": 53,
|
270 |
+
"LABEL_54": 54,
|
271 |
+
"LABEL_55": 55,
|
272 |
+
"LABEL_56": 56,
|
273 |
+
"LABEL_57": 57,
|
274 |
+
"LABEL_58": 58,
|
275 |
+
"LABEL_59": 59,
|
276 |
+
"LABEL_6": 6,
|
277 |
+
"LABEL_60": 60,
|
278 |
+
"LABEL_61": 61,
|
279 |
+
"LABEL_62": 62,
|
280 |
+
"LABEL_63": 63,
|
281 |
+
"LABEL_64": 64,
|
282 |
+
"LABEL_65": 65,
|
283 |
+
"LABEL_66": 66,
|
284 |
+
"LABEL_67": 67,
|
285 |
+
"LABEL_68": 68,
|
286 |
+
"LABEL_69": 69,
|
287 |
+
"LABEL_7": 7,
|
288 |
+
"LABEL_70": 70,
|
289 |
+
"LABEL_71": 71,
|
290 |
+
"LABEL_72": 72,
|
291 |
+
"LABEL_73": 73,
|
292 |
+
"LABEL_74": 74,
|
293 |
+
"LABEL_75": 75,
|
294 |
+
"LABEL_76": 76,
|
295 |
+
"LABEL_77": 77,
|
296 |
+
"LABEL_78": 78,
|
297 |
+
"LABEL_79": 79,
|
298 |
+
"LABEL_8": 8,
|
299 |
+
"LABEL_80": 80,
|
300 |
+
"LABEL_81": 81,
|
301 |
+
"LABEL_82": 82,
|
302 |
+
"LABEL_83": 83,
|
303 |
+
"LABEL_84": 84,
|
304 |
+
"LABEL_85": 85,
|
305 |
+
"LABEL_86": 86,
|
306 |
+
"LABEL_87": 87,
|
307 |
+
"LABEL_88": 88,
|
308 |
+
"LABEL_89": 89,
|
309 |
+
"LABEL_9": 9
|
310 |
+
},
|
311 |
+
"mask_loss_coefficient": 1,
|
312 |
+
"model_type": "detr",
|
313 |
+
"num_channels": 3,
|
314 |
+
"num_hidden_layers": 6,
|
315 |
+
"num_queries": 100,
|
316 |
+
"position_embedding_type": "sine",
|
317 |
+
"scale_embedding": false,
|
318 |
+
"torch_dtype": "float32",
|
319 |
+
"transformers_version": null,
|
320 |
+
"use_pretrained_backbone": null,
|
321 |
+
"use_timm_backbone": false
|
322 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ec1e2fd8dfccb3ec1934267c98b4ef4031131c814465b50951fdf5f73c730e5
|
3 |
+
size 166707605
|