MCPcopy
hub / github.com/zai-org/CogVideo / __init__

Method __init__

sat/sgm/modules/diffusionmodules/loss.py:66–71  ·  view source on GitHub ↗
(self, block_scale=None, block_size=None, min_snr_value=None, fixed_frames=0, **kwargs)

Source from the content-addressed store, hash-verified

64
65class VideoDiffusionLoss(StandardDiffusionLoss):
66 def __init__(self, block_scale=None, block_size=None, min_snr_value=None, fixed_frames=0, **kwargs):
67 self.fixed_frames = fixed_frames
68 self.block_scale = block_scale
69 self.block_size = block_size
70 self.min_snr_value = min_snr_value
71 super().__init__(**kwargs)
72
73 def __call__(self, network, denoiser, conditioner, input, batch):
74 cond = conditioner(batch)

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected