Commit ·
2f52798
1
Parent(s): f5e91d3
Upload DetrForObjectDetection
Browse files- config.json +5 -5
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "relu",
|
| 5 |
"architectures": [
|
|
@@ -7,12 +7,12 @@
|
|
| 7 |
],
|
| 8 |
"attention_dropout": 0.0,
|
| 9 |
"auxiliary_loss": false,
|
| 10 |
-
"backbone": "
|
| 11 |
"backbone_config": null,
|
| 12 |
"bbox_cost": 5,
|
| 13 |
"bbox_loss_coefficient": 5,
|
| 14 |
-
"ce_loss_coefficient": 1,
|
| 15 |
"class_cost": 1,
|
|
|
|
| 16 |
"d_model": 256,
|
| 17 |
"decoder_attention_heads": 8,
|
| 18 |
"decoder_ffn_dim": 2048,
|
|
@@ -25,7 +25,7 @@
|
|
| 25 |
"encoder_ffn_dim": 2048,
|
| 26 |
"encoder_layerdrop": 0.0,
|
| 27 |
"encoder_layers": 6,
|
| 28 |
-
"eos_coefficient": 0.
|
| 29 |
"giou_cost": 2,
|
| 30 |
"giou_loss_coefficient": 2,
|
| 31 |
"id2label": {
|
|
@@ -42,7 +42,7 @@
|
|
| 42 |
"model_type": "detr",
|
| 43 |
"num_channels": 3,
|
| 44 |
"num_hidden_layers": 6,
|
| 45 |
-
"num_queries":
|
| 46 |
"position_embedding_type": "sine",
|
| 47 |
"scale_embedding": false,
|
| 48 |
"torch_dtype": "float32",
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "facebook/detr-resnet-50",
|
| 3 |
"activation_dropout": 0.0,
|
| 4 |
"activation_function": "relu",
|
| 5 |
"architectures": [
|
|
|
|
| 7 |
],
|
| 8 |
"attention_dropout": 0.0,
|
| 9 |
"auxiliary_loss": false,
|
| 10 |
+
"backbone": "resnet50",
|
| 11 |
"backbone_config": null,
|
| 12 |
"bbox_cost": 5,
|
| 13 |
"bbox_loss_coefficient": 5,
|
|
|
|
| 14 |
"class_cost": 1,
|
| 15 |
+
"classifier_dropout": 0.0,
|
| 16 |
"d_model": 256,
|
| 17 |
"decoder_attention_heads": 8,
|
| 18 |
"decoder_ffn_dim": 2048,
|
|
|
|
| 25 |
"encoder_ffn_dim": 2048,
|
| 26 |
"encoder_layerdrop": 0.0,
|
| 27 |
"encoder_layers": 6,
|
| 28 |
+
"eos_coefficient": 0.1,
|
| 29 |
"giou_cost": 2,
|
| 30 |
"giou_loss_coefficient": 2,
|
| 31 |
"id2label": {
|
|
|
|
| 42 |
"model_type": "detr",
|
| 43 |
"num_channels": 3,
|
| 44 |
"num_hidden_layers": 6,
|
| 45 |
+
"num_queries": 100,
|
| 46 |
"position_embedding_type": "sine",
|
| 47 |
"scale_embedding": false,
|
| 48 |
"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:381c943dda71e3a11a41a760947a82503d55fcd8028fb5fe477a39e9f57004ac
|
| 3 |
+
size 166494824
|