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

Method state_dict

model/model_utils.py:554–560  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

552 self.encoder_proj = nn.Linear(192, 192, bias=False) # hard code for now
553
554 def state_dict(self, **kwargs):
555 # remove the condition encoder from the state dict
556 state_dict = super().state_dict(**kwargs)
557 for k in list(state_dict.keys()):
558 if "condition_encoder" in k:
559 del state_dict[k]
560 return state_dict
561
562 def train(self, mode=True):
563 super().train(mode)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected