alelab-upenn / graph-neural-networks

Library to implement graph neural networks in PyTorch
GNU General Public License v3.0
250 stars 64 forks source link

Process finished with exit code 137 (interrupted by signal 9: SIGKILL) #1

Open nshervt opened 5 years ago

nshervt commented 5 years ago

Was trying to run movieGNN.py. Got the error below:

Device selected: cpu
Loading data for split 1... OK
Setting up the graph... OK
Model initialization...
    Initializing SelGNNdegG00... OK
    Initializing SelGNNedsG00... OK
    Initializing SelGNNsprG00... OK
    Initializing SelGNNcrsG00... OK
    Initializing SpctrlGNNG00... /Users/Nsherv/graph-neural-networks/Utils/graphML.py:1333: ComplexWarning: Casting complex values to real discards the imaginary part
  Lambda[e,:], V[e,:,:] = np.linalg.eig(Snp[e,:,:])
OK
Model initialization... COMPLETE

Process finished with exit code 137 (interrupted by signal 9: SIGKILL)
fgfgama commented 4 years ago

Hi, nshervt!

I have just uploaded a new version of the code. In particular, I fixed some memory handling issues, so it could be that. I can run all of the examples just fine.

In fact, I'm pretty sure it has to do with memory, since the spectral GNN is tricky due to the eigendecomposition.

Please, let me know if it now works (now, the movieGNN.py file doesn't implement a spectral GNN anymore).

Best,

nshervt commented 4 years ago

Thanks @fgfgama! I'll check it soon and comment for closing the issue.