...

/

Predicting Relative Position of Patches

Predicting Relative Position of Patches

Learn to implement self-supervised learning via predicting relative patch positions.

Relative positioning of patches

Given an image XiX_i, this pretext task involves sampling a random pair of patches (Xip1,Xip2)(X_i^{p_1}, X_i^{p_2}) in one of the eight spatial configurations (shown in figure below) and assigning a pseudo label PiP_i (shown in figure below) that denotes the position of patch Xip2X_i^{p_2} ...