This commit is contained in:
rromb 2022-06-16 10:46:20 +02:00
parent 6663c9bb71
commit 5831e12dd0
1 changed files with 1 additions and 0 deletions

View File

@ -1548,6 +1548,7 @@ class LatentUpscaleDiffusion(LatentDiffusion):
if unconditional_guidance_scale > 1.0:
uc_tmp = self.get_unconditional_conditioning(N, unconditional_guidance_label)
# TODO explore better "unconditional" choices for the other keys
# maybe guide away from empty text label and highest noise level and maximally degraded zx?
uc = dict()
for k in c:
if k == "c_crossattn":