Parameters for depth alignment.
| 34 | |
| 35 | @dataclasses.dataclass |
| 36 | class 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 |
nothing calls this directly
no outgoing calls
no test coverage detected