You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\academic\code\RecBole-master\test.py", line 6, in <module>
run_recbole(model='SHAN', dataset='ml-100k', config_dict=parameter_dict)
File "D:\academic\code\RecBole-master\recbole\quick_start\quick_start.py", line 81, in run_recbole
flops = get_flops(model, dataset, config["device"], logger, transform)
File "D:\academic\code\RecBole-master\recbole\utils\utils.py", line 267, in get_flops
model = copy.deepcopy(model)
File "E:\anaconda3\envs\recbole\lib\copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
File "E:\anaconda3\envs\recbole\lib\copy.py", line 270, in _reconstruct
state = deepcopy(state, memo)
File "E:\anaconda3\envs\recbole\lib\copy.py", line 146, in deepcopy
y = copier(x, memo)
File "E:\anaconda3\envs\recbole\lib\copy.py", line 230, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "E:\anaconda3\envs\recbole\lib\copy.py", line 153, in deepcopy
y = copier(memo)
File "E:\anaconda3\envs\recbole\lib\site-packages\torch\_tensor.py", line 85, in __deepcopy__
raise RuntimeError("Only Tensors created explicitly by the user "
RuntimeError: Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment
实验环境:
操作系统: windows
RecBole 版本 1.1.1
Python 版本 3.9
PyTorch 版本 1.10.1
cudatoolkit 版本 10.2
The text was updated successfully, but these errors were encountered:
使用如下代码运行SHAN时
出现以下错误
实验环境:
The text was updated successfully, but these errors were encountered: