mirror of
https://github.com/Stability-AI/generative-models.git
synced 2025-12-19 22:34:22 +01:00
Fix crashing line in logging in sgm/models/diffusion.py (#64)
This commit is contained in:
@@ -307,7 +307,7 @@ class DiffusionEngine(pl.LightningModule):
|
||||
log["inputs"] = x
|
||||
z = self.encode_first_stage(x)
|
||||
log["reconstructions"] = self.decode_first_stage(z)
|
||||
logger.update(self.log_conditionings(batch, N))
|
||||
log.update(self.log_conditionings(batch, N))
|
||||
|
||||
for k in c:
|
||||
if isinstance(c[k], torch.Tensor):
|
||||
|
||||
Reference in New Issue
Block a user