MCPcopy Create free account
hub / github.com/apple/ml-sharp / MonodepthParams

Class MonodepthParams

src/sharp/models/params.py:106–120  ·  view source on GitHub ↗

Parameters for monodepth network.

Source from the content-addressed store, hash-verified

104
105@dataclasses.dataclass
106class MonodepthParams:
107 """Parameters for monodepth network."""
108
109 patch_encoder_preset: ViTPreset = "dinov2l16_384"
110 image_encoder_preset: ViTPreset = "dinov2l16_384"
111
112 checkpoint_uri: str | None = None
113 unfreeze_patch_encoder: bool = False
114 unfreeze_image_encoder: bool = False
115 unfreeze_decoder: bool = False
116 unfreeze_head: bool = False
117 unfreeze_norm_layers: bool = False
118 grad_checkpointing: bool = False
119 use_patch_overlap: bool = True
120 dims_decoder: DimsDecoder = (256, 256, 256, 256, 256)
121
122
123@dataclasses.dataclass

Callers 1

create_monodepth_dptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected