MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / log_images

Method log_images

ldm/models/diffusion/ddpm.py:1802–1805  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1800
1801 @torch.no_grad()
1802 def log_images(self, *args, **kwargs):
1803 log = super().log_images(*args, **kwargs)
1804 log["lr"] = rearrange(args[0]["lr"], 'b h w c -> b c h w')
1805 return log

Callers

nothing calls this directly

Calls 1

log_imagesMethod · 0.45

Tested by

no test coverage detected