haotongl commited on
Commit
f11b7b6
1 Parent(s): 9061ad7

initial version

Browse files
Files changed (3) hide show
  1. config.json +56 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +26 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "PromptDepthAnythingForDepthEstimation"
5
+ ],
6
+ "backbone": null,
7
+ "backbone_config": {
8
+ "architectures": [
9
+ "Dinov2Model"
10
+ ],
11
+ "hidden_size": 384,
12
+ "image_size": 518,
13
+ "model_type": "dinov2",
14
+ "num_attention_heads": 6,
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
+ "torch_dtype": "float32"
29
+ },
30
+ "backbone_kwargs": null,
31
+ "depth_estimation_type": "metric",
32
+ "fusion_hidden_size": 64,
33
+ "head_hidden_size": 32,
34
+ "head_in_index": -1,
35
+ "initializer_range": 0.02,
36
+ "max_depth": 1,
37
+ "model_type": "prompt_depth_anything",
38
+ "neck_hidden_sizes": [
39
+ 48,
40
+ 96,
41
+ 192,
42
+ 384
43
+ ],
44
+ "patch_size": 14,
45
+ "reassemble_factors": [
46
+ 4,
47
+ 2,
48
+ 1,
49
+ 0.5
50
+ ],
51
+ "reassemble_hidden_size": 384,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": null,
54
+ "use_pretrained_backbone": false,
55
+ "use_timm_backbone": false
56
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a46707f0c671d479188998657dbf985b3887e8fef4ce70c45a797c1381dc8f7
3
+ size 100368868
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": false,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "ensure_multiple_of": 14,
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "DPTImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "keep_aspect_ratio": true,
19
+ "resample": 3,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 756,
23
+ "width": 756
24
+ },
25
+ "size_divisor": null
26
+ }