gghsgn commited on
Commit
0b28819
1 Parent(s): 7d2f0a2

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "DHelmet",
19
+ "1": "DNoHelmet",
20
+ "2": "P1Helmet",
21
+ "3": "P1NoHelmet"
22
+ "4": "P2NoHelmet"
23
+ "5": "motorbike"
24
+ },
25
+ "image_size": [
26
+ 512,
27
+ 864
28
+ ],
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 1536,
31
+ "label2id": {
32
+ "Masks": 0,
33
+ "mask_worn_incorrectly": 1,
34
+ "with_mask": 2,
35
+ "without_mask": 3
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "model_type": "yolos",
39
+ "num_attention_heads": 6,
40
+ "num_channels": 3,
41
+ "num_detection_tokens": 100,
42
+ "num_hidden_layers": 12,
43
+ "patch_size": 16,
44
+ "qkv_bias": true,
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.20.0",
47
+ "use_mid_position_embeddings": true
48
+ }