clemsgrs / hipt

Re-implementation of HIPT
18 stars 6 forks source link

add 2d positional encoding logic #7

Closed clemsgrs closed 1 year ago

clemsgrs commented 1 year ago

Be able to leverage (x,y) coordinates of each region in a slide when pooling the sequence of region-level features into a single slide-level representation. Added different ways to do so:

Working with different aggregation methods enables different position encoding strategies: