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

why set workers_per_gpu=0 #16

Closed
czczup opened this issue Jul 27, 2022 · 2 comments
Closed

why set workers_per_gpu=0 #16

czczup opened this issue Jul 27, 2022 · 2 comments

Comments

@czczup
Copy link

czczup commented Jul 27, 2022

Hi, thanks for your awesome work! I have a question about the dataloader of BigDetection, why set workers_per_gpu=0 in the dataloader? The current code requires 0.2-0.3s to load data in my experiment, I hope to use more workers to improve training efficiency, but set workers_per_gpu>0 seems to hang the code.

@bryanyzhu
Copy link
Contributor

Thank you, the hanging issue could be caused by multiple reasons, which you might find solutions in MMdet issues. In general, it is likely because small shared memory and multi-threading. I suggest to install the latest MMdet to see if the issue persists.

@czczup
Copy link
Author

czczup commented Jul 29, 2022

Thank you, the hanging issue could be caused by multiple reasons, which you might find solutions in MMdet issues. In general, it is likely because small shared memory and multi-threading. I suggest to install the latest MMdet to see if the issue persists.

I solved it. Thank you for your reply.

@czczup czczup closed this as completed Jul 29, 2022
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