PointerNet
PointerNet copied to clipboard
EOFError
Exception ignored in: <bound method _DataLoaderIter.__del__ of <torch.utils.data.dataloader._DataLoaderIter object at 0x7f83bb2987b8>>
Traceback (most recent call last):
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/site- packages/torch/utils/data/dataloader.py", line 399, in __del__
self._shutdown_workers()
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/site- packages/torch/utils/data/dataloader.py", line 378, in _shutdown_workers
self.worker_result_queue.get()
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/multiprocessing/queues.py", line 337, in get
return _ForkingPickler.loads(res)
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/site- packages/torch/multiprocessing/reductions.py", line 151, in rebuild_storage_fd
fd = df.detach()
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/multiprocessing/resource_sharer.py", line 57, in detach
with _resource_sharer.get_connection(self._id) as conn:
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/multiprocessing/resource_sharer.py", line 87, in get_connection
c = Client(address, authkey=process.current_process().authkey)
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/multiprocessing/connection.py", line 493, in Client
answer_challenge(c, authkey)
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/multiprocessing/connection.py", line 732, in answer_challenge
message = connection.recv_bytes(256) # reject large message
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/multiprocessing/connection.py", line 216, in recv_bytes
buf = self._recv_bytes(maxlength)
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/multiprocessing/connection.py", line 407, in _recv_bytes
buf = self._recv(4)
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/multiprocessing/connection.py", line 383, in _recv
raise EOFError
EOFError:
Traceback (most recent call last):
File "Train.py", line 91, in <module>
o, p = model(train_batch)
File "/home/penzm/anaconda3/envs/DataEnv/lib/python3.6/site- packages/torch/nn/modules/module.py", line 477, in __call__
result = self.forward(*input, **kwargs)
File "/home/penzm/PointerNet/PointerNet.py", line 312, in forward
decoder_hidden0 = (torch.cat(encoder_hidden[0][-2:], dim=-1),
TypeError: cat(): argument 'tensors' (position 1) must be tuple of Tensors, not Tensor