UnsuperPoint_PyTorch icon indicating copy to clipboard operation
UnsuperPoint_PyTorch copied to clipboard

edit unixy loss and evaluation

Open amyburden opened this issue 4 years ago • 0 comments

idx = torch.argsort(position) position[idx] is sorted position from small to large from 0 to 1, idx_f = torch.arange(p).float().to(self.device) is 0 to p uni_l2 = torch.mean(torch.pow(position[idx] - (idx_f / p), 2)) is describe as in paper. but weight of uni_l2 may need changes.

evaluation part: point on warp image should be filter when they do not exist on original image

amyburden avatar Aug 05 '21 00:08 amyburden