Xenova HF staff commited on
Commit
8237b56
1 Parent(s): 9b78d86

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "PekingU/rtdetr_r34vd",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "silu",
5
+ "anchor_image_size": [
6
+ 640,
7
+ 640
8
+ ],
9
+ "architectures": [
10
+ "RTDetrForObjectDetection"
11
+ ],
12
+ "attention_dropout": 0.0,
13
+ "auxiliary_loss": true,
14
+ "backbone": null,
15
+ "backbone_config": {
16
+ "hidden_sizes": [
17
+ 64,
18
+ 128,
19
+ 256,
20
+ 512
21
+ ],
22
+ "layer_type": "basic",
23
+ "model_type": "rt_detr_resnet",
24
+ "out_features": [
25
+ "stage2",
26
+ "stage3",
27
+ "stage4"
28
+ ],
29
+ "out_indices": [
30
+ 2,
31
+ 3,
32
+ 4
33
+ ]
34
+ },
35
+ "backbone_kwargs": null,
36
+ "batch_norm_eps": 1e-05,
37
+ "box_noise_scale": 1.0,
38
+ "d_model": 256,
39
+ "decoder_activation_function": "relu",
40
+ "decoder_attention_heads": 8,
41
+ "decoder_ffn_dim": 1024,
42
+ "decoder_in_channels": [
43
+ 256,
44
+ 256,
45
+ 256
46
+ ],
47
+ "decoder_layers": 4,
48
+ "decoder_n_points": 4,
49
+ "disable_custom_kernels": true,
50
+ "dropout": 0.0,
51
+ "encode_proj_layers": [
52
+ 2
53
+ ],
54
+ "encoder_activation_function": "gelu",
55
+ "encoder_attention_heads": 8,
56
+ "encoder_ffn_dim": 1024,
57
+ "encoder_hidden_dim": 256,
58
+ "encoder_in_channels": [
59
+ 128,
60
+ 256,
61
+ 512
62
+ ],
63
+ "encoder_layers": 1,
64
+ "eos_coefficient": 0.0001,
65
+ "eval_size": null,
66
+ "feat_strides": [
67
+ 8,
68
+ 16,
69
+ 32
70
+ ],
71
+ "focal_loss_alpha": 0.75,
72
+ "focal_loss_gamma": 2.0,
73
+ "hidden_expansion": 0.5,
74
+ "id2label": {
75
+ "0": "person",
76
+ "1": "bicycle",
77
+ "2": "car",
78
+ "3": "motorbike",
79
+ "4": "aeroplane",
80
+ "5": "bus",
81
+ "6": "train",
82
+ "7": "truck",
83
+ "8": "boat",
84
+ "9": "traffic light",
85
+ "10": "fire hydrant",
86
+ "11": "stop sign",
87
+ "12": "parking meter",
88
+ "13": "bench",
89
+ "14": "bird",
90
+ "15": "cat",
91
+ "16": "dog",
92
+ "17": "horse",
93
+ "18": "sheep",
94
+ "19": "cow",
95
+ "20": "elephant",
96
+ "21": "bear",
97
+ "22": "zebra",
98
+ "23": "giraffe",
99
+ "24": "backpack",
100
+ "25": "umbrella",
101
+ "26": "handbag",
102
+ "27": "tie",
103
+ "28": "suitcase",
104
+ "29": "frisbee",
105
+ "30": "skis",
106
+ "31": "snowboard",
107
+ "32": "sports ball",
108
+ "33": "kite",
109
+ "34": "baseball bat",
110
+ "35": "baseball glove",
111
+ "36": "skateboard",
112
+ "37": "surfboard",
113
+ "38": "tennis racket",
114
+ "39": "bottle",
115
+ "40": "wine glass",
116
+ "41": "cup",
117
+ "42": "fork",
118
+ "43": "knife",
119
+ "44": "spoon",
120
+ "45": "bowl",
121
+ "46": "banana",
122
+ "47": "apple",
123
+ "48": "sandwich",
124
+ "49": "orange",
125
+ "50": "broccoli",
126
+ "51": "carrot",
127
+ "52": "hot dog",
128
+ "53": "pizza",
129
+ "54": "donut",
130
+ "55": "cake",
131
+ "56": "chair",
132
+ "57": "sofa",
133
+ "58": "pottedplant",
134
+ "59": "bed",
135
+ "60": "diningtable",
136
+ "61": "toilet",
137
+ "62": "tvmonitor",
138
+ "63": "laptop",
139
+ "64": "mouse",
140
+ "65": "remote",
141
+ "66": "keyboard",
142
+ "67": "cell phone",
143
+ "68": "microwave",
144
+ "69": "oven",
145
+ "70": "toaster",
146
+ "71": "sink",
147
+ "72": "refrigerator",
148
+ "73": "book",
149
+ "74": "clock",
150
+ "75": "vase",
151
+ "76": "scissors",
152
+ "77": "teddy bear",
153
+ "78": "hair drier",
154
+ "79": "toothbrush"
155
+ },
156
+ "initializer_range": 0.01,
157
+ "is_encoder_decoder": true,
158
+ "label2id": {
159
+ "aeroplane": 4,
160
+ "apple": 47,
161
+ "backpack": 24,
162
+ "banana": 46,
163
+ "baseball bat": 34,
164
+ "baseball glove": 35,
165
+ "bear": 21,
166
+ "bed": 59,
167
+ "bench": 13,
168
+ "bicycle": 1,
169
+ "bird": 14,
170
+ "boat": 8,
171
+ "book": 73,
172
+ "bottle": 39,
173
+ "bowl": 45,
174
+ "broccoli": 50,
175
+ "bus": 5,
176
+ "cake": 55,
177
+ "car": 2,
178
+ "carrot": 51,
179
+ "cat": 15,
180
+ "cell phone": 67,
181
+ "chair": 56,
182
+ "clock": 74,
183
+ "cow": 19,
184
+ "cup": 41,
185
+ "diningtable": 60,
186
+ "dog": 16,
187
+ "donut": 54,
188
+ "elephant": 20,
189
+ "fire hydrant": 10,
190
+ "fork": 42,
191
+ "frisbee": 29,
192
+ "giraffe": 23,
193
+ "hair drier": 78,
194
+ "handbag": 26,
195
+ "horse": 17,
196
+ "hot dog": 52,
197
+ "keyboard": 66,
198
+ "kite": 33,
199
+ "knife": 43,
200
+ "laptop": 63,
201
+ "microwave": 68,
202
+ "motorbike": 3,
203
+ "mouse": 64,
204
+ "orange": 49,
205
+ "oven": 69,
206
+ "parking meter": 12,
207
+ "person": 0,
208
+ "pizza": 53,
209
+ "pottedplant": 58,
210
+ "refrigerator": 72,
211
+ "remote": 65,
212
+ "sandwich": 48,
213
+ "scissors": 76,
214
+ "sheep": 18,
215
+ "sink": 71,
216
+ "skateboard": 36,
217
+ "skis": 30,
218
+ "snowboard": 31,
219
+ "sofa": 57,
220
+ "spoon": 44,
221
+ "sports ball": 32,
222
+ "stop sign": 11,
223
+ "suitcase": 28,
224
+ "surfboard": 37,
225
+ "teddy bear": 77,
226
+ "tennis racket": 38,
227
+ "tie": 27,
228
+ "toaster": 70,
229
+ "toilet": 61,
230
+ "toothbrush": 79,
231
+ "traffic light": 9,
232
+ "train": 6,
233
+ "truck": 7,
234
+ "tvmonitor": 62,
235
+ "umbrella": 25,
236
+ "vase": 75,
237
+ "wine glass": 40,
238
+ "zebra": 22
239
+ },
240
+ "label_noise_ratio": 0.5,
241
+ "layer_norm_eps": 1e-05,
242
+ "learn_initial_query": false,
243
+ "matcher_alpha": 0.25,
244
+ "matcher_bbox_cost": 5.0,
245
+ "matcher_class_cost": 2.0,
246
+ "matcher_gamma": 2.0,
247
+ "matcher_giou_cost": 2.0,
248
+ "model_type": "rt_detr",
249
+ "normalize_before": false,
250
+ "num_denoising": 100,
251
+ "num_feature_levels": 3,
252
+ "num_queries": 300,
253
+ "positional_encoding_temperature": 10000,
254
+ "transformers_version": "4.42.2",
255
+ "use_focal_loss": true,
256
+ "use_pretrained_backbone": false,
257
+ "use_timm_backbone": false,
258
+ "weight_loss_bbox": 5.0,
259
+ "weight_loss_giou": 2.0,
260
+ "weight_loss_vfl": 1.0,
261
+ "with_box_refine": true
262
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dae61195a44fbd0a68a1d80afa43fac057b24ac14affdcb93c9c615ef99cb119
3
+ size 128224503
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1a52e3f0dda6a50e44aa841512db4c18606b1d4c43be8e2af4625ace9c9e06d
3
+ size 107225232
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96712b8e70e9c6379b0a1371eff8327f016ed668d45b32128dcb5abe5841e6a8
3
+ size 64312621
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:349298674fac052ac69370b72a03404e895188cbeedca5d85715f9969263daaa
3
+ size 33306917
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c8fa153ef6abd27d99c08e60b59a4b71e8428e99bae1342ed36b555cf1e4667
3
+ size 107642514
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93709c89bb8a1c547849380b5d6aa3ec99dea1283f5ea6d81a184e4f8f42a8d1
3
+ size 33306917
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93709c89bb8a1c547849380b5d6aa3ec99dea1283f5ea6d81a184e4f8f42a8d1
3
+ size 33306917
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_annotations": true,
3
+ "do_normalize": false,
4
+ "do_pad": false,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "format": "coco_detection",
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_processor_type": "RTDetrImageProcessor",
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "pad_size": null,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "height": 640,
24
+ "width": 640
25
+ }
26
+ }
quantize_config.json ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fp16": {},
3
+ "q8": {
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Add",
8
+ "AveragePool",
9
+ "Clip",
10
+ "Concat",
11
+ "Conv",
12
+ "Div",
13
+ "Erf",
14
+ "Gather",
15
+ "GatherElements",
16
+ "GridSample",
17
+ "Log",
18
+ "MatMul",
19
+ "MaxPool",
20
+ "Mul",
21
+ "Pow",
22
+ "ReduceMax",
23
+ "ReduceMean",
24
+ "ReduceSum",
25
+ "Relu",
26
+ "Reshape",
27
+ "Resize",
28
+ "Shape",
29
+ "Sigmoid",
30
+ "Slice",
31
+ "Softmax",
32
+ "Split",
33
+ "Sqrt",
34
+ "Sub",
35
+ "Tile",
36
+ "TopK",
37
+ "Transpose",
38
+ "Unsqueeze"
39
+ ],
40
+ "weight_type": "QUInt8"
41
+ }
42
+ },
43
+ "per_channel": true,
44
+ "reduce_range": true
45
+ },
46
+ "int8": {
47
+ "per_model_config": {
48
+ "model": {
49
+ "op_types": [
50
+ "Add",
51
+ "AveragePool",
52
+ "Clip",
53
+ "Concat",
54
+ "Conv",
55
+ "Div",
56
+ "Erf",
57
+ "Gather",
58
+ "GatherElements",
59
+ "GridSample",
60
+ "Log",
61
+ "MatMul",
62
+ "MaxPool",
63
+ "Mul",
64
+ "Pow",
65
+ "ReduceMax",
66
+ "ReduceMean",
67
+ "ReduceSum",
68
+ "Relu",
69
+ "Reshape",
70
+ "Resize",
71
+ "Shape",
72
+ "Sigmoid",
73
+ "Slice",
74
+ "Softmax",
75
+ "Split",
76
+ "Sqrt",
77
+ "Sub",
78
+ "Tile",
79
+ "TopK",
80
+ "Transpose",
81
+ "Unsqueeze"
82
+ ],
83
+ "weight_type": "QInt8"
84
+ }
85
+ },
86
+ "per_channel": true,
87
+ "reduce_range": true
88
+ },
89
+ "uint8": {
90
+ "per_model_config": {
91
+ "model": {
92
+ "op_types": [
93
+ "Add",
94
+ "AveragePool",
95
+ "Clip",
96
+ "Concat",
97
+ "Conv",
98
+ "Div",
99
+ "Erf",
100
+ "Gather",
101
+ "GatherElements",
102
+ "GridSample",
103
+ "Log",
104
+ "MatMul",
105
+ "MaxPool",
106
+ "Mul",
107
+ "Pow",
108
+ "ReduceMax",
109
+ "ReduceMean",
110
+ "ReduceSum",
111
+ "Relu",
112
+ "Reshape",
113
+ "Resize",
114
+ "Shape",
115
+ "Sigmoid",
116
+ "Slice",
117
+ "Softmax",
118
+ "Split",
119
+ "Sqrt",
120
+ "Sub",
121
+ "Tile",
122
+ "TopK",
123
+ "Transpose",
124
+ "Unsqueeze"
125
+ ],
126
+ "weight_type": "QUInt8"
127
+ }
128
+ },
129
+ "per_channel": true,
130
+ "reduce_range": true
131
+ },
132
+ "q4": {
133
+ "block_size": 32,
134
+ "is_symmetric": true,
135
+ "accuracy_level": null
136
+ },
137
+ "bnb4": {
138
+ "block_size": 64,
139
+ "quant_type": 1
140
+ }
141
+ }