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

num_worker? #6

Closed
lilipopololo opened this issue Mar 6, 2022 · 3 comments
Closed

num_worker? #6

lilipopololo opened this issue Mar 6, 2022 · 3 comments

Comments

@lilipopololo
Copy link

lilipopololo commented Mar 6, 2022

Hello author, I would like to ask how to change number of num_workers in Dataloader
I can't find any code about "num_workers " in this project,maybe you set num_workers ==0 for stability?

@lilipopololo
Copy link
Author

As i find in configs/config_dtu.json, key "dataloader" in configure file is a list, should i copy the item in this list to set num_workers ?

"data_loader": [

@TruongKhang
Copy link
Owner

hiiii @lilipopololo, I fixed the num_workers = 4 in the file dataloaders.py.
Yes, you can add the parameters num_workers to the file config_dtu.json and then add an initial variable num_workers in __init__ function of DTULoader.

@lilipopololo
Copy link
Author

I see thank you

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