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

How can we test the code on CPU only ? #11

Open
MounirB opened this issue Oct 2, 2019 · 1 comment
Open

How can we test the code on CPU only ? #11

MounirB opened this issue Oct 2, 2019 · 1 comment

Comments

@MounirB
Copy link

MounirB commented Oct 2, 2019

I tried to replace all the torch instructions that include cuda in the main script, but each time I run the code to test a model, it looks for a GPU.
Can you tell me how can I run the code on CPU only to test a model ?

@pvskand
Copy link
Contributor

pvskand commented Oct 2, 2019

Could you paste here the error that you'd got? Can you also share the script that you'd used to run?

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