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

Class AlignmentParams

src/sharp/models/params.py:36–51  ·  view source on GitHub ↗

Parameters for depth alignment.

Source from the content-addressed store, hash-verified

34
35@dataclasses.dataclass
36class AlignmentParams:
37 """Parameters for depth alignment."""
38
39 kernel_size: int = 16
40 stride: int = 1
41 frozen: bool = False
42
43 # The following parameters are only used for LearnedAlignment.
44 # Number of steps in the UNet for LearnedAlignment.
45 steps: int = 4
46 # Activation type for LearnedAlignment.
47 activation_type: math_utils.ActivationType = "exp"
48 # Whether to use depth decoder features for LearnedAlignment.
49 depth_decoder_features: bool = False
50 # Base width of the UNet for LearnedAlignment.
51 base_width: int = 16
52
53
54@dataclasses.dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected