You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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?
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: