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