Closed pearl-rabbit closed 1 year ago
I have the same issue
can try:
try: from torch_geometric.nn.acts import swish except ImportError: from torch_geometric.nn.resolver import swish
Many thanks to Michael-Hai.
try:
from torch_geometric.nn.acts import swish
except ImportError:
from torch_geometric.nn.resolver import swish
Worked okay.
can try:
try: from torch_geometric.nn.acts import swish except ImportError: from torch_geometric.nn.resolver import swish
Thank Michael-Hai. very much.
Traceback (most recent call last): File "test.py", line 8, in
from dig.threedgraph.method import SphereNet
File "/python3.7/site-packages/dig/threedgraph/method/init.py", line 3, in
from .dimenetpp import DimeNetPP
File "/python3.7/site-packages/dig/threedgraph/method/dimenetpp/init.py", line 1, in
from .dimenetpp import DimeNetPP
File "/py_test37/lib/python3.7/site-packages/dig/threedgraph/method/dimenetpp/dimenetpp.py", line 4, in
from torch_geometric.nn.acts import swish
ModuleNotFoundError: No module named 'torch_geometric.nn.acts'
I encountered this problem when using the threegraph example. How can I solve it?