Upload YolosForObjectDetection
Browse files- config.json +6 -6
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "hustvl/yolos-
|
3 |
"architectures": [
|
4 |
"YolosForObjectDetection"
|
5 |
],
|
@@ -13,16 +13,16 @@
|
|
13 |
"giou_loss_coefficient": 2,
|
14 |
"hidden_act": "gelu",
|
15 |
"hidden_dropout_prob": 0.0,
|
16 |
-
"hidden_size":
|
17 |
"image_size": [
|
18 |
800,
|
19 |
-
|
20 |
],
|
21 |
"initializer_range": 0.02,
|
22 |
-
"intermediate_size":
|
23 |
"layer_norm_eps": 1e-12,
|
24 |
"model_type": "yolos",
|
25 |
-
"num_attention_heads":
|
26 |
"num_channels": 3,
|
27 |
"num_detection_tokens": 100,
|
28 |
"num_hidden_layers": 12,
|
@@ -30,5 +30,5 @@
|
|
30 |
"qkv_bias": true,
|
31 |
"torch_dtype": "float32",
|
32 |
"transformers_version": "4.35.2",
|
33 |
-
"use_mid_position_embeddings":
|
34 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "hustvl/yolos-base",
|
3 |
"architectures": [
|
4 |
"YolosForObjectDetection"
|
5 |
],
|
|
|
13 |
"giou_loss_coefficient": 2,
|
14 |
"hidden_act": "gelu",
|
15 |
"hidden_dropout_prob": 0.0,
|
16 |
+
"hidden_size": 768,
|
17 |
"image_size": [
|
18 |
800,
|
19 |
+
1344
|
20 |
],
|
21 |
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
"layer_norm_eps": 1e-12,
|
24 |
"model_type": "yolos",
|
25 |
+
"num_attention_heads": 12,
|
26 |
"num_channels": 3,
|
27 |
"num_detection_tokens": 100,
|
28 |
"num_hidden_layers": 12,
|
|
|
30 |
"qkv_bias": true,
|
31 |
"torch_dtype": "float32",
|
32 |
"transformers_version": "4.35.2",
|
33 |
+
"use_mid_position_embeddings": true
|
34 |
}
|
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:956315fdb0a7d43c787c73b4fa31a39cf6f93ed36e301548cdfea958931ac381
|
3 |
+
size 510944236
|