hf-transformers-bot commited on
Commit
db4b262
·
verified ·
1 Parent(s): b93fd4d

Update tiny models for Tipsv2DptForDepthEstimation

Browse files
Files changed (3) hide show
  1. config.json +72 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +13 -0
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Tipsv2DptForDepthEstimation"
4
+ ],
5
+ "backbone_config": {
6
+ "apply_layernorm": true,
7
+ "attention_probs_dropout_prob": 0.0,
8
+ "drop_path_rate": 0.0,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 16,
12
+ "image_size": 28,
13
+ "initializer_range": 0.02,
14
+ "layer_norm_eps": 1e-06,
15
+ "layerscale_value": 1.0,
16
+ "mlp_ratio": 2,
17
+ "model_type": "tipsv2_vision_model",
18
+ "num_attention_heads": 4,
19
+ "num_channels": 3,
20
+ "num_hidden_layers": 2,
21
+ "num_register_tokens": 1,
22
+ "out_features": [
23
+ "stage1",
24
+ "stage2"
25
+ ],
26
+ "out_indices": [
27
+ 1,
28
+ 2
29
+ ],
30
+ "patch_size": 14,
31
+ "qkv_bias": true,
32
+ "reshape_hidden_states": false,
33
+ "stage_names": [
34
+ "stem",
35
+ "stage1",
36
+ "stage2"
37
+ ],
38
+ "use_swiglu_ffn": false
39
+ },
40
+ "depth_decoder_activation": "relu",
41
+ "dtype": "float32",
42
+ "fusion_hidden_size": 8,
43
+ "id2label": {
44
+ "0": "LABEL_0",
45
+ "1": "LABEL_1",
46
+ "2": "LABEL_2",
47
+ "3": "LABEL_3",
48
+ "4": "LABEL_4"
49
+ },
50
+ "label2id": {
51
+ "LABEL_0": 0,
52
+ "LABEL_1": 1,
53
+ "LABEL_2": 2,
54
+ "LABEL_3": 3,
55
+ "LABEL_4": 4
56
+ },
57
+ "max_depth": 10.0,
58
+ "min_depth": 0.001,
59
+ "model_type": "tipsv2_dpt",
60
+ "neck_hidden_sizes": [
61
+ 4,
62
+ 8
63
+ ],
64
+ "num_depth_bins": 32,
65
+ "readout_activation": "gelu_pytorch_tanh",
66
+ "reassemble_factors": [
67
+ 4,
68
+ 2
69
+ ],
70
+ "semantic_loss_ignore_index": 255,
71
+ "transformers_version": "5.16.0.dev0"
72
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0df7c2c0543ae57ef10744da7a9e3a680cdb49d4778ef033e9db36fea733a3fa
3
+ size 91328
preprocessor_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": true,
3
+ "do_normalize": false,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_processor_type": "Tipsv2DptImageProcessor",
7
+ "resample": 2,
8
+ "rescale_factor": 0.00392156862745098,
9
+ "size": {
10
+ "height": 448,
11
+ "width": 448
12
+ }
13
+ }