PWC-Net icon indicating copy to clipboard operation
PWC-Net copied to clipboard

Use correlation as loss

Open bkvie opened this issue 6 years ago • 2 comments

correlation(image1, image2) outputs a multidimensional tensor, would it be possible to produce a scalar that can be used as a loss. I.e deform image 1 and minimise negative correlation between image1, image2.

asked previously and recommended to ask in this thread, https://github.com/sniklaus/pytorch-pwc/issues/15

bkvie avatar Jan 08 '19 16:01 bkvie

@bkvie My thinking is that you can certainly get creative and design a novel loss function, but could you please elaborate "deform image 1" and "negative correlation"?

jrenzhile avatar Jan 08 '19 16:01 jrenzhile

@luvegood with deform I mean using STN (spatial transformer network) or some trainable warping/deformation method that would minimize the correlation between images.

bkvie avatar Jan 08 '19 16:01 bkvie