Skip to content
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

关于DeepFM #3

Open
ydx00 opened this issue Mar 28, 2018 · 1 comment
Open

关于DeepFM #3

ydx00 opened this issue Mar 28, 2018 · 1 comment

Comments

@ydx00
Copy link

ydx00 commented Mar 28, 2018

您好,我运行你的代码,报如下错误,请问怎么解决,第一次用pytorch
RuntimeError: cuda runtime error (10) : invalid device ordinal at torch/csrc/cuda/Module.cpp:88

@nzc
Copy link
Owner

nzc commented Mar 28, 2018

@ydx00 大概你配的是非gpu版的pytorch 你有两个选择:1.将代码的use_cuda设置成False 2.配置一个gpu版的pytorch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants