muhanzhang / SEAL

SEAL (learning from Subgraphs, Embeddings, and Attributes for Link prediction). "M. Zhang, Y. Chen, Link Prediction Based on Graph Neural Networks, NeurIPS 2018 spotlight".
607 stars 142 forks source link

System crash during subgraph extraction step #61

Closed SYLin117 closed 3 years ago

SYLin117 commented 3 years ago

Hi, I was trying to test my dataset using --train-name and --train-test and it just stuck during the subgraph extraction process, then killed itself. I only got some nonrelevant error message here, hope this could help:

Traceback (most recent call last):
  File "/home/ian/anaconda3/envs/SEAL/lib/python3.7/multiprocessing/pool.py", line 127, in worker
    put((job, i, result))
  File "/home/ian/anaconda3/envs/SEAL/lib/python3.7/multiprocessing/queues.py", line 364, in put
    self._writer.send_bytes(obj)
  File "/home/ian/anaconda3/envs/SEAL/lib/python3.7/multiprocessing/connection.py", line 200, in send_bytes
    self._send_bytes(m[offset:offset + size])
  File "/home/ian/anaconda3/envs/SEAL/lib/python3.7/multiprocessing/connection.py", line 397, in _send_bytes
    self._send(header)
  File "/home/ian/anaconda3/envs/SEAL/lib/python3.7/multiprocessing/connection.py", line 368, in _send
    n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe
muhanzhang commented 3 years ago

Hi, this error is related to multiprocessing in python. You may turn off multiprocessing by appending "--no-parallel" to your command, or try to debug the multiprocessing by using less workers for example.

SYLin117 commented 3 years ago

got it, thanks for the reply.