Open lo2aayy opened 4 years ago
i have implemented some perfomance, can we chat on email about more details? @lo2aayy my email address: tangxuvis@163.com
Why are the L_rec and L_att loss functions implemented different than that of the paper?
in the paper L_att, and L_rec are the L2 distance but you do squaring followed by meaning Shouldn't they be for L2 distance: torch.norm((X - Y),2) instead of torch.mean(torch.pow(X - Y, 2))? The difference in the loss between them is large.
I think torch.mean should be torch.sum,torch.norm((X - Y),2) is equal to torch.sqrt(torch.sum(torch.pow(X - Y, 2)))
Why are the L_rec and L_att loss functions implemented different than that of the paper?
in the paper L_att, and L_rec are the L2 distance but you do squaring followed by meaning Shouldn't they be for L2 distance: torch.norm((X - Y),2) instead of torch.mean(torch.pow(X - Y, 2))? The difference in the loss between them is large.