omarhkh commited on
Commit
5a38c11
1 Parent(s): 8f41980

Upload YolosForObjectDetection

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