quark0 / darts

Differentiable architecture search for convolutional and recurrent networks
https://arxiv.org/abs/1806.09055
Apache License 2.0
3.92k stars 843 forks source link

Bug!DataLoaderIter ConnectionResetError: [Errno 104] Connection reset by peer #95

Open zihaozhang9 opened 5 years ago

zihaozhang9 commented 5 years ago

I use cd cnn && python train_search.py --unrolled # for conv cells on CIFAR-10 Get:

Exception ignored in: <bound method _DataLoaderIter.del of <torch.utils.data.dataloader._DataLoaderIter object at 0x7ff940e565c0>> Traceback (most recent call last): File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 399, in del self._shutdown_workers() File "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 378, in _shutdown_workers self.worker_result_queue.get() File "/opt/conda/lib/python3.6/multiprocessing/queues.py", line 337, in get return _ForkingPickler.loads(res) File "/opt/conda/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 151, in rebuild_storage_fd fd = df.detach() File "/opt/conda/lib/python3.6/multiprocessing/resource_sharer.py", line 58, in detach return reduction.recv_handle(conn) File "/opt/conda/lib/python3.6/multiprocessing/reduction.py", line 182, in recv_handle return recvfds(s, 1)[0] File "/opt/conda/lib/python3.6/multiprocessing/reduction.py", line 153, in recvfds msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_LEN(bytes_size)) ConnectionResetError: [Errno 104] Connection reset by peer

MandyMo commented 5 years ago

I reimplement a the CNN part that support latest Pytorch, and the code is available at https://github.com/MandyMo/DARTS.

zihaozhang9 commented 5 years ago

I reimplement a the CNN part that support latest Pytorch, and the code is available at https://github.com/MandyMo/DARTS.

ok!very thanks~