Open xiaoxiaowannote opened 2 years ago
asym_loss = torch.mean(if_asym torch.abs(0.3 - torch.lt(gt_noise, est_noise).float()) torch.pow(est_noise - gt_noise, 2)) should be asym_loss = torch.mean(if_asym torch.abs(0.3 - torch.lt(est_noise, gt_noise).float()) torch.pow(est_noise - gt_noise, 2)) ??
asym_loss = torch.mean(if_asym torch.abs(0.3 - torch.lt(gt_noise, est_noise).float()) torch.pow(est_noise - gt_noise, 2)) should be asym_loss = torch.mean(if_asym torch.abs(0.3 - torch.lt(est_noise, gt_noise).float()) torch.pow(est_noise - gt_noise, 2)) ??
This is an old issue but I have also confirmed this against the paper implementation.
may be your torch.lt is wrong