Skip to content

Commit

Permalink
Revert unconditional EDMLoss to positional arg (#751)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Harrington <[email protected]>
  • Loading branch information
pzharrington authored Jan 8, 2025
1 parent 54ca693 commit 263d7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modulus/metrics/diffusion/loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def __call__(self, net, images, condition=None, labels=None, augment_pipe=None):
augment_labels=augment_labels,
)
else:
D_yn = net(y + n, sigma, labels=labels, augment_labels=augment_labels)
D_yn = net(y + n, sigma, labels, augment_labels=augment_labels)
loss = weight * ((D_yn - y) ** 2)
return loss

Expand Down

0 comments on commit 263d7b1

Please sign in to comment.