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

GPU faster? #3

Open
12cheny opened this issue Mar 4, 2019 · 2 comments
Open

GPU faster? #3

12cheny opened this issue Mar 4, 2019 · 2 comments

Comments

@12cheny
Copy link

12cheny commented Mar 4, 2019

Will it be faster if using GPU?

@symoon94
Copy link
Owner

symoon94 commented Mar 4, 2019 via email

@12cheny
Copy link
Author

12cheny commented Mar 5, 2019

May you help me how to use GPU here? I add '.cuda()' to input_img and model, but get error as below

RuntimeError: Expected object of type torch.cuda.FloatTensor but found type torch.FloatTensor for argument #3 'other'

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