-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Traceback (most recent call last):
File "/home/money_heist_435601/Downloads/graphmatch_clone-master/run_java.py", line 15, in
import models
File "/home/money_heist_435601/Downloads/graphmatch_clone-master/models.py", line 6, in
from torch_geometric.utils import degree, remove_self_loops, add_self_loops, softmax,scatter_
ImportError: cannot import name 'scatter_' from 'torch_geometric.utils' (/home/money_heist_435601/.local/lib/python3.10/site-packages/torch_geometric/utils/init.py)
i was trying to compile python3 run_java.py..... But it is showing ImportError
ChatGPT gave that "the error you’re encountering suggests that scatter_ is not available in the torch_geometric.utils module. This could be due to an outdated version of PyTorch Geometric or a change in the library’s API."
Can you please help me to execute this?
Thank You in advance.