MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / __init__

Method __init__

preprocess_depth_davis.py:130–133  ·  view source on GitHub ↗
(self, opt: Options, **model_kwargs)

Source from the content-addressed store, hash-verified

128
129class Predictor(torch.nn.Module):
130 def __init__(self, opt: Options, **model_kwargs):
131 super().__init__()
132 self.opt = opt
133 self.depth_prior = DepthAnythingWrapper(opt.depth_model_name)
134
135 def forward(self, frames, depths, cond_times=None):
136 with torch.no_grad():

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected