MCPcopy Index your code
hub / github.com/VisionXLab/OF-Diff / get_unconditional_conditioning

Method get_unconditional_conditioning

cldm/cldm.py:374–375  ·  view source on GitHub ↗
(self, N)

Source from the content-addressed store, hash-verified

372
373 @torch.no_grad()
374 def get_unconditional_conditioning(self, N):
375 return self.get_learned_conditioning([""] * N)
376
377 @torch.no_grad()
378 def log_images(self, batch, N=4, n_row=2, sample=False, ddim_steps=50, ddim_eta=0.0, return_keys=None,

Callers 1

log_imagesMethod · 0.95

Calls 1

Tested by

no test coverage detected