lc700x commited on
Commit
e5d5b89
·
verified ·
1 Parent(s): d3d75e3

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +86 -80
  2. model.safetensors +2 -2
  3. preprocessor_config.json +27 -0
config.json CHANGED
@@ -1,80 +1,86 @@
1
- {
2
- "_commit_hash": null,
3
- "architectures": [
4
- "DepthAnythingForDepthEstimation"
5
- ],
6
- "backbone": null,
7
- "backbone_config": {
8
- "architectures": [
9
- "Dinov2Model"
10
- ],
11
- "hidden_size": 768,
12
- "image_size": 518,
13
- "model_type": "dinov2",
14
- "num_attention_heads": 12,
15
- "out_features": [
16
- "stage3",
17
- "stage6",
18
- "stage9",
19
- "stage12"
20
- ],
21
- "out_indices": [
22
- 3,
23
- 6,
24
- 9,
25
- 12
26
- ],
27
- "reshape_hidden_states": false,
28
- "stage_names": [
29
- "stem",
30
- "stage1",
31
- "stage2",
32
- "stage3",
33
- "stage4",
34
- "stage5",
35
- "stage6",
36
- "stage7",
37
- "stage8",
38
- "stage9",
39
- "stage10",
40
- "stage11",
41
- "stage12",
42
- "stage13",
43
- "stage14",
44
- "stage15",
45
- "stage16",
46
- "stage17",
47
- "stage18",
48
- "stage19",
49
- "stage20",
50
- "stage21",
51
- "stage22",
52
- "stage23",
53
- "stage24"
54
- ],
55
- "torch_dtype": "float32"
56
- },
57
- "fusion_hidden_size": 128,
58
- "head_hidden_size": 32,
59
- "head_in_index": -1,
60
- "initializer_range": 0.02,
61
- "model_type": "depth_anything",
62
- "neck_hidden_sizes": [
63
- 96,
64
- 192,
65
- 384,
66
- 768
67
- ],
68
- "patch_size": 14,
69
- "reassemble_factors": [
70
- 4,
71
- 2,
72
- 1,
73
- 0.5
74
- ],
75
- "reassemble_hidden_size": 768,
76
- "torch_dtype": "float32",
77
- "transformers_version": null,
78
- "use_pretrained_backbone": false
79
- }
80
-
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DepthAnythingForDepthEstimation"
4
+ ],
5
+ "backbone": null,
6
+ "backbone_config": {
7
+ "apply_layernorm": true,
8
+ "architectures": [
9
+ "Dinov2Model"
10
+ ],
11
+ "attention_probs_dropout_prob": 0.0,
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.0,
15
+ "hidden_size": 768,
16
+ "image_size": 518,
17
+ "initializer_range": 0.02,
18
+ "layer_norm_eps": 1e-06,
19
+ "layerscale_value": 1.0,
20
+ "mlp_ratio": 4,
21
+ "model_type": "dinov2",
22
+ "num_attention_heads": 12,
23
+ "num_channels": 3,
24
+ "num_hidden_layers": 12,
25
+ "out_features": [
26
+ "stage3",
27
+ "stage6",
28
+ "stage9",
29
+ "stage12"
30
+ ],
31
+ "out_indices": [
32
+ 3,
33
+ 6,
34
+ 9,
35
+ 12
36
+ ],
37
+ "patch_size": 14,
38
+ "qkv_bias": true,
39
+ "reshape_hidden_states": false,
40
+ "stage_names": [
41
+ "stem",
42
+ "stage1",
43
+ "stage2",
44
+ "stage3",
45
+ "stage4",
46
+ "stage5",
47
+ "stage6",
48
+ "stage7",
49
+ "stage8",
50
+ "stage9",
51
+ "stage10",
52
+ "stage11",
53
+ "stage12"
54
+ ],
55
+ "torch_dtype": "float32",
56
+ "use_mask_token": true,
57
+ "use_swiglu_ffn": false
58
+ },
59
+ "backbone_kwargs": null,
60
+ "depth_estimation_type": "relative",
61
+ "fusion_hidden_size": 128,
62
+ "head_hidden_size": 32,
63
+ "head_in_index": -1,
64
+ "initializer_range": 0.02,
65
+ "max_depth": 1,
66
+ "model_type": "depth_anything",
67
+ "neck_hidden_sizes": [
68
+ 96,
69
+ 192,
70
+ 384,
71
+ 768
72
+ ],
73
+ "output_attentions": false,
74
+ "patch_size": 14,
75
+ "reassemble_factors": [
76
+ 4,
77
+ 2,
78
+ 1,
79
+ 0.5
80
+ ],
81
+ "reassemble_hidden_size": 768,
82
+ "torch_dtype": "float32",
83
+ "transformers_version": null,
84
+ "use_pretrained_backbone": false,
85
+ "use_timm_backbone": false
86
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ee99258af6c40302e7046b510190e3e4624d22d03909fa34e543cd6f6ce567ac
3
- size 389908668
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccdc5d69feb8de8843cdcc27d0b1eb26e56daaa68c071bb73007e264580fa686
3
+ size 389916980
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": false,
4
+ "do_reduce_labels": false,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "ensure_multiple_of": 14,
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_processor_type": "DPTImageProcessor",
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "keep_aspect_ratio": true,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "height": 518,
24
+ "width": 518
25
+ },
26
+ "size_divisor": null
27
+ }