MCPcopy Create free account
hub / github.com/CompVis/diff2flow / score

Method score

diff2flow/flow.py:236–239  ·  view source on GitHub ↗
(self, x, t, model, **model_kwargs)

Source from the content-addressed store, hash-verified

234 return model_output
235
236 def score(self, x, t, model, **model_kwargs):
237 # we only train velocity, hence only need to compute score from velocity
238 score_out = self.schedule.get_score_from_velocity(model(x, t, **model_kwargs), x, t)
239 return score_out
240
241 def check_interval(self, diffusion_form="sigma", reverse=False, last_step_size=0.04):
242 t0 = 0

Callers 1

Calls 1

Tested by

no test coverage detected