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

关于MSDeformAttn中sampling_locations的归一化如何理解问题 #239

Open
20231211 opened this issue Aug 29, 2024 · 1 comment
Open

Comments

@20231211
Copy link

elif reference_points.shape[-1] == 4:
sampling_locations = reference_points[:, :, None, :, None, :2]
+ sampling_offsets / self.n_points * reference_points[:, :, None, :, None, 2:] * 0.5
这里归一化为什么是除以 self.n_points * reference_points[:, :, None, :, None, 2:] * 0.5

@long2double
Copy link

同问,很是困惑,你知道为什么了么

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

2 participants