-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[Feature] Run deepwalk examples with ogbn data #5268
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
base: master
Are you sure you want to change the base?
Conversation
|
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
rudongyu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I've added some comments.
Besides, we also need to update the evaluation guide and the results related to ogbn data in readme. Do you have resources to do that?
| fast_neg=args.fast_neg, | ||
| ogbl_name=args.ogbl_name, | ||
| load_from_ogbl=args.load_from_ogbl, | ||
| ogbn_name=args.ogbn_name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems the logic of loading data from ogbn is similar to that from ogbl. How about using load_from_ogb and ogb_name to unify the entrance and branching in load_from_ogb_with_name function according to the prefix of dataset name?
| "ogbl-collab", | ||
| "ogbl-ddi", | ||
| "ogbl-ppa", | ||
| "ogbl-citation", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "ogbl-citation", | |
| "ogbl-citation2", |
| elif load_from_ogbn: | ||
| assert ( | ||
| len(gpus) == 1 | ||
| ), "ogb.linkproppred is not compatible with multi-gpu training." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ogb.nodeproppred?
Description
The deepwalk example currently only supports ogbl dataset. Actually other algorithms like line can run ogbn dataset. So to compare performance of different algorithms against ogb dataset, the deepwalk example should support ogbn dataset. See #5238.
Checklist
Please feel free to remove inapplicable items for your PR.
Changes