New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法使用gpu训练 #58
Comments
我这边尝试跑了一遍,没有出现您所说的这个问题,能否提供更多的报错信息好让我们处理这个问题? |
(openhgnn) aaa@ubuntu:~/all_data/OpenHGNN$ python main.py -m KGCN -d LastFM4KGCN -t recommendation -g 0 --use_best_config |
我也尝试运行了一遍,并没有复现出这个bug,请问您是否按照我们提供的安装步骤完成或者有修改过代码吗 |
感谢,我重新配置了环境,问题已解决 |
python main.py -m KGCN -d LastFM4KGCN -t recommendation -g 0 --use_best_config
RuntimeError: Tensor for argument #2 'mat1' is on CPU, but expected it to be on GPU (while checking arguments for addmm)
The text was updated successfully, but these errors were encountered: