jony4583 commited on
Commit
b7d9faf
1 Parent(s): f048cce

Upload DeformableDetrForObjectDetection

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