Skip to content

Commit

Permalink
Update examples/graphbolt/pyg/hetero/node_classification.py
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammed Fatih BALIN <[email protected]>
  • Loading branch information
BowenYao18 and mfbalin committed Sep 6, 2024
1 parent aaf1da1 commit ebdb01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/graphbolt/pyg/hetero/node_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def create_dataloader(
# "author": ["feat"],
# "institution": ["feat"],
# }
node_feature_keys = {"paper": ["feat"]}
node_feature_keys = {"paper": ["feat"], "author": ["feat"]}
if args.dataset == "ogb-lsc-mag240m":
node_feature_keys["author"] = ["feat"]
node_feature_keys["institution"] = ["feat"]
Expand Down

0 comments on commit ebdb01f

Please sign in to comment.