Skip to content

Error running example branching-imitation.ipynb #249

Answered by dxyzx0
dxyzx0 asked this question in Questions
Discussion options

You must be logged in to vote

Seems the problem lies in the incompatibility of torch_geometric=2.x.x and torch_geometric=1.x.x. I downgrade pyg to version 1.7.2 with pip install torch-geometric==1.7.2 and the problem solved.

PS: torch-sparse torch-scatter torch-cluster can be installed without *cuda.so in their corresponding folders, which will cause error when you use cuda.

Install them with option --no-index and the full command will be pip install torch-scatter --no-index -f https://pytorch-geometric.com/whl/torch-1.9.0+cu111.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dxyzx0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant