MCPcopy Create free account
hub / github.com/DPS2022/diffusion-posterior-sampling / Projection

Class Projection

guided_diffusion/condition_methods.py:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56@register_conditioning_method(name='projection')
57class Projection(ConditioningMethod):
58 def conditioning(self, x_t, noisy_measurement, **kwargs):
59 x_t = self.project(data=x_t, noisy_measurement=noisy_measurement)
60 return x_t
61
62
63@register_conditioning_method(name='mcg')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected