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

Question about multi-task #5

Open
rOtking opened this issue Sep 17, 2022 · 3 comments
Open

Question about multi-task #5

rOtking opened this issue Sep 17, 2022 · 3 comments

Comments

@rOtking
Copy link

rOtking commented Sep 17, 2022

I have a question, does the model can support multi-task? Or the architecture can support multi-task, but you can only choose one specific task when you train.

@tomztyang
Copy link
Collaborator

Yes. You can train one model on multi-task simultaneously with accordingly set query positions.

@rOtking
Copy link
Author

rOtking commented Sep 17, 2022

@tomztyang Thank you for your reply. And i want to know, does one query can be used for multi-task with different head? Or the querys are grouped, for example, some querys are used for detection, some querys are used for segmentation?

@tomztyang
Copy link
Collaborator

In my opinion, a query represents a position. You can use features of this position for detection, or for segmentation, or for both simultaneously, which depend on the head. If you wish to use the features for multi-tasking, just add multi-task head after obtaining the feature of this position. That's my though.

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