Xenova HF Staff commited on
Commit
50c0822
·
verified ·
1 Parent(s): b4ee8fb

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +60 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +27 -0
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_commit_hash": "1d6ae6c0b60868dffbef0dddeda381c51c6dcba5",
4
+ "_name_or_path": "hf-internal-testing/tiny-random-DPTModel",
5
+ "add_projection": false,
6
+ "architectures": [
7
+ "DPTModel"
8
+ ],
9
+ "attention_probs_dropout_prob": 0.1,
10
+ "auxiliary_loss_weight": 0.4,
11
+ "backbone": null,
12
+ "backbone_config": null,
13
+ "backbone_featmap_shape": null,
14
+ "backbone_kwargs": null,
15
+ "backbone_out_indices": [
16
+ 0,
17
+ 1,
18
+ 2,
19
+ 3
20
+ ],
21
+ "fusion_hidden_size": 256,
22
+ "head_in_index": -1,
23
+ "hidden_act": "gelu",
24
+ "hidden_dropout_prob": 0.1,
25
+ "hidden_size": 32,
26
+ "image_size": 32,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 37,
29
+ "is_hybrid": false,
30
+ "layer_norm_eps": 1e-12,
31
+ "model_type": "dpt",
32
+ "neck_hidden_sizes": [
33
+ 96,
34
+ 192,
35
+ 384,
36
+ 768
37
+ ],
38
+ "neck_ignore_stages": [],
39
+ "num_attention_heads": 4,
40
+ "num_channels": 3,
41
+ "num_hidden_layers": 4,
42
+ "patch_size": 16,
43
+ "qkv_bias": true,
44
+ "readout_type": "project",
45
+ "reassemble_factors": [
46
+ 4,
47
+ 2,
48
+ 1,
49
+ 0.5
50
+ ],
51
+ "semantic_classifier_dropout": 0.1,
52
+ "semantic_loss_ignore_index": 255,
53
+ "transformers_version": "4.25.0.dev0",
54
+ "use_autobackbone": false,
55
+ "use_auxiliary_head": true,
56
+ "use_batch_norm_in_fusion_residual": false,
57
+ "use_bias_in_fusion_residual": null,
58
+ "use_pretrained_backbone": false,
59
+ "use_timm_backbone": false
60
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bca533e4c1c4f176fa7faf1162916cde089d7744745e16b51e24b84a7394724
3
+ size 295830
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 32,
3
+ "do_normalize": true,
4
+ "do_pad": false,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "ensure_multiple_of": 1,
8
+ "image_mean": [
9
+ 0.5,
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "image_processor_type": "DPTFeatureExtractor",
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "keep_aspect_ratio": false,
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "height": 32,
24
+ "width": 32
25
+ },
26
+ "size_divisor": null
27
+ }