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