You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I got an error message when I reproduced your project named "GNNStealing" and could you please tell how to solve it. Thank you so much!
when I executed "python train_target_model.py --dataset citeseer_full --target-model gat --num-hidden 256 --gpu 2", the error occurred. It seems that the "dgl.data.utils.split_dataset(..)" can't accept a parameter whose type is "DGLHeteroGraph" which has no length, so the error message is "TypeError: object of type 'DGLHeteroGraph' has no len()"
The error message in console is as follows:
[20:17:18] /opt/dgl/src/runtime/tensordispatch.cc:43: TensorDispatcher: dlopen failed: /etc/anaconda3/envs/gnn_model_stealing/lib/python3.9/site-packages/dgl/tensoradapter/pytorch/libtensoradapter_pytorch_1.10.2.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/gpu/sunqin/GNNStealing-master/GNNStealing-master/code/train_target_model.py", line 55, in
Hi,
I got an error message when I reproduced your project named "GNNStealing" and could you please tell how to solve it. Thank you so much!
when I executed "python train_target_model.py --dataset citeseer_full --target-model gat --num-hidden 256 --gpu 2", the error occurred. It seems that the "dgl.data.utils.split_dataset(..)" can't accept a parameter whose type is "DGLHeteroGraph" which has no length, so the error message is "TypeError: object of type 'DGLHeteroGraph' has no len()"
The error message in console is as follows:
[20:17:18] /opt/dgl/src/runtime/tensordispatch.cc:43: TensorDispatcher: dlopen failed: /etc/anaconda3/envs/gnn_model_stealing/lib/python3.9/site-packages/dgl/tensoradapter/pytorch/libtensoradapter_pytorch_1.10.2.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/gpu/sunqin/GNNStealing-master/GNNStealing-master/code/train_target_model.py", line 55, in
File "/home/gpu/sunqin/GNNStealing-master/GNNStealing-master/code/src/utils.py", line 323, in split_graph
File "/etc/anaconda3/envs/sunqin/lib/python3.9/site-packages/dgl/data/utils.py", line 76, in split_dataset
TypeError: object of type 'DGLHeteroGraph' has no len()
The text was updated successfully, but these errors were encountered: