New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in HetGNN_sampler.py #64
Comments
seems the academic4HetGNN dataset and hetgnn_sampler.py does not match |
Could you show more information, about errors and which experiments you run? |
The environment is installed according to the steps in README,CPU version of Pytorch & DGL python main.py -m HetGNN -t node_classification -d academic4HetGNN -g -1 Traceback (most recent call last): |
I'm not sure that whether you use the latest codes. You can try to clone the openhgnn again. |
I've pulled on the main branch. It's the latest |
Does this error still exist? We have tested it without any errors. |
Yes, similar error occurs when runing "python main.py -m HeCo -d acm4HeCo -t node_classification -g -1". File "/home/openhgnn/OpenHGNN/openhgnn/models/HeCo.py", line 58, in build_model_from_args after I fixed it, there are still some problems following File "/home/openhgnn/OpenHGNN/openhgnn/trainerflow/HeCo_trainer.py", line 48, in preprocess This func hasn't been realized yet? |
Sorry, it's a bug. I fixed it right now. |
Hope you can check the data of HetGNN. There is always AttributeError with dataloader no matter which version of torch is used |
We check the AttributeError you mentioned. It is an error raised by the API modification of DGL with the nightly build version. |
line 168, in assign_features_to_blocks
assign_simple_node_features(blocks[0].srcdata, g, ntypes)
AttributeError: 'dict' object has no attribute 'srcdata'
The text was updated successfully, but these errors were encountered: