anonymousaabc / DRGCN

This is a implementation of DRGCN
13 stars 2 forks source link

dgl version problem #2

Closed weikai-li closed 2 years ago

weikai-li commented 2 years ago

I followed your step to install necessary packages. Except that my cuda version is 11.1 instead of 10.2, I installed all the packages as instructed in "drgat_env_install.sh". However, when I ran your script, I encountered the following problem:

File "/data/weikai/software/miniconda3/envs/drgat/lib/python3.7/site-packages/ogb/nodeproppred/dataset_dgl.py", line 76, in pre_process self.graph, label_dict = load_graphs(pre_processed_file_path) File "/data/weikai/software/miniconda3/envs/drgat/lib/python3.7/site-packages/dgl/data/graph_serialize.py", line 175, in load_graphs version = _CAPI_GetFileVersion(filename) File "dgl/_ffi/_cython/./function.pxi", line 287, in dgl._ffi._cy3.core.FunctionBase.call File "dgl/_ffi/_cython/./function.pxi", line 222, in dgl._ffi._cy3.core.FuncCall File "dgl/_ffi/_cython/./function.pxi", line 211, in dgl._ffi._cy3.core.FuncCall3 File "dgl/_ffi/_cython/./base.pxi", line 155, in dgl._ffi._cy3.core.CALL dgl._ffi.base.DGLError: [00:56:20] /opt/dgl/src/graph/serialize/graph_serialize.cc:128: Check failed: magicNum == kDGLSerializeMagic (2336927755350992246 vs. 15937764024707752255) : Invalid DGL files

I thought it may be due to incorrect dgl version, so I wonder which version of dgl you used. Really thanks!

weikai-li commented 2 years ago

I solved the problem. I deleted the ogbn-arxiv dataset, and downloaded it again, and the problem disappeared. It's quite wired haha. Anyway, thank you for your work!