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

Method train

model/model_utils.py:562–567  ·  view source on GitHub ↗
(self, mode=True)

Source from the content-addressed store, hash-verified

560 return state_dict
561
562 def train(self, mode=True):
563 super().train(mode)
564 if self.opt.use_dino:
565 self.condition_encoder.eval()
566 self.gs_predictor.eval()
567 return self
568
569 def _freeze_predictor(self):
570 self.gs_predictor.eval()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected