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

Method train

model/encoder_model.py:56–60  ·  view source on GitHub ↗
(self, mode=True)

Source from the content-addressed store, hash-verified

54 return super().load_state_dict(filtered_state_dict, strict=False)
55
56 def train(self, mode=True):
57 super().train(mode)
58 if 'lpips_loss' in self.__dict__:
59 self.lpips_loss.eval()
60 return self
61
62 def forward_gaussians(self, frames, depths, cond_times=None):
63 # frames: [B, V, C, H, W]

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected