Genereux-akotenou commited on
Commit
71f4495
·
verified ·
1 Parent(s): a666204

Upload YolosForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +46 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hustvl/yolos-small",
3
+ "architectures": [
4
+ "YolosForObjectDetection"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auxiliary_loss": false,
8
+ "bbox_cost": 5,
9
+ "bbox_loss_coefficient": 5,
10
+ "class_cost": 1,
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": "glasses",
19
+ "1": "hat",
20
+ "2": "headband, head covering, hair accessory",
21
+ "3": "hood"
22
+ },
23
+ "image_size": [
24
+ 512,
25
+ 864
26
+ ],
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 1536,
29
+ "label2id": {
30
+ "glasses": 0,
31
+ "hat": 1,
32
+ "headband, head covering, hair accessory": 2,
33
+ "hood": 3
34
+ },
35
+ "layer_norm_eps": 1e-12,
36
+ "model_type": "yolos",
37
+ "num_attention_heads": 6,
38
+ "num_channels": 3,
39
+ "num_detection_tokens": 100,
40
+ "num_hidden_layers": 12,
41
+ "patch_size": 16,
42
+ "qkv_bias": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.29.2",
45
+ "use_mid_position_embeddings": true
46
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5e3c40f6ac784069b0d70ec46a64d50f3cf4ec296407b7e36a617feb39760a3
3
+ size 122674522