Skip to content

Add DETR object detection head. #176

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

favyen2
Copy link
Collaborator

@favyen2 favyen2 commented May 13, 2025

I haven't been able to train the head successfully but it seems to be correct? I guess I should try it on COCO.

Most of the code is from here:
https://github.com/facebookresearch/detr

I wasn't able to use it as a library because their repository is not structured as a module. Also it was too tightly connected to the backbone.

@favyen2
Copy link
Collaborator Author

favyen2 commented May 14, 2025

Henry suggested trying it with other backbone (not Helios).

@favyen2
Copy link
Collaborator Author

favyen2 commented May 14, 2025

I should also try longer training run with Helios+DETR with dropout enabled, most recently I tried disabling it but maybe it works better enabled (previously I was seeing very different train/eval results so that's why I disabled it).

@favyen2
Copy link
Collaborator Author

favyen2 commented May 28, 2025

I will mark this as draft until we have a chance to debug why DETR code isn't working for training on COCO dataset with current version of the various libraries like pytorch and such.

@favyen2 favyen2 marked this pull request as draft May 28, 2025 22:10
@favyen2
Copy link
Collaborator Author

favyen2 commented Jun 4, 2025

Unmarking as draft, I think we should just merge it in for now since it's already used by some configs in rslearn_projects I think, and then can continue debugging later.

@favyen2 favyen2 marked this pull request as ready for review June 4, 2025 16:10
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

Successfully merging this pull request may close these issues.

1 participant