Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kentechx committed Aug 7, 2023
1 parent 43c7e87 commit 504f61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pointnext/pointnext.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def __init__(self, in_dim, out_dim, k=3, eps=1e-5):
def route(self, src_x, src_xyz, dst_x, dst_xyz, neighbor_idx=None, dists=None):
# use knn and weighted average to get the features
src_xyz = rearrange(src_xyz, 'b d n -> b n d').contiguous()
dst_xyz = rearrange(dst_x, 'b d m -> b m d').contiguous()
dst_xyz = rearrange(dst_xyz, 'b d m -> b m d').contiguous()
lerp_x = three_interpolation(src_xyz, src_x, dst_xyz)
dst_x = torch.cat([dst_x, lerp_x], dim=1) # (b, d+d', m)
return dst_x
Expand Down

0 comments on commit 504f61e

Please sign in to comment.