-
Notifications
You must be signed in to change notification settings - Fork 7k
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
NEW Feature: DeTR Model to torchvision #6922
Comments
One problem I do see is that DETR at one step uses scipy.linear_assigment. How are we going to do that in torchvision? Scipy is not a hard dependency for us cc @datumbox |
Thanks, I did not know that. |
Officially I don't think so. But we can try to port the scipy code https://github.com/scipy/scipy/blob/v0.18.1/scipy/optimize/_hungarian.py I can help you with DETR I have some experience on using it. |
My other concern is the background class choice In current torchvision models 0 label is considered as background. But I guess for DETR label 0 is not background. |
I think given that the original repo uses Looping in @fmassa who is one of the authors of the paper in case he can provide a better recommendation. |
Although it's possible to write custom ops. Like we have NMS etc in cuda and C++ in torchvision we would need to package this too. But let's hear from @fmassa who knows this best. |
Are we still waiting for @fmassa ? We could start building the other code blocks. |
🚀 The feature
Adding the first Transformer-based detection model to Torchvision. A draft PR was submitted regarding the model: #5922
but a Github Issue regarding it did not exist. Therefore creating it now.
Paper: here
Official implementation: here
Pinging @xiaohu2015 and @deepwilson if you guys would like to contribute
Motivation, pitch
First Transformer-based detection model to Torchvision, which has been missing until now in torchvision.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: