ydshieh HF Staff commited on
Commit
339bc51
·
1 Parent(s): e7ce24a

Upload tiny models for YolosModel

Browse files
Files changed (3) hide show
  1. config.json +43 -0
  2. preprocessor_config.json +25 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "YolosModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "auxiliary_loss": false,
7
+ "bbox_cost": 5,
8
+ "bbox_loss_coefficient": 5,
9
+ "class_cost": 1,
10
+ "eos_coefficient": 0.1,
11
+ "giou_cost": 2,
12
+ "giou_loss_coefficient": 2,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 32,
16
+ "id2label": {
17
+ "0": "LABEL_0",
18
+ "1": "LABEL_1",
19
+ "2": "LABEL_2"
20
+ },
21
+ "image_size": [
22
+ 30,
23
+ 30
24
+ ],
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 37,
27
+ "label2id": {
28
+ "LABEL_0": 0,
29
+ "LABEL_1": 1,
30
+ "LABEL_2": 2
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "yolos",
34
+ "num_attention_heads": 4,
35
+ "num_channels": 3,
36
+ "num_detection_tokens": 10,
37
+ "num_hidden_layers": 5,
38
+ "patch_size": 2,
39
+ "qkv_bias": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.25.0.dev0",
42
+ "use_mid_position_embeddings": true
43
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": [
3
+ 30,
4
+ 30
5
+ ],
6
+ "do_normalize": true,
7
+ "do_resize": true,
8
+ "feature_extractor_type": "YolosFeatureExtractor",
9
+ "format": "coco_detection",
10
+ "image_mean": [
11
+ 0.485,
12
+ 0.456,
13
+ 0.406
14
+ ],
15
+ "image_std": [
16
+ 0.229,
17
+ 0.224,
18
+ 0.225
19
+ ],
20
+ "max_size": 1333,
21
+ "size": [
22
+ 30,
23
+ 30
24
+ ]
25
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8c4c5ded52a7992627e980234d76cd7a209a2d4b76d60b616872b1eb4fd50dd
3
+ size 322687