Colin97 / OpenShape_code

official code of “OpenShape: Scaling Up 3D Shape Representation Towards Open-World Understanding”
https://colin97.github.io/OpenShape/
Apache License 2.0
224 stars 15 forks source link

Why use the relative position encoding #12

Closed yifliu3 closed 1 month ago

yifliu3 commented 11 months ago

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

eliphatfs commented 1 month ago

I think this is common since PointNet++. This makes the patches independent of the absolute position so the network can embed it more generalizably.