-
Hello PyG team, Thank you for your great contributions to graph learning science! I recently read that "Once pyg-lib is installed, it will get automatically picked up by PyG, e.g., to accelerate neighborhood sampling routines or to accelerate heterogeneous GNN execution". Thus I want to install pyg-lib to accelerate NeighborLoader sampling. What I aim to achieve is: given a heterogeneous graph, for specific "edge_type"'s edge_label_index, I want to sample negative target nodes("FILE" node) for each corresponding source node("USER" node). Instead of random negative sampling, I want negative target nodes to be the k-hop neighbors of each source node.
However, I got below error message when pyg-lib is installed. Before pyg-lib installation, above code piece worked fine.
Do you know why "unpack" error appears after installing pyg-lib? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You need to either install |
Beta Was this translation helpful? Give feedback.
You need to either install
pyg-lib==0.1.0
if you are running on PyG 2.2, or upgrade to PyG 2.3