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

Some questions about pairwise_t_matrix. #34

Open
fengxueguiren opened this issue Oct 23, 2024 · 3 comments
Open

Some questions about pairwise_t_matrix. #34

fengxueguiren opened this issue Oct 23, 2024 · 3 comments

Comments

@fengxueguiren
Copy link

Hi, how should we understand these scaling operations for pairwise_t_matrix? Thanks very much.

        pairwise_t_matrix[...,0,1] = pairwise_t_matrix[...,0,1] * H / W
        pairwise_t_matrix[...,1,0] = pairwise_t_matrix[...,1,0] * W / H
        pairwise_t_matrix[...,0,2] = pairwise_t_matrix[...,0,2] / (self.downsample_rate * self.discrete_ratio * W) * 2
        pairwise_t_matrix[...,1,2] = pairwise_t_matrix[...,1,2] / (self.downsample_rate * self.discrete_ratio * H) * 2
@yifanlu0227
Copy link
Owner

Sorry for the late reply, you need to dive deep a little bit to the affine_grid and grid_sample function, which treat the BEV feature map as an image wrapping transformation. Here is an illustration

Screenshot 2024-10-29 at 10 43 57

@Xutian-Ming
Copy link

Hi, could you please tell me where this screenshot comes from, I want to learn more details about this topic, such as why the Aj->i matrix should be like in this form and why this method can work well for multi agents collaboration perception. I wonder if you could please give more guidance.
Thank you very much!

@Xutian-Ming
Copy link

Sorry for the late reply, you need to dive deep a little bit to the affine_grid and grid_sample function, which treat the BEV feature map as an image wrapping transformation. Here is an illustration
Screenshot 2024-10-29 at 10 43 57

sorry for forgetting to quote (:

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

3 participants