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