mirror of
https://github.com/Stability-AI/stablediffusion.git
synced 2024-12-22 23:55:00 +00:00
Fix typo in ddpm.py
Paramterization -> Parameterization
This commit is contained in:
parent
47b6b607fd
commit
d4e8234adf
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ class DDPM(pl.LightningModule):
|
||||||
elif self.parameterization == "v":
|
elif self.parameterization == "v":
|
||||||
target = self.get_v(x_start, noise, t)
|
target = self.get_v(x_start, noise, t)
|
||||||
else:
|
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])
|
loss = self.get_loss(model_out, target, mean=False).mean(dim=[1, 2, 3])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue