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

Focus Detr K out of range error #354

Open
Kunaldargan opened this issue Jul 9, 2024 · 0 comments
Open

Focus Detr K out of range error #354

Kunaldargan opened this issue Jul 9, 2024 · 0 comments

Comments

@Kunaldargan
Copy link

detrex/projects/focus_detr/modeling/transformer_layer.py", line 337, in forward
select_tgt_index = torch.topk(mc_score, self.topk_sa, dim=1)[1] # bs, nq
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: selected index k out of range

Dear authors,
Kindly look into the error reported.

Please explain any solution.

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