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
I would like to know more about the operations in defined loss. Since the mask has been normalized by mask /= torch.mean(mask), should we use the sum operation torch.sum(loss) rather than the mean operation torch.mean(loss) in returning loss?
Hi,
Thanks for the remarkable work.
I would like to know more about the operations in defined loss. Since the
mask
has been normalized bymask /= torch.mean(mask)
, should we use the sum operationtorch.sum(loss)
rather than the mean operationtorch.mean(loss)
in returning loss?Bigscity-LibCity/libcity/model/loss.py
Lines 75 to 87 in 38ff383
I am not sure what I understand is right due to my limited knowledge. If you could respond, that would be greatly appreciated.
The text was updated successfully, but these errors were encountered: