About loss #105
guoqincode
started this conversation in
General
About loss
#105
Replies: 1 comment
-
|
I didn't get u. Do u think |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In contrast to the DiT implementation itself:
https://github.com/facebookresearch/DiT/blob/main/diffusion/gaussian_diffusion.py#L779
terms["mse"] = mean_flat((target - model_output) ** 2)
if "vb" in terms:
terms["loss"] = terms["mse"] + terms["vb"]
else:
terms["loss"] = terms["mse"]
Why did you increase the loss by twice as much?
https://github.com/PixArt-alpha/PixArt-alpha/blob/master/diffusion/model/gaussian_diffusion.py#L814
Beta Was this translation helpful? Give feedback.
All reactions