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

what is meaning of self.query_embedding = nn.Embedding(self.num_query, self.embed_dims * 2) #72

Open
hitbuyi opened this issue Apr 11, 2024 · 1 comment

Comments

@hitbuyi
Copy link

hitbuyi commented Apr 11, 2024

in detr3d_head.py,

       if not self.as_two_stage:
            self.query_embedding = nn.Embedding(self.num_query,
                                                self.embed_dims * 2)

why self.embed_dims multiplfies *2? what's the meaning here?

@Raiden-cn
Copy link

I guess it initializes object query like DETR.

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