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
The reconstruction loss has numerical stability issues and will output NaN values when calculating NewInnerLog.
The calculation of NewInnerLog NewInnerLog = InnerLog / ((x_sigmoid *clipped_norm_gaussian).sum(1)) should be changed to NewInnerLog = InnerLog / ((x_sigmoid *clipped_norm_gaussian).sum(1) + self.eps) to prevent division by zeros.
The text was updated successfully, but these errors were encountered:
The reconstruction loss has numerical stability issues and will output NaN values when calculating NewInnerLog.
The calculation of NewInnerLog
NewInnerLog = InnerLog / ((x_sigmoid *clipped_norm_gaussian).sum(1))
should be changed toNewInnerLog = InnerLog / ((x_sigmoid *clipped_norm_gaussian).sum(1) + self.eps)
to prevent division by zeros.The text was updated successfully, but these errors were encountered: