deepsnap icon indicating copy to clipboard operation
deepsnap copied to clipboard

Illegal instruction (core dumped)

Open ntnn19 opened this issue 3 years ago • 5 comments

I installed deepsnap on a remote machine using pip, with the below dependencies first:

PyTorch --> https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html NetworkX --> https://github.com/networkx/networkx

But when I import:

from deepsnap.graph import Graph

I get: Illegal instruction (core dumped)

Thank you!

ntnn19 avatar Jun 13 '21 12:06 ntnn19

Does PyTorch Geometric successfully be installed?

zechengz avatar Jun 15 '21 19:06 zechengz

Yes, I verified it today.

ntnn19 avatar Jun 16 '21 08:06 ntnn19

That's a little bit strange. Because DeepSNAP is almost based on PyTorch, PyG and NetworkX, and all other implementations are just pure Python. The kind of error like Illegal instruction (core dumped) is usually caused by PyG or PyTorch. Can you briefly describe your task and send the error log?

zechengz avatar Jun 17 '21 04:06 zechengz

I am trying to do inductive node regression using ~200 structurally distinct graphs.

image

ntnn19 avatar Jun 20 '21 07:06 ntnn19

@ntnn19 What versions of Python, Pytorch, PyG and Networkx do you have? I have Python 3.7.10, Pytorch 1.9.0, PyG 2.0.1, and Networkx 2.5.1 and deepsnap 0.2.1 and it is working fine in my case.

ipsitmantri avatar Sep 17 '21 08:09 ipsitmantri