MCPcopy Create free account
hub / github.com/294coder/Dif-PAN / load_model_params

Method load_model_params

utils/optim_utils.py:64–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 self.model.load_state_dict(self.ema_model.state_dict())
63
64 def load_model_params(self):
65 # load model params to ema model
66 self.ema_model.load_state_dict(self.model.state_dict())
67
68 @property
69 def on_fly_model_state_dict(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected