Skip to content
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

EOFError #1

Open
pencoa opened this issue Nov 18, 2018 · 0 comments
Open

EOFError #1

pencoa opened this issue Nov 18, 2018 · 0 comments

Comments

@pencoa
Copy link

pencoa commented Nov 18, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant