Some errors when processing DGCNN
See original GitHub issueHi Muhan, can you help me deal with two errors? When I tried to follow the Readme to make -j4 under the “lib” it shows like following: Nothing to be done for `all’.
And when I make the command “./run_DGCNN.sh”, it feedbacked the following error: Traceback (most recent call last): File “main.py”, line 14, in <module> from DGCNN_embedding import DGCNN File “/Users/jishilun/Desktop/DGCNN_official/DGCNN_embedding.py”, line 17, in <module> from gnn_lib import GNNLIB File “/Users/jishilun/Desktop/DGCNN_official/lib/gnn_lib.py”, line 87, in <module> GNNLIB = _gnn_lib(sys.argv) File “/Users/jishilun/Desktop/DGCNN_official/lib/gnn_lib.py”, line 12, in init self.lib = ctypes.CDLL(‘%s/build/dll/libgnn.so’ % dir_path) File “/anaconda3/lib/python3.7/ctypes/init.py”, line 356, in init self._handle = _dlopen(self._name, mode) OSError: dlopen(/Users/jishilun/Desktop/DGCNN_official/lib/build/dll/libgnn.so, 6): no suitable image found. Did find: /Users/jishilun/Desktop/DGCNN_official/lib/build/dll/libgnn.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 /Users/jishilun/Desktop/DGCNN_official/lib/build/dll/libgnn.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
Above all are the errors, which I can not handle. So Can you tell me where the error occurs? Thank you very much!
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
That’s normal. MUTAG is a rather small dataset with only ~170 graphs. And you are only running the with fold 1. You should do cross validation to iterate over the 10 folds to get average accuracy.
OK, I got it. Thx! 😃