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

problem in dataloader #12

Open
xupengzheng opened this issue Sep 26, 2020 · 2 comments
Open

problem in dataloader #12

xupengzheng opened this issue Sep 26, 2020 · 2 comments

Comments

@xupengzheng
Copy link

when the num_worker of Dataloader is not zero, there would be an error. some people say it is because the multi-threads of windows is accomplished with spawn instead of fork. I am not familiar with computer science, could you please tell me what should I do to avoid this error while still getting the benifits of multi-threads?

@YvonneDL
Copy link

you need ste : num_worker = 0, you code could work.

@QuantumLuckin
Copy link

you need ste : num_worker = 0, you code could work.
it works!!!! thanks a lot.
pruning.py : line 53, set num_workers:0

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

3 participants