harplife commented on issue #10562:
URL:
https://github.com/apache/incubator-mxnet/issues/10562#issuecomment-763419390
Windows 10 Enterprise v 20H2, Python 3.6, Cuda 10, mxnet 1.7.0 - I have this
problem too. It does work with `num_workers=0`.
```python
>>> train_dataloader = mx.gluon.data.DataLoader(data_train,
batch_size=batch_size, num_workers=5)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"C:\Users\zion\Anaconda3\envs\glu_env\lib\site-packages\mxnet\gluon\data\dataloader.py",
line 620, in __init__
initargs=[self._dataset, is_np_shape(), is_np_array()])
File
"C:\Users\zion\Anaconda3\envs\glu_env\lib\multiprocessing\context.py", line
119, in Pool
context=self.get_context())
File "C:\Users\zion\Anaconda3\envs\glu_env\lib\multiprocessing\pool.py",
line 174, in __init__
self._repopulate_pool()
File "C:\Users\zion\Anaconda3\envs\glu_env\lib\multiprocessing\pool.py",
line 239, in _repopulate_pool
w.start()
File
"C:\Users\zion\Anaconda3\envs\glu_env\lib\multiprocessing\process.py", line
105, in start
self._popen = self._Popen(self)
File
"C:\Users\zion\Anaconda3\envs\glu_env\lib\multiprocessing\context.py", line
322, in _Popen
return Popen(process_obj)
File
"C:\Users\zion\Anaconda3\envs\glu_env\lib\multiprocessing\popen_spawn_win32.py",
line 65, in __init__
reduction.dump(process_obj, to_child)
File
"C:\Users\zion\Anaconda3\envs\glu_env\lib\multiprocessing\reduction.py", line
60, in dump
ForkingPickler(file, protocol).dump(obj)
BrokenPipeError: [Errno 32] Broken pipe
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]