torch_geometric.nn.aggr on Google Colab
See original GitHub issue😵 Describe the installation problem
I have successfully installed the following:
!pip install torch-scatter -f https://data.pyg.org/whl/torch-1.12.0+cu113.html !pip install torch-sparse -f https://data.pyg.org/whl/torch-1.12.0+cu113.html !pip install torch-geometric -f https://data.pyg.org/whl/torch-1.12.0+cu113.html
and tried various modifications and reformulations of the environment as well. In all of these, the majority of functionality was present, but the notebook did not recognize the torch_geometric.nn.aggr module. I am positive that my import statement was phrased correctly, as it was copied directly from examples in the source code. Any advice on how to address this error would be greatly appreciated.
Environment
- PyG version: 2.0.3
- PyTorch version: 1.12.0
- OS: Google Colab
- Python version: 3.7.13
- CUDA/cuDNN version: 11.1
- How you installed PyTorch and PyG (
conda
,pip
, source): See above - Any other relevant information (e.g., version of
torch-scatter
): torch-scatter is 2.0.9, torch-sparse is 0.6.14
Issue Analytics
- State:
- Created a year ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Colab Notebooks and Video Tutorials - PyTorch Geometric
We have prepared a list of colab notebooks that practically introduces you ... All tutorials also link to a Google Colab with the...
Read more >Google Colab: PyTorch Geometric Installation - gists · GitHub
Hi, I've tried your code, but it still failed to import torch_geometric. Have you ever faced this issue?
Read more >Tutorial 9: Recurrent GNNs - Google Colab
In this tutorial we will implement an approximation of the Graph Neural Network Model (without enforcing contraction map) and analyze the GatedGraph Convolution ......
Read more >torch-geometric - PyPI
A GNN layer specifies how to perform message passing, i.e. by designing different message, aggregation and update functions as defined here. These GNN...
Read more >PyTorch Geometric CUDA installation issues on Google Colab
From their website. Try this !pip install torch-geometric \ torch-sparse==latest+cu101 \ torch-scatter==latest+cu101 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for fixing @Padarn. Merged it.
@Padarn @rusty1s Thank you for all of the help! I made the change in the source code I have installed locally and it fixed the problem. I really appreciate it 😃