MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / DiffusionUncond

Class DiffusionUncond

scripts/convert_dance_diffusion_to_diffusers.py:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66class DiffusionUncond(nn.Module):
67 def __init__(self, global_args):
68 super().__init__()
69
70 self.diffusion = DiffusionAttnUnet1D(global_args, n_attn_layers=4)
71 self.diffusion_ema = deepcopy(self.diffusion)
72 self.rng = torch.quasirandom.SobolEngine(1, scramble=True)
73
74
75def download(model_name):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected