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

Method __init__

sat/sgm/modules/diffusionmodules/sigma_sampling.py:48–50  ·  view source on GitHub ↗
(self, p_mean=-1.2, p_std=1.2)

Source from the content-addressed store, hash-verified

46
47class EDMSampling:
48 def __init__(self, p_mean=-1.2, p_std=1.2):
49 self.p_mean = p_mean
50 self.p_std = p_std
51
52 def __call__(self, n_samples, rand=None):
53 log_sigma = self.p_mean + self.p_std * default(rand, torch.randn((n_samples,)))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected