-
Notifications
You must be signed in to change notification settings - Fork 211
Description
My environment is as follows: python=3.9.13
Package Version
aiohappyeyeballs 2.4.2
aiohttp 3.10.6
aiosignal 1.3.1
asttokens 2.4.0
async-timeout 4.0.3
attrs 24.2.0
backcall 0.2.0
certifi 2024.8.30
charset-normalizer 3.3.2
colorama 0.4.6
comm 0.1.4
contourpy 1.3.0
cycler 0.12.1
debugpy 1.8.0
decorator 5.1.1
dgl 1.1.2
easydict 1.13
exceptiongroup 1.1.3
executing 1.2.0
fair-esm 2.0.0
filelock 3.16.1
fonttools 4.54.0
frozenlist 1.4.1
fsspec 2024.9.0
idna 3.10
importlib-metadata 6.8.0
importlib_resources 6.4.5
iniconfig 2.0.0
ipykernel 6.25.2
ipython 8.15.0
jedi 0.19.0
Jinja2 3.1.4
joblib 1.4.2
jupyter_client 8.3.1
jupyter_core 5.3.1
kiwisolver 1.4.7
littleutils 0.2.4
lmdb 1.5.1
MarkupSafe 2.1.5
matplotlib 3.9.2
matplotlib-inline 0.1.6
mpmath 1.3.0
multidict 6.1.0
nest-asyncio 1.5.8
networkx 3.2.1
ninja 1.11.1.1
numpy 1.23.4
ogb 1.3.6
outdated 0.2.2
packaging 23.1
pandas 2.2.3
parso 0.8.3
pickleshare 0.7.5
pillow 10.4.0
pip 24.2
platformdirs 3.10.0
pluggy 1.5.0
prompt-toolkit 3.0.39
psutil 5.9.5
pure-eval 0.2.2
Pygments 2.16.1
pyparsing 3.1.4
pytest 8.3.3
python-dateutil 2.8.2
pytz 2024.2
pywin32 306
PyYAML 6.0.2
pyzmq 25.1.1
rdkit-pypi 2022.9.5
requests 2.32.3
scikit-learn 1.5.2
scipy 1.6.0
setuptools 75.1.0
six 1.16.0
stack-data 0.6.2
sympy 1.13.3
threadpoolctl 3.5.0
tomli 2.0.2
torch 1.13.1+cu116
torch-cluster 1.6.0+pt113cu116
torch-geometric 2.6.1
torch-scatter 2.1.0+pt113cu116
torch-sparse 0.6.16+pt113cu116
torchdrug 0.2.1
tqdm 4.66.5
traitlets 5.10.0
typing_extensions 4.8.0
tzdata 2024.2
urllib3 2.2.3
wcwidth 0.2.6
wheel 0.44.0
yarl 1.13.0
zipp 3.17.0
I have been trying to debug for a long time, but I keep reporting the following error:
Traceback (most recent call last):
File E:\lh\KGR\TAGNet-master\astarnet\script\run.py:76
solver = util.build_solver(cfg, dataset)
File E:\lh\KGR\TAGNet-master\astarnet\reasoning\util.py:105 in build_solver
task = core.Configurable.load_config_dict(cfg.task)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\core\core.py:269 in load_config_dict
v = _Configurable.load_config_dict(v)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\core\core.py:269 in load_config_dict
v = _Configurable.load_config_dict(v)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\core\core.py:277 in load_config_dict
return cls(**new_config)
File ~\AppData\Roaming\Python\Python39\site-packages\decorator.py:232 in fun
return caller(func, *(extras + args), **kw)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\core\core.py:296 in wrapper
return init(self, *args, **kwargs)
File E:\lh\KGR\TAGNet-master\astarnet\reasoning\layer.py:60 in init
functional.generalized_rspmm(adjacency, relation_input, input, sum="add", mul="mul")
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\layers\functional\spmm.py:378 in generalized_rspmm
return Function.apply(sparse.coalesce(), relation, input)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torch\autograd\function.py:506 in apply
return super().apply(*args, **kwargs) # type: ignore[misc]
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\layers\functional\spmm.py:174 in forward
forward = spmm.rspmm_add_mul_forward_cpu
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\utils\torch.py:26 in getattr
return getattr(self.module, key)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\utils\torch.py:26 in getattr
return getattr(self.module, key)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\utils\decorator.py:102 in get
result = self.func(obj)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torchdrug\utils\torch.py:30 in module
return cpp_extension.load(self.name, self.sources, self.extra_cflags, self.extra_cuda_cflags,
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torch\utils\cpp_extension.py:1284 in load
return _jit_compile(
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torch\utils\cpp_extension.py:1535 in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File E:\anaconda\envs\TAG_cpu\lib\site-packages\torch\utils\cpp_extension.py:1929 in _import_module_from_library
module = importlib.util.module_from_spec(spec)
File :565 in module_from_spec
File :1173 in create_module
File :228 in _call_with_frames_removed
ImportError: DLL load failed while importing spmm: 找不到指定的模块。
(228)_call_with_frames_removed()
ipdb>