-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About use #15
Comments
Sorry to bother you again. I read the source code and it seems that this is indeed a scalar. I would like to ask why a frequency loss is calculated for the entire batch. If it is modified to calculate a frequency loss for each generated image and the original image, is it reasonable? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, will the gradient of loss be calculated when ffl is used as loss? I try to put ffl on cuda, but it is always a scalar, and mse is a tensor with calculated gradient. Here are my changes:
The following are the values of mse and ffl, their forms are different, I don’t know if I’m wrong here.
The text was updated successfully, but these errors were encountered: