Skip to content

Commit 68f3f89

Browse files
author
ablattmann
authored
Fix crashing line in logging in sgm/models/diffusion.py (Stability-AI#64)
1 parent 57862fb commit 68f3f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sgm/models/diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def log_images(
307307
log["inputs"] = x
308308
z = self.encode_first_stage(x)
309309
log["reconstructions"] = self.decode_first_stage(z)
310-
logger.update(self.log_conditionings(batch, N))
310+
log.update(self.log_conditionings(batch, N))
311311

312312
for k in c:
313313
if isinstance(c[k], torch.Tensor):

0 commit comments

Comments
 (0)