config.json
1.5 KB · 85 lines · json Raw
1 {
2 "_commit_hash": null,
3 "architectures": [
4 "DepthAnythingForDepthEstimation"
5 ],
6 "backbone": null,
7 "backbone_config": {
8 "architectures": [
9 "Dinov2Model"
10 ],
11 "hidden_size": 1024,
12 "image_size": 518,
13 "model_type": "dinov2",
14 "num_attention_heads": 16,
15 "num_hidden_layers": 24,
16 "out_features": [
17 "stage5",
18 "stage12",
19 "stage18",
20 "stage24"
21 ],
22 "out_indices": [
23 5,
24 12,
25 18,
26 24
27 ],
28 "reshape_hidden_states": false,
29 "stage_names": [
30 "stem",
31 "stage1",
32 "stage2",
33 "stage3",
34 "stage4",
35 "stage5",
36 "stage6",
37 "stage7",
38 "stage8",
39 "stage9",
40 "stage10",
41 "stage11",
42 "stage12",
43 "stage13",
44 "stage14",
45 "stage15",
46 "stage16",
47 "stage17",
48 "stage18",
49 "stage19",
50 "stage20",
51 "stage21",
52 "stage22",
53 "stage23",
54 "stage24"
55 ],
56 "torch_dtype": "float32"
57 },
58 "backbone_kwargs": null,
59 "depth_estimation_type": "relative",
60 "fusion_hidden_size": 256,
61 "head_hidden_size": 32,
62 "head_in_index": -1,
63 "initializer_range": 0.02,
64 "max_depth": 1,
65 "model_type": "depth_anything",
66 "neck_hidden_sizes": [
67 256,
68 512,
69 1024,
70 1024
71 ],
72 "patch_size": 14,
73 "reassemble_factors": [
74 4,
75 2,
76 1,
77 0.5
78 ],
79 "reassemble_hidden_size": 1024,
80 "torch_dtype": "float32",
81 "transformers_version": null,
82 "use_pretrained_backbone": false,
83 "use_timm_backbone": false
84 }
85