Load state dict, filtering out non-trainable modules if present.
(self, state_dict, strict=True)
| 55 | return state_dict |
| 56 | |
| 57 | def load_state_dict(self, state_dict, strict=True): |
| 58 | """Load state dict, filtering out non-trainable modules if present.""" |
| 59 | filtered_state_dict = {k: v for k, v in state_dict.items() |
| 60 | if not k.startswith('lpips_loss') and not k.startswith('tracker_prior')} |
| 61 | return super().load_state_dict(filtered_state_dict, strict=strict) |
| 62 | |
| 63 | def forward_gaussians(self, frames, depths, cond_times=None): |
| 64 | # frames: [B, V, C, H, W] |
no outgoing calls
no test coverage detected