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"activation_dropout": 0.0,
|
3 |
+
"activation_function": "relu",
|
4 |
+
"architectures": [
|
5 |
+
"DetrForObjectDetection"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"auxiliary_loss": false,
|
9 |
+
"backbone": "resnet50",
|
10 |
+
"bbox_cost": 5,
|
11 |
+
"bbox_loss_coefficient": 5,
|
12 |
+
"class_cost": 1,
|
13 |
+
"d_model": 256,
|
14 |
+
"decoder_attention_heads": 8,
|
15 |
+
"decoder_ffn_dim": 4,
|
16 |
+
"decoder_layerdrop": 0.0,
|
17 |
+
"decoder_layers": 2,
|
18 |
+
"dice_loss_coefficient": 1,
|
19 |
+
"dilation": false,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"encoder_attention_heads": 8,
|
22 |
+
"encoder_ffn_dim": 4,
|
23 |
+
"encoder_layerdrop": 0.0,
|
24 |
+
"encoder_layers": 2,
|
25 |
+
"eos_coefficient": 0.1,
|
26 |
+
"giou_cost": 2,
|
27 |
+
"giou_loss_coefficient": 2,
|
28 |
+
"id2label": {
|
29 |
+
"0": "LABEL_0",
|
30 |
+
"1": "LABEL_1",
|
31 |
+
"2": "LABEL_2",
|
32 |
+
"3": "LABEL_3",
|
33 |
+
"4": "LABEL_4",
|
34 |
+
"5": "LABEL_5",
|
35 |
+
"6": "LABEL_6",
|
36 |
+
"7": "LABEL_7",
|
37 |
+
"8": "LABEL_8",
|
38 |
+
"9": "LABEL_9",
|
39 |
+
"10": "LABEL_10",
|
40 |
+
"11": "LABEL_11",
|
41 |
+
"12": "LABEL_12",
|
42 |
+
"13": "LABEL_13",
|
43 |
+
"14": "LABEL_14",
|
44 |
+
"15": "LABEL_15",
|
45 |
+
"16": "LABEL_16",
|
46 |
+
"17": "LABEL_17",
|
47 |
+
"18": "LABEL_18",
|
48 |
+
"19": "LABEL_19",
|
49 |
+
"20": "LABEL_20",
|
50 |
+
"21": "LABEL_21",
|
51 |
+
"22": "LABEL_22",
|
52 |
+
"23": "LABEL_23",
|
53 |
+
"24": "LABEL_24",
|
54 |
+
"25": "LABEL_25",
|
55 |
+
"26": "LABEL_26",
|
56 |
+
"27": "LABEL_27",
|
57 |
+
"28": "LABEL_28",
|
58 |
+
"29": "LABEL_29",
|
59 |
+
"30": "LABEL_30",
|
60 |
+
"31": "LABEL_31",
|
61 |
+
"32": "LABEL_32",
|
62 |
+
"33": "LABEL_33",
|
63 |
+
"34": "LABEL_34",
|
64 |
+
"35": "LABEL_35",
|
65 |
+
"36": "LABEL_36",
|
66 |
+
"37": "LABEL_37",
|
67 |
+
"38": "LABEL_38",
|
68 |
+
"39": "LABEL_39",
|
69 |
+
"40": "LABEL_40",
|
70 |
+
"41": "LABEL_41",
|
71 |
+
"42": "LABEL_42",
|
72 |
+
"43": "LABEL_43",
|
73 |
+
"44": "LABEL_44",
|
74 |
+
"45": "LABEL_45",
|
75 |
+
"46": "LABEL_46",
|
76 |
+
"47": "LABEL_47",
|
77 |
+
"48": "LABEL_48",
|
78 |
+
"49": "LABEL_49",
|
79 |
+
"50": "LABEL_50",
|
80 |
+
"51": "LABEL_51",
|
81 |
+
"52": "LABEL_52",
|
82 |
+
"53": "LABEL_53",
|
83 |
+
"54": "LABEL_54",
|
84 |
+
"55": "LABEL_55",
|
85 |
+
"56": "LABEL_56",
|
86 |
+
"57": "LABEL_57",
|
87 |
+
"58": "LABEL_58",
|
88 |
+
"59": "LABEL_59",
|
89 |
+
"60": "LABEL_60",
|
90 |
+
"61": "LABEL_61",
|
91 |
+
"62": "LABEL_62",
|
92 |
+
"63": "LABEL_63",
|
93 |
+
"64": "LABEL_64",
|
94 |
+
"65": "LABEL_65",
|
95 |
+
"66": "LABEL_66",
|
96 |
+
"67": "LABEL_67",
|
97 |
+
"68": "LABEL_68",
|
98 |
+
"69": "LABEL_69",
|
99 |
+
"70": "LABEL_70",
|
100 |
+
"71": "LABEL_71",
|
101 |
+
"72": "LABEL_72",
|
102 |
+
"73": "LABEL_73",
|
103 |
+
"74": "LABEL_74",
|
104 |
+
"75": "LABEL_75",
|
105 |
+
"76": "LABEL_76",
|
106 |
+
"77": "LABEL_77",
|
107 |
+
"78": "LABEL_78",
|
108 |
+
"79": "LABEL_79",
|
109 |
+
"80": "LABEL_80",
|
110 |
+
"81": "LABEL_81",
|
111 |
+
"82": "LABEL_82",
|
112 |
+
"83": "LABEL_83",
|
113 |
+
"84": "LABEL_84",
|
114 |
+
"85": "LABEL_85",
|
115 |
+
"86": "LABEL_86",
|
116 |
+
"87": "LABEL_87",
|
117 |
+
"88": "LABEL_88",
|
118 |
+
"89": "LABEL_89",
|
119 |
+
"90": "LABEL_90"
|
120 |
+
},
|
121 |
+
"init_std": 0.02,
|
122 |
+
"init_xavier_std": 1.0,
|
123 |
+
"is_encoder_decoder": true,
|
124 |
+
"label2id": {
|
125 |
+
"LABEL_0": 0,
|
126 |
+
"LABEL_1": 1,
|
127 |
+
"LABEL_10": 10,
|
128 |
+
"LABEL_11": 11,
|
129 |
+
"LABEL_12": 12,
|
130 |
+
"LABEL_13": 13,
|
131 |
+
"LABEL_14": 14,
|
132 |
+
"LABEL_15": 15,
|
133 |
+
"LABEL_16": 16,
|
134 |
+
"LABEL_17": 17,
|
135 |
+
"LABEL_18": 18,
|
136 |
+
"LABEL_19": 19,
|
137 |
+
"LABEL_2": 2,
|
138 |
+
"LABEL_20": 20,
|
139 |
+
"LABEL_21": 21,
|
140 |
+
"LABEL_22": 22,
|
141 |
+
"LABEL_23": 23,
|
142 |
+
"LABEL_24": 24,
|
143 |
+
"LABEL_25": 25,
|
144 |
+
"LABEL_26": 26,
|
145 |
+
"LABEL_27": 27,
|
146 |
+
"LABEL_28": 28,
|
147 |
+
"LABEL_29": 29,
|
148 |
+
"LABEL_3": 3,
|
149 |
+
"LABEL_30": 30,
|
150 |
+
"LABEL_31": 31,
|
151 |
+
"LABEL_32": 32,
|
152 |
+
"LABEL_33": 33,
|
153 |
+
"LABEL_34": 34,
|
154 |
+
"LABEL_35": 35,
|
155 |
+
"LABEL_36": 36,
|
156 |
+
"LABEL_37": 37,
|
157 |
+
"LABEL_38": 38,
|
158 |
+
"LABEL_39": 39,
|
159 |
+
"LABEL_4": 4,
|
160 |
+
"LABEL_40": 40,
|
161 |
+
"LABEL_41": 41,
|
162 |
+
"LABEL_42": 42,
|
163 |
+
"LABEL_43": 43,
|
164 |
+
"LABEL_44": 44,
|
165 |
+
"LABEL_45": 45,
|
166 |
+
"LABEL_46": 46,
|
167 |
+
"LABEL_47": 47,
|
168 |
+
"LABEL_48": 48,
|
169 |
+
"LABEL_49": 49,
|
170 |
+
"LABEL_5": 5,
|
171 |
+
"LABEL_50": 50,
|
172 |
+
"LABEL_51": 51,
|
173 |
+
"LABEL_52": 52,
|
174 |
+
"LABEL_53": 53,
|
175 |
+
"LABEL_54": 54,
|
176 |
+
"LABEL_55": 55,
|
177 |
+
"LABEL_56": 56,
|
178 |
+
"LABEL_57": 57,
|
179 |
+
"LABEL_58": 58,
|
180 |
+
"LABEL_59": 59,
|
181 |
+
"LABEL_6": 6,
|
182 |
+
"LABEL_60": 60,
|
183 |
+
"LABEL_61": 61,
|
184 |
+
"LABEL_62": 62,
|
185 |
+
"LABEL_63": 63,
|
186 |
+
"LABEL_64": 64,
|
187 |
+
"LABEL_65": 65,
|
188 |
+
"LABEL_66": 66,
|
189 |
+
"LABEL_67": 67,
|
190 |
+
"LABEL_68": 68,
|
191 |
+
"LABEL_69": 69,
|
192 |
+
"LABEL_7": 7,
|
193 |
+
"LABEL_70": 70,
|
194 |
+
"LABEL_71": 71,
|
195 |
+
"LABEL_72": 72,
|
196 |
+
"LABEL_73": 73,
|
197 |
+
"LABEL_74": 74,
|
198 |
+
"LABEL_75": 75,
|
199 |
+
"LABEL_76": 76,
|
200 |
+
"LABEL_77": 77,
|
201 |
+
"LABEL_78": 78,
|
202 |
+
"LABEL_79": 79,
|
203 |
+
"LABEL_8": 8,
|
204 |
+
"LABEL_80": 80,
|
205 |
+
"LABEL_81": 81,
|
206 |
+
"LABEL_82": 82,
|
207 |
+
"LABEL_83": 83,
|
208 |
+
"LABEL_84": 84,
|
209 |
+
"LABEL_85": 85,
|
210 |
+
"LABEL_86": 86,
|
211 |
+
"LABEL_87": 87,
|
212 |
+
"LABEL_88": 88,
|
213 |
+
"LABEL_89": 89,
|
214 |
+
"LABEL_9": 9,
|
215 |
+
"LABEL_90": 90
|
216 |
+
},
|
217 |
+
"mask_loss_coefficient": 1,
|
218 |
+
"max_position_embeddings": 1024,
|
219 |
+
"model_type": "detr",
|
220 |
+
"num_channels": 3,
|
221 |
+
"num_hidden_layers": 2,
|
222 |
+
"num_queries": 12,
|
223 |
+
"position_embedding_type": "sine",
|
224 |
+
"scale_embedding": false,
|
225 |
+
"torch_dtype": "float32",
|
226 |
+
"transformers_version": "4.25.0.dev0",
|
227 |
+
"use_pretrained_backbone": true
|
228 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_resize": true,
|
4 |
+
"feature_extractor_type": "DetrFeatureExtractor",
|
5 |
+
"format": "coco_detection",
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"max_size": 1333,
|
17 |
+
"size": 800
|
18 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fae513cc56e511e26026bfa1b60b176be15ab69aa1477136d3570dcdd483620
|
3 |
+
size 103477637
|