I noticed that you have used the relative position of centroids as the input of the position encoding:
entroid_delta = centroids.unsqueeze(-1) - centroids.unsqueeze(-2)
may I know the reason to use relative encoding rather the commonly used absolution position encoding
Hi,
I noticed that you have used the relative position of centroids as the input of the position encoding:
entroid_delta = centroids.unsqueeze(-1) - centroids.unsqueeze(-2)
may I know the reason to use relative encoding rather the commonly used absolution position encoding