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

How is top-k calculated? #238

Open
yangtle opened this issue Dec 6, 2023 · 0 comments
Open

How is top-k calculated? #238

yangtle opened this issue Dec 6, 2023 · 0 comments

Comments

@yangtle
Copy link

yangtle commented Dec 6, 2023

In the selection of queries between the encoder and decoder in the middle position, why are two classifiers set to None? The code is in deformable_transformer.py.
self.enc_out_class_embed = None
self.enc_out_bbox_embed = None
enc_outputs_class_unselected = self.enc_out_class_embed(output_memory)
enc_outputs_coord_unselected = self.enc_out_bbox_embed(output_memory) + output_proposals

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