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

cpu run #1

Closed
justinner opened this issue Oct 9, 2018 · 2 comments
Closed

cpu run #1

justinner opened this issue Oct 9, 2018 · 2 comments

Comments

@justinner
Copy link

Hi,
It is my pleasure to learn your code ,but i do not have a capable GPU,so could you tell me how i run the codes in CPU? I have run .but runtime error occured, does CPU need cuda?

@DrSleep
Copy link
Owner

DrSleep commented Oct 9, 2018

Hi, could you please post the error? I have added the has_cuda flag inside the notebooks, which should guide the code to be run using CPU

EDIT:
Turned out I was still doing mnet.cuda() regardless of the flag. FIXED now. Thanks for bringing it up :)

@DrSleep DrSleep closed this as completed Oct 9, 2018
@justinner
Copy link
Author

You are welcome ,I will run it again,I am very glad to learn from you .

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