Xenova HF staff commited on
Commit
1e46fc7
1 Parent(s): 62e58b0

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "c6715f570345f36ff930ebd4747bb4bb0e611073",
3
+ "_name_or_path": "facebook/detr-resnet-101",
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "relu",
6
+ "architectures": [
7
+ "DetrForObjectDetection"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "auxiliary_loss": false,
11
+ "backbone": "resnet101",
12
+ "backbone_config": null,
13
+ "bbox_cost": 5,
14
+ "bbox_loss_coefficient": 5,
15
+ "class_cost": 1,
16
+ "classifier_dropout": 0.0,
17
+ "d_model": 256,
18
+ "decoder_attention_heads": 8,
19
+ "decoder_ffn_dim": 2048,
20
+ "decoder_layerdrop": 0.0,
21
+ "decoder_layers": 6,
22
+ "dice_loss_coefficient": 1,
23
+ "dilation": false,
24
+ "dropout": 0.1,
25
+ "encoder_attention_heads": 8,
26
+ "encoder_ffn_dim": 2048,
27
+ "encoder_layerdrop": 0.0,
28
+ "encoder_layers": 6,
29
+ "eos_coefficient": 0.1,
30
+ "giou_cost": 2,
31
+ "giou_loss_coefficient": 2,
32
+ "id2label": {
33
+ "0": "N/A",
34
+ "1": "person",
35
+ "2": "bicycle",
36
+ "3": "car",
37
+ "4": "motorcycle",
38
+ "5": "airplane",
39
+ "6": "bus",
40
+ "7": "train",
41
+ "8": "truck",
42
+ "9": "boat",
43
+ "10": "traffic light",
44
+ "11": "fire hydrant",
45
+ "12": "N/A",
46
+ "13": "stop sign",
47
+ "14": "parking meter",
48
+ "15": "bench",
49
+ "16": "bird",
50
+ "17": "cat",
51
+ "18": "dog",
52
+ "19": "horse",
53
+ "20": "sheep",
54
+ "21": "cow",
55
+ "22": "elephant",
56
+ "23": "bear",
57
+ "24": "zebra",
58
+ "25": "giraffe",
59
+ "26": "N/A",
60
+ "27": "backpack",
61
+ "28": "umbrella",
62
+ "29": "N/A",
63
+ "30": "N/A",
64
+ "31": "handbag",
65
+ "32": "tie",
66
+ "33": "suitcase",
67
+ "34": "frisbee",
68
+ "35": "skis",
69
+ "36": "snowboard",
70
+ "37": "sports ball",
71
+ "38": "kite",
72
+ "39": "baseball bat",
73
+ "40": "baseball glove",
74
+ "41": "skateboard",
75
+ "42": "surfboard",
76
+ "43": "tennis racket",
77
+ "44": "bottle",
78
+ "45": "N/A",
79
+ "46": "wine glass",
80
+ "47": "cup",
81
+ "48": "fork",
82
+ "49": "knife",
83
+ "50": "spoon",
84
+ "51": "bowl",
85
+ "52": "banana",
86
+ "53": "apple",
87
+ "54": "sandwich",
88
+ "55": "orange",
89
+ "56": "broccoli",
90
+ "57": "carrot",
91
+ "58": "hot dog",
92
+ "59": "pizza",
93
+ "60": "donut",
94
+ "61": "cake",
95
+ "62": "chair",
96
+ "63": "couch",
97
+ "64": "potted plant",
98
+ "65": "bed",
99
+ "66": "N/A",
100
+ "67": "dining table",
101
+ "68": "N/A",
102
+ "69": "N/A",
103
+ "70": "toilet",
104
+ "71": "N/A",
105
+ "72": "tv",
106
+ "73": "laptop",
107
+ "74": "mouse",
108
+ "75": "remote",
109
+ "76": "keyboard",
110
+ "77": "cell phone",
111
+ "78": "microwave",
112
+ "79": "oven",
113
+ "80": "toaster",
114
+ "81": "sink",
115
+ "82": "refrigerator",
116
+ "83": "N/A",
117
+ "84": "book",
118
+ "85": "clock",
119
+ "86": "vase",
120
+ "87": "scissors",
121
+ "88": "teddy bear",
122
+ "89": "hair drier",
123
+ "90": "toothbrush"
124
+ },
125
+ "init_std": 0.02,
126
+ "init_xavier_std": 1.0,
127
+ "is_encoder_decoder": true,
128
+ "label2id": {
129
+ "N/A": 83,
130
+ "airplane": 5,
131
+ "apple": 53,
132
+ "backpack": 27,
133
+ "banana": 52,
134
+ "baseball bat": 39,
135
+ "baseball glove": 40,
136
+ "bear": 23,
137
+ "bed": 65,
138
+ "bench": 15,
139
+ "bicycle": 2,
140
+ "bird": 16,
141
+ "boat": 9,
142
+ "book": 84,
143
+ "bottle": 44,
144
+ "bowl": 51,
145
+ "broccoli": 56,
146
+ "bus": 6,
147
+ "cake": 61,
148
+ "car": 3,
149
+ "carrot": 57,
150
+ "cat": 17,
151
+ "cell phone": 77,
152
+ "chair": 62,
153
+ "clock": 85,
154
+ "couch": 63,
155
+ "cow": 21,
156
+ "cup": 47,
157
+ "dining table": 67,
158
+ "dog": 18,
159
+ "donut": 60,
160
+ "elephant": 22,
161
+ "fire hydrant": 11,
162
+ "fork": 48,
163
+ "frisbee": 34,
164
+ "giraffe": 25,
165
+ "hair drier": 89,
166
+ "handbag": 31,
167
+ "horse": 19,
168
+ "hot dog": 58,
169
+ "keyboard": 76,
170
+ "kite": 38,
171
+ "knife": 49,
172
+ "laptop": 73,
173
+ "microwave": 78,
174
+ "motorcycle": 4,
175
+ "mouse": 74,
176
+ "orange": 55,
177
+ "oven": 79,
178
+ "parking meter": 14,
179
+ "person": 1,
180
+ "pizza": 59,
181
+ "potted plant": 64,
182
+ "refrigerator": 82,
183
+ "remote": 75,
184
+ "sandwich": 54,
185
+ "scissors": 87,
186
+ "sheep": 20,
187
+ "sink": 81,
188
+ "skateboard": 41,
189
+ "skis": 35,
190
+ "snowboard": 36,
191
+ "spoon": 50,
192
+ "sports ball": 37,
193
+ "stop sign": 13,
194
+ "suitcase": 33,
195
+ "surfboard": 42,
196
+ "teddy bear": 88,
197
+ "tennis racket": 43,
198
+ "tie": 32,
199
+ "toaster": 80,
200
+ "toilet": 70,
201
+ "toothbrush": 90,
202
+ "traffic light": 10,
203
+ "train": 7,
204
+ "truck": 8,
205
+ "tv": 72,
206
+ "umbrella": 28,
207
+ "vase": 86,
208
+ "wine glass": 46,
209
+ "zebra": 24
210
+ },
211
+ "mask_loss_coefficient": 1,
212
+ "max_position_embeddings": 1024,
213
+ "model_type": "detr",
214
+ "num_channels": 3,
215
+ "num_hidden_layers": 6,
216
+ "num_queries": 100,
217
+ "position_embedding_type": "sine",
218
+ "scale_embedding": false,
219
+ "transformers_version": "4.7.0.dev0",
220
+ "use_pretrained_backbone": true,
221
+ "use_timm_backbone": true
222
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e1f27e3aeb88aca4eab162c6e6eccd346f511fe33b9e3706fbf61e6792e1583
3
+ size 242822378
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b681d50a45ee34ea8751946c5712d11c22c3bb16bf2aa68f22b60d4e53c09f3
3
+ size 62199135
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": "DetrFeatureExtractor",
7
+ "format": "coco_detection",
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_processor_type": "DetrFeatureExtractor",
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
+ }