Upload RelationDetrForObjectDetection
Browse files- config.json +110 -101
- model.safetensors +2 -2
config.json
CHANGED
@@ -15,125 +15,127 @@
|
|
15 |
4
|
16 |
]
|
17 |
},
|
|
|
18 |
"bbox_loss_coefficient": 5,
|
19 |
"box_noise_scale": 1.0,
|
|
|
20 |
"class_loss_coefficient": 1,
|
21 |
-
"cost_bbox": 5,
|
22 |
-
"cost_class": 2,
|
23 |
-
"cost_giou": 2,
|
24 |
"d_model": 256,
|
|
|
25 |
"decoder_attention_heads": 8,
|
26 |
"decoder_ffn_dim": 2048,
|
27 |
"decoder_layers": 6,
|
28 |
"decoder_n_points": 4,
|
29 |
-
"denoising_nums": 100,
|
30 |
"dilation": false,
|
31 |
"disable_custom_kernels": false,
|
32 |
"dropout": 0.0,
|
33 |
"encoder_attention_heads": 8,
|
34 |
"encoder_ffn_dim": 2048,
|
|
|
35 |
"encoder_layers": 6,
|
36 |
"encoder_n_points": 4,
|
37 |
"focal_alpha": 0.25,
|
38 |
"focal_gamma": 2.0,
|
|
|
39 |
"giou_loss_coefficient": 2,
|
40 |
"hybrid_assign": 6,
|
41 |
"hybrid_queries": 1500,
|
42 |
"id2label": {
|
43 |
-
"0": "
|
44 |
-
"1": "
|
45 |
-
"2": "
|
46 |
-
"3": "
|
47 |
-
"4": "
|
48 |
-
"5": "
|
49 |
-
"6": "
|
50 |
-
"7": "
|
51 |
-
"8": "
|
52 |
-
"9": "
|
53 |
-
"10": "
|
54 |
-
"11": "
|
55 |
-
"12": "
|
56 |
-
"13": "
|
57 |
-
"14": "
|
58 |
-
"15": "
|
59 |
-
"16": "
|
60 |
-
"17": "
|
61 |
-
"18": "
|
62 |
-
"19": "
|
63 |
-
"20": "
|
64 |
-
"21": "
|
65 |
-
"22": "
|
66 |
-
"23": "
|
67 |
-
"24": "
|
68 |
-
"25": "
|
69 |
-
"26": "
|
70 |
-
"27": "
|
71 |
-
"28": "
|
72 |
-
"29": "
|
73 |
-
"30": "
|
74 |
-
"31": "
|
75 |
-
"32": "
|
76 |
-
"33": "
|
77 |
-
"34": "
|
78 |
-
"35": "
|
79 |
-
"36": "
|
80 |
-
"37": "
|
81 |
-
"38": "
|
82 |
-
"39": "
|
83 |
-
"40": "
|
84 |
-
"41": "
|
85 |
-
"42": "
|
86 |
-
"43": "
|
87 |
-
"44": "
|
88 |
-
"45": "
|
89 |
-
"46": "
|
90 |
-
"47": "
|
91 |
-
"48": "
|
92 |
-
"49": "
|
93 |
-
"50": "
|
94 |
-
"51": "
|
95 |
-
"52": "
|
96 |
-
"53": "
|
97 |
-
"54": "
|
98 |
-
"55": "
|
99 |
-
"56": "
|
100 |
-
"57": "
|
101 |
-
"58": "
|
102 |
-
"59": "
|
103 |
-
"60": "
|
104 |
-
"61": "
|
105 |
-
"62": "
|
106 |
-
"63": "
|
107 |
-
"64": "
|
108 |
-
"65": "
|
109 |
-
"66": "
|
110 |
-
"67": "
|
111 |
-
"68": "
|
112 |
-
"69": "
|
113 |
-
"70": "
|
114 |
-
"71": "
|
115 |
-
"72": "
|
116 |
-
"73": "
|
117 |
-
"74": "
|
118 |
-
"75": "
|
119 |
-
"76": "
|
120 |
-
"77": "
|
121 |
-
"78": "
|
122 |
-
"79": "
|
123 |
-
"80": "
|
124 |
-
"81": "
|
125 |
-
"82": "
|
126 |
-
"83": "
|
127 |
-
"84": "
|
128 |
-
"85": "
|
129 |
-
"86": "
|
130 |
-
"87": "
|
131 |
-
"88": "
|
132 |
-
"89": "
|
133 |
-
"90": "
|
134 |
},
|
135 |
"init_std": 0.02,
|
136 |
"init_xavier_std": 1.0,
|
|
|
137 |
"label2id": {
|
138 |
"LABEL_0": 0,
|
139 |
"LABEL_1": 1,
|
@@ -227,16 +229,23 @@
|
|
227 |
"LABEL_9": 9,
|
228 |
"LABEL_90": 90
|
229 |
},
|
230 |
-
"
|
231 |
-
"
|
232 |
-
"loss_gamma": 2.0,
|
233 |
"model_type": "relation_detr",
|
234 |
"num_channels": 3,
|
|
|
235 |
"num_feature_levels": 4,
|
236 |
"num_queries": 900,
|
237 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
"torch_dtype": "float32",
|
239 |
-
"transformers_version": "4.
|
240 |
-
"
|
|
|
241 |
"use_timm_backbone": true
|
242 |
}
|
|
|
15 |
4
|
16 |
]
|
17 |
},
|
18 |
+
"bbox_cost": 5,
|
19 |
"bbox_loss_coefficient": 5,
|
20 |
"box_noise_scale": 1.0,
|
21 |
+
"class_cost": 2,
|
22 |
"class_loss_coefficient": 1,
|
|
|
|
|
|
|
23 |
"d_model": 256,
|
24 |
+
"d_relation": 16,
|
25 |
"decoder_attention_heads": 8,
|
26 |
"decoder_ffn_dim": 2048,
|
27 |
"decoder_layers": 6,
|
28 |
"decoder_n_points": 4,
|
|
|
29 |
"dilation": false,
|
30 |
"disable_custom_kernels": false,
|
31 |
"dropout": 0.0,
|
32 |
"encoder_attention_heads": 8,
|
33 |
"encoder_ffn_dim": 2048,
|
34 |
+
"encoder_layerdrop": 0.0,
|
35 |
"encoder_layers": 6,
|
36 |
"encoder_n_points": 4,
|
37 |
"focal_alpha": 0.25,
|
38 |
"focal_gamma": 2.0,
|
39 |
+
"giou_cost": 2,
|
40 |
"giou_loss_coefficient": 2,
|
41 |
"hybrid_assign": 6,
|
42 |
"hybrid_queries": 1500,
|
43 |
"id2label": {
|
44 |
+
"0": "LABEL_0",
|
45 |
+
"1": "LABEL_1",
|
46 |
+
"2": "LABEL_2",
|
47 |
+
"3": "LABEL_3",
|
48 |
+
"4": "LABEL_4",
|
49 |
+
"5": "LABEL_5",
|
50 |
+
"6": "LABEL_6",
|
51 |
+
"7": "LABEL_7",
|
52 |
+
"8": "LABEL_8",
|
53 |
+
"9": "LABEL_9",
|
54 |
+
"10": "LABEL_10",
|
55 |
+
"11": "LABEL_11",
|
56 |
+
"12": "LABEL_12",
|
57 |
+
"13": "LABEL_13",
|
58 |
+
"14": "LABEL_14",
|
59 |
+
"15": "LABEL_15",
|
60 |
+
"16": "LABEL_16",
|
61 |
+
"17": "LABEL_17",
|
62 |
+
"18": "LABEL_18",
|
63 |
+
"19": "LABEL_19",
|
64 |
+
"20": "LABEL_20",
|
65 |
+
"21": "LABEL_21",
|
66 |
+
"22": "LABEL_22",
|
67 |
+
"23": "LABEL_23",
|
68 |
+
"24": "LABEL_24",
|
69 |
+
"25": "LABEL_25",
|
70 |
+
"26": "LABEL_26",
|
71 |
+
"27": "LABEL_27",
|
72 |
+
"28": "LABEL_28",
|
73 |
+
"29": "LABEL_29",
|
74 |
+
"30": "LABEL_30",
|
75 |
+
"31": "LABEL_31",
|
76 |
+
"32": "LABEL_32",
|
77 |
+
"33": "LABEL_33",
|
78 |
+
"34": "LABEL_34",
|
79 |
+
"35": "LABEL_35",
|
80 |
+
"36": "LABEL_36",
|
81 |
+
"37": "LABEL_37",
|
82 |
+
"38": "LABEL_38",
|
83 |
+
"39": "LABEL_39",
|
84 |
+
"40": "LABEL_40",
|
85 |
+
"41": "LABEL_41",
|
86 |
+
"42": "LABEL_42",
|
87 |
+
"43": "LABEL_43",
|
88 |
+
"44": "LABEL_44",
|
89 |
+
"45": "LABEL_45",
|
90 |
+
"46": "LABEL_46",
|
91 |
+
"47": "LABEL_47",
|
92 |
+
"48": "LABEL_48",
|
93 |
+
"49": "LABEL_49",
|
94 |
+
"50": "LABEL_50",
|
95 |
+
"51": "LABEL_51",
|
96 |
+
"52": "LABEL_52",
|
97 |
+
"53": "LABEL_53",
|
98 |
+
"54": "LABEL_54",
|
99 |
+
"55": "LABEL_55",
|
100 |
+
"56": "LABEL_56",
|
101 |
+
"57": "LABEL_57",
|
102 |
+
"58": "LABEL_58",
|
103 |
+
"59": "LABEL_59",
|
104 |
+
"60": "LABEL_60",
|
105 |
+
"61": "LABEL_61",
|
106 |
+
"62": "LABEL_62",
|
107 |
+
"63": "LABEL_63",
|
108 |
+
"64": "LABEL_64",
|
109 |
+
"65": "LABEL_65",
|
110 |
+
"66": "LABEL_66",
|
111 |
+
"67": "LABEL_67",
|
112 |
+
"68": "LABEL_68",
|
113 |
+
"69": "LABEL_69",
|
114 |
+
"70": "LABEL_70",
|
115 |
+
"71": "LABEL_71",
|
116 |
+
"72": "LABEL_72",
|
117 |
+
"73": "LABEL_73",
|
118 |
+
"74": "LABEL_74",
|
119 |
+
"75": "LABEL_75",
|
120 |
+
"76": "LABEL_76",
|
121 |
+
"77": "LABEL_77",
|
122 |
+
"78": "LABEL_78",
|
123 |
+
"79": "LABEL_79",
|
124 |
+
"80": "LABEL_80",
|
125 |
+
"81": "LABEL_81",
|
126 |
+
"82": "LABEL_82",
|
127 |
+
"83": "LABEL_83",
|
128 |
+
"84": "LABEL_84",
|
129 |
+
"85": "LABEL_85",
|
130 |
+
"86": "LABEL_86",
|
131 |
+
"87": "LABEL_87",
|
132 |
+
"88": "LABEL_88",
|
133 |
+
"89": "LABEL_89",
|
134 |
+
"90": "LABEL_90"
|
135 |
},
|
136 |
"init_std": 0.02,
|
137 |
"init_xavier_std": 1.0,
|
138 |
+
"is_encoder_decoder": true,
|
139 |
"label2id": {
|
140 |
"LABEL_0": 0,
|
141 |
"LABEL_1": 1,
|
|
|
229 |
"LABEL_9": 9,
|
230 |
"LABEL_90": 90
|
231 |
},
|
232 |
+
"label_noise_ratio": 0.5,
|
233 |
+
"max_position_embeddings": 2048,
|
|
|
234 |
"model_type": "relation_detr",
|
235 |
"num_channels": 3,
|
236 |
+
"num_denoising": 100,
|
237 |
"num_feature_levels": 4,
|
238 |
"num_queries": 900,
|
239 |
+
"position_embedding_type": "sine",
|
240 |
+
"rel_scale": 100,
|
241 |
+
"rel_temperature": 10000,
|
242 |
+
"sin_cos_normalize": true,
|
243 |
+
"sin_cos_offset": -0.5,
|
244 |
+
"sin_cos_scale": 6.283185307179586,
|
245 |
+
"sin_cos_temperature": 10000,
|
246 |
"torch_dtype": "float32",
|
247 |
+
"transformers_version": "4.47.0.dev0",
|
248 |
+
"two_stage_binary_cls": false,
|
249 |
+
"use_pretrained_backbone": false,
|
250 |
"use_timm_backbone": true
|
251 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f952797b9a02e29a81dcb3e71ae204adfe59785da0fb9bcf8f426614e092e36b
|
3 |
+
size 195972272
|