sergioska commited on
Commit
5501f0f
1 Parent(s): e9b7fcf

Upload YolosForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +6 -6
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "hustvl/yolos-tiny",
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": 192,
17
  "image_size": [
18
  800,
19
- 1333
20
  ],
21
  "initializer_range": 0.02,
22
- "intermediate_size": 768,
23
  "layer_norm_eps": 1e-12,
24
  "model_type": "yolos",
25
- "num_attention_heads": 3,
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": false
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:318ed064492d50c3fc946f61291639f9f239256bff2f0c1e01de3ec21998d9fa
3
- size 25910172
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:956315fdb0a7d43c787c73b4fa31a39cf6f93ed36e301548cdfea958931ac381
3
+ size 510944236