hf-transformers-bot commited on
Commit
4b47811
1 Parent(s): 98122e7

Upload tiny models for DPTForDepthEstimation

Browse files
Files changed (3) hide show
  1. config.json +52 -0
  2. preprocessor_config.json +25 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "DPTForDepthEstimation"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "auxiliary_loss_weight": 0.4,
8
+ "backbone_config": null,
9
+ "backbone_featmap_shape": null,
10
+ "backbone_out_indices": [
11
+ 0,
12
+ 1,
13
+ 2,
14
+ 3
15
+ ],
16
+ "fusion_hidden_size": 256,
17
+ "head_in_index": -1,
18
+ "hidden_act": "gelu",
19
+ "hidden_dropout_prob": 0.1,
20
+ "hidden_size": 32,
21
+ "image_size": 32,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 37,
24
+ "is_hybrid": false,
25
+ "layer_norm_eps": 1e-12,
26
+ "model_type": "dpt",
27
+ "neck_hidden_sizes": [
28
+ 96,
29
+ 192,
30
+ 384,
31
+ 768
32
+ ],
33
+ "neck_ignore_stages": [],
34
+ "num_attention_heads": 4,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 4,
37
+ "patch_size": 16,
38
+ "qkv_bias": true,
39
+ "readout_type": "project",
40
+ "reassemble_factors": [
41
+ 4,
42
+ 2,
43
+ 1,
44
+ 0.5
45
+ ],
46
+ "semantic_classifier_dropout": 0.1,
47
+ "semantic_loss_ignore_index": 255,
48
+ "torch_dtype": "float32",
49
+ "transformers_version": null,
50
+ "use_auxiliary_head": true,
51
+ "use_batch_norm_in_fusion_residual": false
52
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 32,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "ensure_multiple_of": 1,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "DPTImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "keep_aspect_ratio": false,
19
+ "resample": 2,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 32,
23
+ "width": 32
24
+ }
25
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4859e3763cb9d93c9393546f7f6a04df414bc5d1f76e96ddb618b30b69134145
3
+ size 76312069