Qifa commited on
Commit
5fe25d7
1 Parent(s): 4e18eac

Upload YolosForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +44 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
22
+ "image_size": [
23
+ 800,
24
+ 1333
25
+ ],
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 768,
28
+ "label2id": {
29
+ "LABEL_0": 0,
30
+ "LABEL_1": 1,
31
+ "LABEL_2": 2
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "model_type": "yolos",
35
+ "num_attention_heads": 3,
36
+ "num_channels": 3,
37
+ "num_detection_tokens": 100,
38
+ "num_hidden_layers": 12,
39
+ "patch_size": 16,
40
+ "qkv_bias": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.23.1",
43
+ "use_mid_position_embeddings": false
44
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a619d755395458ce80ec2f4f8c2fa0d7f3ad50dadb943c49907733b91ca5ac8
3
+ size 25955606