-
Notifications
You must be signed in to change notification settings - Fork 34
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 to run the demo with GPU? #5
Comments
For a pytorch model, you can set model and input to CUDA model. e.g.
Then it will run on GPU~ |
Very good job @siriusdemon and thanks for sharing! |
Some operations like |
It's not clear where
should be put to enable gpu processing. Would it maybe be possible for you to add that option directly in the api? That would be really great. Thanks in advance. |
I also found that although the GPU works, but the consumption is very small, and the detection speed is not much different from that of the CPU.Do you have a solution later?Thanks! |
I tried to run on the GPU, but the speed dropped. What's going on? A total of several places have been changed. |
I try the demo, found that it uses CPU only, how can I use GPU with the model?
The text was updated successfully, but these errors were encountered: