Hi guys,
When I use Dataloader to load data with num_worker>0, I got the following error:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/Maro/anaconda3/envs/pytorch/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/home/Maro/anaconda3/envs/pytorch/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/home/Maro/anaconda3/envs/pytorch/lib/python3.5/multiprocessing/resource_sharer.py", line 139, in _serve
    signal.pthread_sigmask(signal.SIG_BLOCK, range(1, signal.NSIG))
  File "/home/Maro/anaconda3/envs/pytorch/lib/python3.5/signal.py", line 60, in pthread_sigmask
    sigs_set = _signal.pthread_sigmask(how, mask)
ValueError: signal number 32 out of range


And I must set num_workers to 0, but it cost too much time in loading data in each iteration.
Is there any good way to solve this problem? Any advice will be highly appreciated.
Thanks in advance.