Xenova HF Staff commited on
Commit
9c4d578
·
verified ·
1 Parent(s): b1a2b1b

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +44 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +30 -0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-YolosForObjectDetection",
4
+ "architectures": [
5
+ "YolosForObjectDetection"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "auxiliary_loss": false,
9
+ "bbox_cost": 5,
10
+ "bbox_loss_coefficient": 5,
11
+ "class_cost": 1,
12
+ "eos_coefficient": 0.1,
13
+ "giou_cost": 2,
14
+ "giou_loss_coefficient": 2,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.1,
17
+ "hidden_size": 32,
18
+ "id2label": {
19
+ "0": "LABEL_0",
20
+ "1": "LABEL_1",
21
+ "2": "LABEL_2"
22
+ },
23
+ "image_size": [
24
+ 30,
25
+ 30
26
+ ],
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 37,
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": 5,
40
+ "patch_size": 2,
41
+ "qkv_bias": true,
42
+ "transformers_version": "4.48.2",
43
+ "use_mid_position_embeddings": true
44
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db7890fb1b2c161b2e047033c3c9c120a656e1a859627a19d017dcd00abe0766
3
+ size 447807
preprocessor_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": [
3
+ 30,
4
+ 30
5
+ ],
6
+ "do_convert_annotations": true,
7
+ "do_normalize": true,
8
+ "do_pad": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "format": "coco_detection",
12
+ "image_mean": [
13
+ 0.485,
14
+ 0.456,
15
+ 0.406
16
+ ],
17
+ "image_processor_type": "YolosFeatureExtractor",
18
+ "image_std": [
19
+ 0.229,
20
+ 0.224,
21
+ 0.225
22
+ ],
23
+ "pad_size": null,
24
+ "resample": 2,
25
+ "rescale_factor": 0.00392156862745098,
26
+ "size": {
27
+ "height": 30,
28
+ "width": 30
29
+ }
30
+ }