Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem about centroid in Umbrella #16

Open
Shadow581 opened this issue Nov 18, 2022 · 0 comments
Open

The problem about centroid in Umbrella #16

Shadow581 opened this issue Nov 18, 2022 · 0 comments

Comments

@Shadow581
Copy link

Shadow581 commented Nov 18, 2022

Dear author

Why get the centroids by concatenating edges with edges.roll(-1, 2) ?
# Algorithm 2 Pytorch-Style Pseudocode of Umbrella RepSurf
pairs = concat([edges, edges.roll(-1, 2)], dim=-2) # [B,N,K,2,3]
centroids = mean(pairs, dim=3) # [B,N,K,3]

Why not get centroids by mean(edges, dim-2) directly? # edges: [B, N, K, 3]

I'm confused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant