Upload YolosForObjectDetection
Browse files- config.json +40 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"YolosForObjectDetection"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.0,
|
| 6 |
+
"auxiliary_loss": false,
|
| 7 |
+
"bbox_cost": 5,
|
| 8 |
+
"bbox_loss_coefficient": 5,
|
| 9 |
+
"class_cost": 1,
|
| 10 |
+
"dtype": "float32",
|
| 11 |
+
"eos_coefficient": 0.1,
|
| 12 |
+
"giou_cost": 2,
|
| 13 |
+
"giou_loss_coefficient": 2,
|
| 14 |
+
"hidden_act": "gelu",
|
| 15 |
+
"hidden_dropout_prob": 0.0,
|
| 16 |
+
"hidden_size": 384,
|
| 17 |
+
"id2label": {
|
| 18 |
+
"0": "logos",
|
| 19 |
+
"1": "logos"
|
| 20 |
+
},
|
| 21 |
+
"image_size": [
|
| 22 |
+
512,
|
| 23 |
+
864
|
| 24 |
+
],
|
| 25 |
+
"initializer_range": 0.02,
|
| 26 |
+
"intermediate_size": 1536,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"logos": 1
|
| 29 |
+
},
|
| 30 |
+
"layer_norm_eps": 1e-12,
|
| 31 |
+
"model_type": "yolos",
|
| 32 |
+
"num_attention_heads": 6,
|
| 33 |
+
"num_channels": 3,
|
| 34 |
+
"num_detection_tokens": 100,
|
| 35 |
+
"num_hidden_layers": 12,
|
| 36 |
+
"patch_size": 16,
|
| 37 |
+
"qkv_bias": true,
|
| 38 |
+
"transformers_version": "4.56.1",
|
| 39 |
+
"use_mid_position_embeddings": true
|
| 40 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe4824da2b01a9153c6ed0d1845bd6d2ec1a31888cc26f592e8ef85bea1d391a
|
| 3 |
+
size 122626212
|