hf-transformers-bot commited on
Commit
2836ca6
1 Parent(s): b867255

Upload tiny models for GLPNForDepthEstimation

Browse files
Files changed (3) hide show
  1. config.json +62 -0
  2. preprocessor_config.json +9 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "GLPNForDepthEstimation"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "decoder_hidden_size": 16,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 2,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "head_in_index": -1,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.1,
17
+ "hidden_sizes": [
18
+ 16,
19
+ 32,
20
+ 64,
21
+ 128
22
+ ],
23
+ "image_size": 64,
24
+ "initializer_range": 0.02,
25
+ "layer_norm_eps": 1e-06,
26
+ "max_depth": 10,
27
+ "mlp_ratios": [
28
+ 4,
29
+ 4,
30
+ 4,
31
+ 4
32
+ ],
33
+ "model_type": "glpn",
34
+ "num_attention_heads": [
35
+ 1,
36
+ 2,
37
+ 4,
38
+ 8
39
+ ],
40
+ "num_channels": 3,
41
+ "num_encoder_blocks": 4,
42
+ "patch_sizes": [
43
+ 7,
44
+ 3,
45
+ 3,
46
+ 3
47
+ ],
48
+ "sr_ratios": [
49
+ 8,
50
+ 4,
51
+ 2,
52
+ 1
53
+ ],
54
+ "strides": [
55
+ 4,
56
+ 2,
57
+ 2,
58
+ 2
59
+ ],
60
+ "torch_dtype": "float32",
61
+ "transformers_version": "4.28.0.dev0"
62
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 64,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_processor_type": "GLPNImageProcessor",
6
+ "resample": 2,
7
+ "size": 64,
8
+ "size_divisor": 32
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d0d010a192f969ab87ba61e737ef675ccdf1c97e24a245d873ab95365ffd7d5
3
+ size 3165365