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

Class MonodepthOutput

src/sharp/models/monodepth.py:152–164  ·  view source on GitHub ↗

Output of the monodepth model.

Source from the content-addressed store, hash-verified

150
151
152class MonodepthOutput(NamedTuple):
153 """Output of the monodepth model."""
154
155 # Disparity output from the monodepth model.
156 disparity: torch.Tensor
157 # Multi-level features from monodepth encoder.
158 encoder_features: list[torch.Tensor]
159 # Single-level feature from monodepth decoder.
160 decoder_features: torch.Tensor
161 # List of monodepth features to be used in gaussian predictor.
162 output_features: list[torch.Tensor]
163 # List of intermediate encoder features to be used in distillation.
164 intermediate_features: list[torch.Tensor] = []
165
166
167class MonodepthWithEncodingAdaptor(nn.Module):

Callers 1

forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected