MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __init__

Method __init__

sat/sgm/modules/diffusionmodules/sampling.py:129–132  ·  view source on GitHub ↗
(self, s_noise=0.1, *args, **kwargs)

Source from the content-addressed store, hash-verified

127
128class DDIMSampler(SingleStepDiffusionSampler):
129 def __init__(self, s_noise=0.1, *args, **kwargs):
130 super().__init__(*args, **kwargs)
131
132 self.s_noise = s_noise
133
134 def sampler_step(self, sigma, next_sigma, denoiser, x, cond, uc=None, s_noise=0.0):
135 denoised = self.denoise(x, denoiser, sigma, cond, uc)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected