hxwk507 commited on
Commit
22a34fa
1 Parent(s): d155004

Upload ConditionalDetrForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +7 -7
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "_name_or_path": "facebook/detr-resnet-50",
3
  "activation_dropout": 0.0,
4
  "activation_function": "relu",
5
  "architectures": [
6
- "DetrForObjectDetection"
7
  ],
8
  "attention_dropout": 0.0,
9
  "auxiliary_loss": false,
@@ -20,8 +20,8 @@
20
  },
21
  "bbox_cost": 5,
22
  "bbox_loss_coefficient": 5,
23
- "class_cost": 1,
24
- "classifier_dropout": 0.0,
25
  "d_model": 256,
26
  "decoder_attention_heads": 8,
27
  "decoder_ffn_dim": 2048,
@@ -34,7 +34,7 @@
34
  "encoder_ffn_dim": 2048,
35
  "encoder_layerdrop": 0.0,
36
  "encoder_layers": 6,
37
- "eos_coefficient": 0.1,
38
  "giou_cost": 2,
39
  "giou_loss_coefficient": 2,
40
  "id2label": {
@@ -166,10 +166,10 @@
166
  },
167
  "mask_loss_coefficient": 1,
168
  "max_position_embeddings": 1024,
169
- "model_type": "detr",
170
  "num_channels": 3,
171
  "num_hidden_layers": 6,
172
- "num_queries": 100,
173
  "position_embedding_type": "sine",
174
  "scale_embedding": false,
175
  "torch_dtype": "float32",
 
1
  {
2
+ "_name_or_path": "microsoft/conditional-detr-resnet-50",
3
  "activation_dropout": 0.0,
4
  "activation_function": "relu",
5
  "architectures": [
6
+ "ConditionalDetrForObjectDetection"
7
  ],
8
  "attention_dropout": 0.0,
9
  "auxiliary_loss": false,
 
20
  },
21
  "bbox_cost": 5,
22
  "bbox_loss_coefficient": 5,
23
+ "class_cost": 2,
24
+ "cls_loss_coefficient": 2,
25
  "d_model": 256,
26
  "decoder_attention_heads": 8,
27
  "decoder_ffn_dim": 2048,
 
34
  "encoder_ffn_dim": 2048,
35
  "encoder_layerdrop": 0.0,
36
  "encoder_layers": 6,
37
+ "focal_alpha": 0.25,
38
  "giou_cost": 2,
39
  "giou_loss_coefficient": 2,
40
  "id2label": {
 
166
  },
167
  "mask_loss_coefficient": 1,
168
  "max_position_embeddings": 1024,
169
+ "model_type": "conditional_detr",
170
  "num_channels": 3,
171
  "num_hidden_layers": 6,
172
+ "num_queries": 300,
173
  "position_embedding_type": "sine",
174
  "scale_embedding": false,
175
  "torch_dtype": "float32",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e50e0ed4d47deeff9706aa694fce0556d3c3178d451799131a95e4ccbf9c095
3
- size 166555484
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d37bac738a0c6102d75d3adf84668b14aa2e22b4e4f1d67d7a19ec0c11518ac2
3
+ size 174136344