Qifa commited on
Commit
dd6e37c
1 Parent(s): 97c70d2

Upload YolosForObjectDetection

Browse files
Files changed (2) hide show
  1. README.md +0 -3
  2. config.json +44 -0
README.md DELETED
@@ -1,3 +0,0 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ {
3
+ "_name_or_path": "hustvl/yolos-small",
4
+ "architectures": [
5
+ "YolosForObjectDetection"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "auxiliary_loss": false,
9
+ "bbox_cost": 5,
10
+ "bbox_loss_coefficient": 5,
11
+ "class_cost": 1,
12
+ "eos_coefficient": 0.1,
13
+ "giou_cost": 2,
14
+ "giou_loss_coefficient": 2,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.0,
17
+ "hidden_size": 384,
18
+ "id2label": {
19
+ "0": "LABEL_0",
20
+ "1": "LABEL_1",
21
+ "2": "LABEL_2"
22
+ },
23
+ "image_size": [
24
+ 512,
25
+ 864
26
+ ],
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 1536,
29
+ "label2id": {
30
+ "LABEL_0": 0,
31
+ "LABEL_1": 1,
32
+ "LABEL_2": 2
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "model_type": "yolos",
36
+ "num_attention_heads": 6,
37
+ "num_channels": 3,
38
+ "num_detection_tokens": 100,
39
+ "num_hidden_layers": 12,
40
+ "patch_size": 16,
41
+ "qkv_bias": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.23.1",
44
+ "use_mid_position_embeddings": true