nielsr HF staff commited on
Commit
49f2748
·
1 Parent(s): c4e30ca
Files changed (2) hide show
  1. config.json +294 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "anchor_generator_ratios": [
3
+ 0.5,
4
+ 1.0,
5
+ 2.0
6
+ ],
7
+ "anchor_generator_scales": [
8
+ 8
9
+ ],
10
+ "anchor_generator_strides": [
11
+ 4,
12
+ 8,
13
+ 16,
14
+ 32,
15
+ 64
16
+ ],
17
+ "architectures": [
18
+ "ConvNextMaskRCNNForObjectDetection"
19
+ ],
20
+ "backbone_out_indices": [
21
+ 0,
22
+ 1,
23
+ 2,
24
+ 3
25
+ ],
26
+ "bbox_head_bbox_coder_target_means": [
27
+ 0.0,
28
+ 0.0,
29
+ 0.0,
30
+ 0.0
31
+ ],
32
+ "bbox_head_bbox_coder_target_stds": [
33
+ 0.1,
34
+ 0.1,
35
+ 0.2,
36
+ 0.2
37
+ ],
38
+ "bbox_head_in_channels": 256,
39
+ "bbox_roi_extractor_featmap_strides": [
40
+ 4,
41
+ 8,
42
+ 16,
43
+ 32
44
+ ],
45
+ "bbox_roi_extractor_out_channels": 256,
46
+ "bbox_roi_extractor_roi_layer": {
47
+ "output_size": 7,
48
+ "sampling_ratio": 0,
49
+ "type": "RoIAlign"
50
+ },
51
+ "depths": [
52
+ 3,
53
+ 3,
54
+ 9,
55
+ 3
56
+ ],
57
+ "drop_path_rate": 0.0,
58
+ "fpn_num_outputs": 5,
59
+ "fpn_out_channels": 256,
60
+ "hidden_act": "gelu",
61
+ "hidden_sizes": [
62
+ 96,
63
+ 192,
64
+ 384,
65
+ 768
66
+ ],
67
+ "id2label": {
68
+ "0": "LABEL_0",
69
+ "1": "LABEL_1",
70
+ "2": "LABEL_2",
71
+ "3": "LABEL_3",
72
+ "4": "LABEL_4",
73
+ "5": "LABEL_5",
74
+ "6": "LABEL_6",
75
+ "7": "LABEL_7",
76
+ "8": "LABEL_8",
77
+ "9": "LABEL_9",
78
+ "10": "LABEL_10",
79
+ "11": "LABEL_11",
80
+ "12": "LABEL_12",
81
+ "13": "LABEL_13",
82
+ "14": "LABEL_14",
83
+ "15": "LABEL_15",
84
+ "16": "LABEL_16",
85
+ "17": "LABEL_17",
86
+ "18": "LABEL_18",
87
+ "19": "LABEL_19",
88
+ "20": "LABEL_20",
89
+ "21": "LABEL_21",
90
+ "22": "LABEL_22",
91
+ "23": "LABEL_23",
92
+ "24": "LABEL_24",
93
+ "25": "LABEL_25",
94
+ "26": "LABEL_26",
95
+ "27": "LABEL_27",
96
+ "28": "LABEL_28",
97
+ "29": "LABEL_29",
98
+ "30": "LABEL_30",
99
+ "31": "LABEL_31",
100
+ "32": "LABEL_32",
101
+ "33": "LABEL_33",
102
+ "34": "LABEL_34",
103
+ "35": "LABEL_35",
104
+ "36": "LABEL_36",
105
+ "37": "LABEL_37",
106
+ "38": "LABEL_38",
107
+ "39": "LABEL_39",
108
+ "40": "LABEL_40",
109
+ "41": "LABEL_41",
110
+ "42": "LABEL_42",
111
+ "43": "LABEL_43",
112
+ "44": "LABEL_44",
113
+ "45": "LABEL_45",
114
+ "46": "LABEL_46",
115
+ "47": "LABEL_47",
116
+ "48": "LABEL_48",
117
+ "49": "LABEL_49",
118
+ "50": "LABEL_50",
119
+ "51": "LABEL_51",
120
+ "52": "LABEL_52",
121
+ "53": "LABEL_53",
122
+ "54": "LABEL_54",
123
+ "55": "LABEL_55",
124
+ "56": "LABEL_56",
125
+ "57": "LABEL_57",
126
+ "58": "LABEL_58",
127
+ "59": "LABEL_59",
128
+ "60": "LABEL_60",
129
+ "61": "LABEL_61",
130
+ "62": "LABEL_62",
131
+ "63": "LABEL_63",
132
+ "64": "LABEL_64",
133
+ "65": "LABEL_65",
134
+ "66": "LABEL_66",
135
+ "67": "LABEL_67",
136
+ "68": "LABEL_68",
137
+ "69": "LABEL_69",
138
+ "70": "LABEL_70",
139
+ "71": "LABEL_71",
140
+ "72": "LABEL_72",
141
+ "73": "LABEL_73",
142
+ "74": "LABEL_74",
143
+ "75": "LABEL_75",
144
+ "76": "LABEL_76",
145
+ "77": "LABEL_77",
146
+ "78": "LABEL_78",
147
+ "79": "LABEL_79"
148
+ },
149
+ "image_size": 224,
150
+ "initializer_range": 0.02,
151
+ "label2id": {
152
+ "LABEL_0": 0,
153
+ "LABEL_1": 1,
154
+ "LABEL_10": 10,
155
+ "LABEL_11": 11,
156
+ "LABEL_12": 12,
157
+ "LABEL_13": 13,
158
+ "LABEL_14": 14,
159
+ "LABEL_15": 15,
160
+ "LABEL_16": 16,
161
+ "LABEL_17": 17,
162
+ "LABEL_18": 18,
163
+ "LABEL_19": 19,
164
+ "LABEL_2": 2,
165
+ "LABEL_20": 20,
166
+ "LABEL_21": 21,
167
+ "LABEL_22": 22,
168
+ "LABEL_23": 23,
169
+ "LABEL_24": 24,
170
+ "LABEL_25": 25,
171
+ "LABEL_26": 26,
172
+ "LABEL_27": 27,
173
+ "LABEL_28": 28,
174
+ "LABEL_29": 29,
175
+ "LABEL_3": 3,
176
+ "LABEL_30": 30,
177
+ "LABEL_31": 31,
178
+ "LABEL_32": 32,
179
+ "LABEL_33": 33,
180
+ "LABEL_34": 34,
181
+ "LABEL_35": 35,
182
+ "LABEL_36": 36,
183
+ "LABEL_37": 37,
184
+ "LABEL_38": 38,
185
+ "LABEL_39": 39,
186
+ "LABEL_4": 4,
187
+ "LABEL_40": 40,
188
+ "LABEL_41": 41,
189
+ "LABEL_42": 42,
190
+ "LABEL_43": 43,
191
+ "LABEL_44": 44,
192
+ "LABEL_45": 45,
193
+ "LABEL_46": 46,
194
+ "LABEL_47": 47,
195
+ "LABEL_48": 48,
196
+ "LABEL_49": 49,
197
+ "LABEL_5": 5,
198
+ "LABEL_50": 50,
199
+ "LABEL_51": 51,
200
+ "LABEL_52": 52,
201
+ "LABEL_53": 53,
202
+ "LABEL_54": 54,
203
+ "LABEL_55": 55,
204
+ "LABEL_56": 56,
205
+ "LABEL_57": 57,
206
+ "LABEL_58": 58,
207
+ "LABEL_59": 59,
208
+ "LABEL_6": 6,
209
+ "LABEL_60": 60,
210
+ "LABEL_61": 61,
211
+ "LABEL_62": 62,
212
+ "LABEL_63": 63,
213
+ "LABEL_64": 64,
214
+ "LABEL_65": 65,
215
+ "LABEL_66": 66,
216
+ "LABEL_67": 67,
217
+ "LABEL_68": 68,
218
+ "LABEL_69": 69,
219
+ "LABEL_7": 7,
220
+ "LABEL_70": 70,
221
+ "LABEL_71": 71,
222
+ "LABEL_72": 72,
223
+ "LABEL_73": 73,
224
+ "LABEL_74": 74,
225
+ "LABEL_75": 75,
226
+ "LABEL_76": 76,
227
+ "LABEL_77": 77,
228
+ "LABEL_78": 78,
229
+ "LABEL_79": 79,
230
+ "LABEL_8": 8,
231
+ "LABEL_9": 9
232
+ },
233
+ "layer_norm_eps": 1e-12,
234
+ "layer_scale_init_value": 1e-06,
235
+ "mask_roi_extractor_featmap_strides": [
236
+ 4,
237
+ 8,
238
+ 16,
239
+ 32
240
+ ],
241
+ "mask_roi_extractor_out_channels": 256,
242
+ "mask_roi_extractor_roi_layer": {
243
+ "output_size": 14,
244
+ "sampling_ratio": 0,
245
+ "type": "RoIAlign"
246
+ },
247
+ "model_type": "convnext_maskrcnn",
248
+ "num_channels": 3,
249
+ "num_stages": 4,
250
+ "patch_size": 4,
251
+ "rcnn_test_cfg": {
252
+ "mask_thr_binary": 0.5,
253
+ "max_per_img": 100,
254
+ "nms": {
255
+ "iou_threshold": 0.5,
256
+ "type": "nms"
257
+ },
258
+ "score_thr": 0.05
259
+ },
260
+ "rpn_bbox_coder_target_means": [
261
+ 0.0,
262
+ 0.0,
263
+ 0.0,
264
+ 0.0
265
+ ],
266
+ "rpn_bbox_coder_target_stds": [
267
+ 1.0,
268
+ 1.0,
269
+ 1.0,
270
+ 1.0
271
+ ],
272
+ "rpn_feat_channels": 256,
273
+ "rpn_in_channels": 256,
274
+ "rpn_loss_bbox": {
275
+ "loss_weight": 1.0,
276
+ "type": "L1Loss"
277
+ },
278
+ "rpn_loss_cls": {
279
+ "loss_weight": 1.0,
280
+ "type": "CrossEntropyLoss",
281
+ "use_sigmoid": true
282
+ },
283
+ "rpn_test_cfg": {
284
+ "max_per_img": 1000,
285
+ "min_bbox_size": 0,
286
+ "nms": {
287
+ "iou_threshold": 0.7,
288
+ "type": "nms"
289
+ },
290
+ "nms_pre": 1000
291
+ },
292
+ "torch_dtype": "float32",
293
+ "transformers_version": "4.21.0.dev0"
294
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:764aea42bf643bac95cfc92daf6db878a9a3ae0cc6c2cd5c0ec79cf505e632d0
3
+ size 192453881