File size: 3,318 Bytes
0d0b292
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
  "adaptors_kwargs": {
    "flow": {
      "class": "FlowAdaptor",
      "kwargs": {
        "base_shape": [
          224,
          224
        ],
        "flow_mean": [
          0.0,
          0.0
        ],
        "flow_std": [
          25,
          25
        ],
        "name": "flow",
        "output_normalized_coordinate": false,
        "scale_strategy": "scale_both"
      }
    }
  },
  "classification_head_kwargs": {
    "bias": true,
    "input_feature_dim": "1024 + 768",
    "mlp_ratio": 2,
    "output_dim": 16,
    "patch_size": 14,
    "pretrained_checkpoint_path": null
  },
  "classification_head_type": "patch_mlp",
  "detach_uncertainty_head": true,
  "encoder_kwargs": {
    "data_norm_type": "dinov2",
    "indices": [
      6,
      23
    ],
    "name": "dinov2_encoder",
    "patch_size": 14,
    "size": "large",
    "with_registers": false
  },
  "encoder_str": "dinov2",
  "feature_combine_method": "conv",
  "feature_head_kwargs": {
    "dpt_feature": {
      "feature_dim": 256,
      "hooks": [
        0,
        1,
        2,
        3
      ],
      "input_feature_dims": [
        1024,
        768,
        768,
        768
      ],
      "layer_dims": [
        96,
        192,
        384,
        768
      ],
      "output_width_ratio": 1,
      "patch_size": 14,
      "pretrained_checkpoint_path": null,
      "use_bn": false
    },
    "dpt_processor": {
      "hidden_dims": [
        128,
        128
      ],
      "input_feature_dim": 256,
      "output_dim": 2,
      "pretrained_checkpoint_path": null
    }
  },
  "head_type": "dpt",
  "inference_resolution": [
    560,
    420
  ],
  "info_sharing_and_head_structure": "dual+single",
  "info_sharing_kwargs": {
    "attn_drop": 0.0,
    "custom_positional_encoding": null,
    "depth": 12,
    "dim": 768,
    "drop_path": 0.0,
    "gradient_checkpointing": false,
    "indices": [
      5,
      8
    ],
    "init_values": null,
    "input_embed_dim": 1024,
    "max_num_views": 2,
    "mlp_ratio": 4.0,
    "name": "global_attention",
    "norm_intermediate": true,
    "num_heads": 12,
    "pretrained_checkpoint_path": null,
    "proj_drop": 0.0,
    "qk_norm": false,
    "qkv_bias": true,
    "size": "base",
    "use_rand_idx_pe_for_non_reference_views": false
  },
  "info_sharing_str": "global_attention",
  "pretrained_backbone_checkpoint_path": null,
  "pretrained_checkpoint_path": null,
  "refinement_range": 7,
  "temperature": 4,
  "uncertainty_adaptors_kwargs": {
    "non_occluded_mask": {
      "class": "MaskAdaptor",
      "kwargs": {
        "name": "non_occluded_mask"
      }
    }
  },
  "uncertainty_head_kwargs": {
    "dpt_feature": {
      "feature_dim": 256,
      "hooks": [
        0,
        1,
        2,
        3
      ],
      "input_feature_dims": [
        1024,
        768,
        768,
        768
      ],
      "layer_dims": [
        96,
        192,
        384,
        768
      ],
      "output_width_ratio": 1,
      "patch_size": 14,
      "pretrained_checkpoint_path": null,
      "use_bn": false
    },
    "dpt_processor": {
      "hidden_dims": [
        128,
        128
      ],
      "input_feature_dim": 256,
      "output_dim": 1,
      "pretrained_checkpoint_path": null
    }
  },
  "uncertainty_head_type": "dpt",
  "use_unet_feature": true
}