Closed psh9002 closed 2 years ago
When I execute examples/ppi/main.py, there was an attribute error from /gcn_lib/sparse/torch_vertex.py. AttributeError: module ‘torch_geometric.utils‘ has no attribute ‘scatter_‘
examples/ppi/main.py
/gcn_lib/sparse/torch_vertex.py
AttributeError: module ‘torch_geometric.utils‘ has no attribute ‘scatter_‘
The latest PyG doesn't have scatter_ at torch_geometric.utils https://pytorch-geometric.readthedocs.io/en/latest/modules/utils.html#
torch_geometric.utils
I resolve this issue by just adding scatter_ mathod to torch_vertex.py from previous version.
scatter_
torch_vertex.py
Thanks, @psh9002 for your quick fix! I fixed this issue according to your suggestion.
When I execute
examples/ppi/main.py
, there was an attribute error from/gcn_lib/sparse/torch_vertex.py
.AttributeError: module ‘torch_geometric.utils‘ has no attribute ‘scatter_‘
The latest PyG doesn't have scatter_ at
torch_geometric.utils
https://pytorch-geometric.readthedocs.io/en/latest/modules/utils.html#I resolve this issue by just adding
scatter_
mathod totorch_vertex.py
from previous version.