MCPcopy Create free account
hub / github.com/MotrixLab/MotionDiffuse / weights

Method weights

text2motion/models/gaussian_diffusion.py:41–45  ·  view source on GitHub ↗

Get a numpy array of weights, one per diffusion step. The weights needn't be normalized, but must be positive.

(self)

Source from the content-addressed store, hash-verified

39
40 @abstractmethod
41 def weights(self):
42 """
43 Get a numpy array of weights, one per diffusion step.
44 The weights needn't be normalized, but must be positive.
45 """
46
47 def sample(self, batch_size, device):
48 """

Callers 1

sampleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected