-
Notifications
You must be signed in to change notification settings - Fork 47
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
BrokenPipeError #3
Comments
Can you provide the whole error information printed in console? |
(base) C:\Users\11619\Desktop\SSKD-master>python teacher.py --arch wrn_40_2 --lr 0.05 --gpu-id 0 File "D:\anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 46, in init
BrokenPipeError: [Errno 32] Broken pipe |
I notice that you are using Windows platform.The error is related to the multithreading of Dataloader on Windows. For more details, see this issue. You could try setting num_workers=0. But this will slow down the speed of data loading. I recommend to run the code on Ubuntu platform. |
Thanks for you reply. My problem is solved. I will accept your recommend to run the code on Ubuntu platform. |
BrokenPipeError:[Errno 32] Broken pipe
when I run the teacher.py by python teacher.py --arch wrn_40_2 --lr 0.05 --gpu-id 0. I miss the error,What can I do to solve this problem? @xuguodong03
The text was updated successfully, but these errors were encountered: