-
Notifications
You must be signed in to change notification settings - Fork 76
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
AttributeError: 'Data' object has no attribute 'mask_link_positive' #10
Comments
same error here |
1 similar comment
same error here |
Facing the same issue here. |
Grid dataset is not used to Excute command: python main.py --model PGNN --layer_num 2 --dataset communities Instead of |
Hi, @JiaxuanYou
Thanks for sharing your code!
When I run the scripts according to the README.md, some errors occurs:
-----------------Final------------------- 0.73879 0.014555 Loading data... Using only features.. Traceback (most recent call last): File "main.py", line 51, in <module> data_list = get_tg_dataset(args, dataset_name, use_cache=args.cache, remove_feature=args.rm_feature) File "/disk/P-GNN/dataset.py", line 93, in get_tg_dataset infer_link_positive=True if args.task == 'link' else False) File "/disk/P-GNN/utils.py", line 120, in get_link_mask split_edges(data.mask_link_positive, remove_ratio) AttributeError: 'Data' object has no attribute 'mask_link_positive'
It seems that there is something trouble with the input graph data.
Could you help to solve this problem? And give some further introduction for the input data of the project?
Thank you very much!
Waiting for your reply!
The text was updated successfully, but these errors were encountered: