gghsgn commited on
Commit
3254b4b
1 Parent(s): 04314da

Upload YolosForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +52 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hustvl/yolos-tiny",
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": 192,
17
+ "id2label": {
18
+ "0": "LABEL_0",
19
+ "1": "LABEL_1",
20
+ "2": "LABEL_2",
21
+ "3": "LABEL_3",
22
+ "4": "LABEL_4",
23
+ "5": "LABEL_5",
24
+ "6": "LABEL_6"
25
+ },
26
+ "image_size": [
27
+ 800,
28
+ 1333
29
+ ],
30
+ "initializer_range": 0.02,
31
+ "intermediate_size": 768,
32
+ "label2id": {
33
+ "LABEL_0": 0,
34
+ "LABEL_1": 1,
35
+ "LABEL_2": 2,
36
+ "LABEL_3": 3,
37
+ "LABEL_4": 4,
38
+ "LABEL_5": 5,
39
+ "LABEL_6": 6
40
+ },
41
+ "layer_norm_eps": 1e-12,
42
+ "model_type": "yolos",
43
+ "num_attention_heads": 3,
44
+ "num_channels": 3,
45
+ "num_detection_tokens": 100,
46
+ "num_hidden_layers": 12,
47
+ "patch_size": 16,
48
+ "qkv_bias": true,
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.23.1",
51
+ "use_mid_position_embeddings": false
52
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec89b8867a73960ea6033c22947207a98a16ffa9e915d603125a05bb7513360f
3
+ size 25958678