mirror of
https://github.com/Stability-AI/stablediffusion.git
synced 2025-12-05 14:30:01 +01:00
Fix typo in ddpm.py
Paramterization -> Parameterization
This commit is contained in:
@@ -390,7 +390,7 @@ class DDPM(pl.LightningModule):
|
||||
elif self.parameterization == "v":
|
||||
target = self.get_v(x_start, noise, t)
|
||||
else:
|
||||
raise NotImplementedError(f"Paramterization {self.parameterization} not yet supported")
|
||||
raise NotImplementedError(f"Parameterization {self.parameterization} not yet supported")
|
||||
|
||||
loss = self.get_loss(model_out, target, mean=False).mean(dim=[1, 2, 3])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user