data
DDPMOutput
extends
DiffusionModelOutputDDPMOutput(sample: Tensor, loss: Tensor | None = None, loss_simple: Tensor | None = None, loss_vlb: Tensor | None = None)Training output of DDPMForImageGeneration.
Adds the two halves of Improved-DDPM's hybrid objective alongside the inherited total, so a training loop can watch them separately — is far noisier than and a single blended number hides which one is moving.
Attributes
Examples
>>> out = model(x_t, t, target=noise)
>>> float(out.loss_simple.item()) > 0
True