coarse-corpse1 commited on
Commit
6daeca5
·
verified ·
1 Parent(s): a020793

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +14 -1
  2. config.json +82 -0
  3. model.safetensors +3 -0
  4. preprocessor_config.json +25 -0
README.md CHANGED
@@ -1,3 +1,16 @@
1
  ---
2
- license: mit
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pipeline_tag: depth-estimation
3
+ tags:
4
+ - depth-estimation
5
+ - computer-vision
6
+ - DynamicCity
7
  ---
8
+
9
+ # Your Model Name
10
+
11
+ DepthAnything-Mine
12
+
13
+ ## Usage
14
+ ```python
15
+ from transformers import pipeline
16
+ pipe = pipeline("depth-estimation", model="your-username/your-model-name")
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "dtype": "float32",
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.0,
16
+ "hidden_size": 384,
17
+ "image_size": 518,
18
+ "initializer_range": 0.02,
19
+ "layer_norm_eps": 1e-06,
20
+ "layerscale_value": 1.0,
21
+ "mlp_ratio": 4,
22
+ "model_type": "dinov2",
23
+ "num_attention_heads": 6,
24
+ "num_channels": 3,
25
+ "num_hidden_layers": 12,
26
+ "out_features": [
27
+ "stage3",
28
+ "stage6",
29
+ "stage9",
30
+ "stage12"
31
+ ],
32
+ "out_indices": [
33
+ 3,
34
+ 6,
35
+ 9,
36
+ 12
37
+ ],
38
+ "patch_size": 14,
39
+ "qkv_bias": true,
40
+ "reshape_hidden_states": false,
41
+ "stage_names": [
42
+ "stem",
43
+ "stage1",
44
+ "stage2",
45
+ "stage3",
46
+ "stage4",
47
+ "stage5",
48
+ "stage6",
49
+ "stage7",
50
+ "stage8",
51
+ "stage9",
52
+ "stage10",
53
+ "stage11",
54
+ "stage12"
55
+ ],
56
+ "use_mask_token": true,
57
+ "use_swiglu_ffn": false
58
+ },
59
+ "depth_estimation_type": "metric",
60
+ "dtype": "float32",
61
+ "fusion_hidden_size": 64,
62
+ "head_hidden_size": 32,
63
+ "head_in_index": -1,
64
+ "initializer_range": 0.02,
65
+ "max_depth": 80,
66
+ "model_type": "depth_anything",
67
+ "neck_hidden_sizes": [
68
+ 48,
69
+ 96,
70
+ 192,
71
+ 384
72
+ ],
73
+ "patch_size": 14,
74
+ "reassemble_factors": [
75
+ 4,
76
+ 2,
77
+ 1,
78
+ 0.5
79
+ ],
80
+ "reassemble_hidden_size": 384,
81
+ "transformers_version": "5.5.0"
82
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a72829235103b2dd5467b34d9f373b428b87ca232beaf9fc1d0e66802feddd00
3
+ size 99173660
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 518,
23
+ "width": 518
24
+ }
25
+ }