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
In networ.py BCELoss has the default settings, which (looking both for pytorch1.1 and pytorch0.4) does the mean reduction. However, the KL divergence function (also in network.py) seems to be using the sum reduction. Intuitively, either both should be sum or both mean. Is this a bug or is this correct?
Thanks!
The text was updated successfully, but these errors were encountered:
In networ.py BCELoss has the default settings, which (looking both for pytorch1.1 and pytorch0.4) does the mean reduction. However, the KL divergence function (also in network.py) seems to be using the sum reduction. Intuitively, either both should be sum or both mean. Is this a bug or is this correct?
Thanks!
The text was updated successfully, but these errors were encountered: