Inconsistency between X and Y loss
Closed this issue · 1 comments
AmitaiPerlstein commented
utils lines 170, 172 (for feet, meters respectively) have
0.5*torch.pow(sigY, 2)*torch.pow(y-muY, 2) for Y
but
torch.pow(sigX, 2) * torch.pow(x - muX, 2) for X
nachiket92 commented
Both terms have the 0.5 multiplicative factor.
Edit: Ah yes, you're right there was still another typo. The 0.5 factor was outside the bracket for both terms, but was repeated inside for the Y term. This has been fixed. Thanks!