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

How to train a model with different task datasets at the same time? #11710

Open
kamiLight opened this issue May 14, 2024 · 0 comments
Open

How to train a model with different task datasets at the same time? #11710

kamiLight opened this issue May 14, 2024 · 0 comments
Assignees

Comments

@kamiLight
Copy link

Now i have two datasets with different tasks, dataset-A (detection task) and dataset-B (segmentation task), these two datasets has different image, i.e. one image only has detection label or segmentation label. The model has a shared backbone, and two head for detection task and segmentation task respectively. I want to train this model in multiple gpu, in first step, all gpu get the samples from dataset-A and forward/backward, in second step, all gpu get the samples from dataset-B and forward/backward, and so on until finish the training process, how can i achieve this? Thanks!

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