SaysBlade commited on
Commit
e445739
1 Parent(s): 3af45b4

Upload YolosForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +48 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
24
+ "image_size": [
25
+ 800,
26
+ 1333
27
+ ],
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 768,
30
+ "label2id": {
31
+ "LABEL_0": 0,
32
+ "LABEL_1": 1,
33
+ "LABEL_2": 2,
34
+ "LABEL_3": 3,
35
+ "LABEL_4": 4
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "model_type": "yolos",
39
+ "num_attention_heads": 3,
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.23.1",
47
+ "use_mid_position_embeddings": false
48
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e3a7ad6d9164e938ac18995a888fe87cd76e7e3b8fdb9097cc1928912e21f38
3
+ size 25957142