(self, **kwargs)
| 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) |
nothing calls this directly
no outgoing calls
no test coverage detected