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

"Update hf models" commit introduced a bug #151

Closed
Asha-Gutlapalli opened this issue Jul 25, 2024 · 1 comment
Closed

"Update hf models" commit introduced a bug #151

Asha-Gutlapalli opened this issue Jul 25, 2024 · 1 comment

Comments

@Asha-Gutlapalli
Copy link

Asha-Gutlapalli commented Jul 25, 2024

I believe this recent commit - Update hf models may have introduced a bug in projects/models/co_detr.py.

While training the Co-Deformable-DETR model with Swin-T backbone, the script throws an error at this line.

bbox_losses, x, results_list = self.query_head.forward_train(x, img_metas, gt_bboxes, gt_labels, gt_bboxes_ignore)

ValueError: not enough values to unpack (expected 3, got 2)
@Asha-Gutlapalli Asha-Gutlapalli changed the title Update hf models commit introduced a bug "Update hf models" commit introduced a bug Jul 25, 2024
@TempleX98
Copy link
Collaborator

Thank you for raising the issue. I have fixed this bug.

TempleX98 added a commit that referenced this issue Jul 26, 2024
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