SEAL (learning from Subgraphs, Embeddings, and Attributes for Link prediction). "M. Zhang, Y. Chen, Link Prediction Based on Graph Neural Networks, NeurIPS 2018 spotlight".
591
stars
140
forks
source link
OSError: [Winerror 193] %1 is not an effective win32 application. #77
Hi, Dr. Zhang
Hello, when I was trying to run the 'Main.py', there was a question I can't solve. The error is as follows :
Traceback (most recent call last):
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\Main.py", line 14, in
from main import *
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\pytorch_DGCNN-master\main.py", line 14, in
from DGCNN_embedding import DGCNN
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\pytorch_DGCNN-master\DGCNN_embedding.py", line 17, in
from gnn_lib import GNNLIB
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\pytorch_DGCNN-master/lib\gnn_lib.py", line 87, in
GNNLIB = _gnn_lib(sys.argv)
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\pytorch_DGCNN-master/lib\gnn_lib.py", line 12, in init
self.lib = ctypes.CDLL('%s/build/dll/libgnn.so' % dir_path)
File "D:\PYTH\lib\ctypes__init.py", line 374, in init__
self._handle = _dlopen(self._name, mode)
OSError: [Winerror 193] %1 is not an effective win32 application.
I tried to run the program using the 32 bit version of python and it didn't work either. Hoping you can help me.
Thank you!!
Hi! The pytorch_DGCNN implementation does not support windows. See issue. You can try to use the pytorch_geometric implementation of SEAL here. It is faster and uses modern graph deep learning libraries.
Hi, Dr. Zhang Hello, when I was trying to run the 'Main.py', there was a question I can't solve. The error is as follows :
Traceback (most recent call last): File "D:\ml\link\code\SEAL-master\SEAL-master\Python\Main.py", line 14, in
from main import *
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\pytorch_DGCNN-master\main.py", line 14, in
from DGCNN_embedding import DGCNN
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\pytorch_DGCNN-master\DGCNN_embedding.py", line 17, in
from gnn_lib import GNNLIB
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\pytorch_DGCNN-master/lib\gnn_lib.py", line 87, in
GNNLIB = _gnn_lib(sys.argv)
File "D:\ml\link\code\SEAL-master\SEAL-master\Python\pytorch_DGCNN-master/lib\gnn_lib.py", line 12, in init
self.lib = ctypes.CDLL('%s/build/dll/libgnn.so' % dir_path)
File "D:\PYTH\lib\ctypes__init.py", line 374, in init__
self._handle = _dlopen(self._name, mode)
OSError: [Winerror 193] %1 is not an effective win32 application.
I tried to run the program using the 32 bit version of python and it didn't work either. Hoping you can help me. Thank you!!