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

Method __init__

sat/sgm/modules/diffusionmodules/sampling.py:442–445  ·  view source on GitHub ↗
(self, edit_ratio=0.5, *args, **kwargs)

Source from the content-addressed store, hash-verified

440
441class SdeditEDMSampler(EulerEDMSampler):
442 def __init__(self, edit_ratio=0.5, *args, **kwargs):
443 super().__init__(*args, **kwargs)
444
445 self.edit_ratio = edit_ratio
446
447 def __call__(self, denoiser, image, randn, cond, uc=None, num_steps=None, edit_ratio=None):
448 randn_unit = randn.clone()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected