hf-transformers-bot commited on
Commit
bbd4e26
·
verified ·
1 Parent(s): 68881a2

Update tiny models for YolosForObjectDetection

Browse files
Files changed (3) hide show
  1. config.json +44 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +41 -0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "YolosForObjectDetection"
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
+ "dtype": "float32",
11
+ "eos_coefficient": 0.1,
12
+ "giou_cost": 2,
13
+ "giou_loss_coefficient": 2,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 32,
17
+ "id2label": {
18
+ "0": "LABEL_0",
19
+ "1": "LABEL_1",
20
+ "2": "LABEL_2"
21
+ },
22
+ "image_size": [
23
+ 30,
24
+ 30
25
+ ],
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 37,
28
+ "is_decoder": false,
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": 4,
37
+ "num_channels": 3,
38
+ "num_detection_tokens": 10,
39
+ "num_hidden_layers": 2,
40
+ "patch_size": 2,
41
+ "qkv_bias": true,
42
+ "transformers_version": "5.16.0.dev0",
43
+ "use_mid_position_embeddings": true
44
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:829e3f6d3a440a5d091fdb6760288409b4d56ec1faebf7b07196714305245ba4
3
+ size 141416
preprocessor_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "longest_edge": [
4
+ 30,
5
+ 30
6
+ ],
7
+ "shortest_edge": [
8
+ 30,
9
+ 30
10
+ ]
11
+ },
12
+ "do_convert_annotations": true,
13
+ "do_normalize": true,
14
+ "do_pad": true,
15
+ "do_rescale": true,
16
+ "do_resize": true,
17
+ "format": "coco_detection",
18
+ "image_mean": [
19
+ 0.485,
20
+ 0.456,
21
+ 0.406
22
+ ],
23
+ "image_processor_type": "YolosImageProcessor",
24
+ "image_std": [
25
+ 0.229,
26
+ 0.224,
27
+ 0.225
28
+ ],
29
+ "resample": 2,
30
+ "rescale_factor": 0.00392156862745098,
31
+ "size": {
32
+ "longest_edge": [
33
+ 30,
34
+ 30
35
+ ],
36
+ "shortest_edge": [
37
+ 30,
38
+ 30
39
+ ]
40
+ }
41
+ }