Upload ConditionalDetrForObjectDetection
Browse files- config.json +7 -7
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "relu",
|
5 |
"architectures": [
|
6 |
-
"
|
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":
|
24 |
-
"
|
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 |
-
"
|
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": "
|
170 |
"num_channels": 3,
|
171 |
"num_hidden_layers": 6,
|
172 |
-
"num_queries":
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d37bac738a0c6102d75d3adf84668b14aa2e22b4e4f1d67d7a19ec0c11518ac2
|
3 |
+
size 174136344
|