xiuqhou commited on
Commit
8a16e96
1 Parent(s): 914a834

Upload RelationDetrForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +110 -101
  2. 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": "none",
44
- "1": "person",
45
- "2": "bicycle",
46
- "3": "car",
47
- "4": "motorcycle",
48
- "5": "airplane",
49
- "6": "bus",
50
- "7": "train",
51
- "8": "truck",
52
- "9": "boat",
53
- "10": "traffic light",
54
- "11": "fire hydrant",
55
- "12": "none",
56
- "13": "stop sign",
57
- "14": "parking meter",
58
- "15": "bench",
59
- "16": "bird",
60
- "17": "cat",
61
- "18": "dog",
62
- "19": "horse",
63
- "20": "sheep",
64
- "21": "cow",
65
- "22": "elephant",
66
- "23": "bear",
67
- "24": "zebra",
68
- "25": "giraffe",
69
- "26": "none",
70
- "27": "backpack",
71
- "28": "umbrella",
72
- "29": "none",
73
- "30": "none",
74
- "31": "handbag",
75
- "32": "tie",
76
- "33": "suitcase",
77
- "34": "frisbee",
78
- "35": "skis",
79
- "36": "snowboard",
80
- "37": "sports ball",
81
- "38": "kite",
82
- "39": "baseball bat",
83
- "40": "baseball glove",
84
- "41": "skateboard",
85
- "42": "surfboard",
86
- "43": "tennis racket",
87
- "44": "bottle",
88
- "45": "none",
89
- "46": "wine glass",
90
- "47": "cup",
91
- "48": "fork",
92
- "49": "knife",
93
- "50": "spoon",
94
- "51": "bowl",
95
- "52": "banana",
96
- "53": "apple",
97
- "54": "sandwich",
98
- "55": "orange",
99
- "56": "broccoli",
100
- "57": "carrot",
101
- "58": "hot dog",
102
- "59": "pizza",
103
- "60": "donut",
104
- "61": "cake",
105
- "62": "chair",
106
- "63": "couch",
107
- "64": "potted plant",
108
- "65": "bed",
109
- "66": "none",
110
- "67": "dining table",
111
- "68": "none",
112
- "69": "none",
113
- "70": "toilet",
114
- "71": "none",
115
- "72": "tv",
116
- "73": "laptop",
117
- "74": "mouse",
118
- "75": "remote",
119
- "76": "keyboard",
120
- "77": "cell phone",
121
- "78": "microwave",
122
- "79": "oven",
123
- "80": "toaster",
124
- "81": "sink",
125
- "82": "refrigerator",
126
- "83": "none",
127
- "84": "book",
128
- "85": "clock",
129
- "86": "vase",
130
- "87": "scissors",
131
- "88": "teddy bear",
132
- "89": "hair drier",
133
- "90": "toothbrush"
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
- "label_noise_prob": 0.5,
231
- "loss_alpha": 0.25,
232
- "loss_gamma": 2.0,
233
  "model_type": "relation_detr",
234
  "num_channels": 3,
 
235
  "num_feature_levels": 4,
236
  "num_queries": 900,
237
- "relation_embed": 16,
 
 
 
 
 
 
238
  "torch_dtype": "float32",
239
- "transformers_version": "4.46.3",
240
- "use_pretrained_backbone": true,
 
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:edfbb1cee860a5b3f0b2477642adac6c3881a81db1387de3cfb521f15378eed9
3
- size 195967416
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f952797b9a02e29a81dcb3e71ae204adfe59785da0fb9bcf8f426614e092e36b
3
+ size 195972272