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

fps really low #53

Closed
maylad31 opened this issue Nov 28, 2018 · 6 comments
Closed

fps really low #53

maylad31 opened this issue Nov 28, 2018 · 6 comments

Comments

@maylad31
Copy link

Hi i installed gpu version following the instructions but I get very slow fps.It seems my gpu is not being used.Please help.

@ohadlahav
Copy link

ohadlahav commented Dec 1, 2018

Hi, i would assume that one will need to use nvidia-docker to fully leverage GPU in docker environment.
I did manage to install and use successfully yolo34py-gpu on a nvidia/cuda/cudnn local environment.

@maylad31
Copy link
Author

maylad31 commented Dec 2, 2018

hi could you please give me more details about fps in your local environment. And did you install using pip or build from source?

@pherris
Copy link

pherris commented Dec 3, 2018 via email

@madhawav
Copy link
Owner

madhawav commented Dec 16, 2018

@maylad31 For the GPU version to work in a stand-alone machine, you will need CUDA SDK installed. Also, you will need a Nvidia Cuda enabled GPU. If you are running on docker, nvidia-docker would be required.

Do you have a Cuda enabled GPU?
Are you running in Docker?
Do you have CUDA installed?

@maylad31
Copy link
Author

maylad31 commented Jan 3, 2019

thanks sorry for the late reply you may close this issue yes i solved the problem i had cuda installed and path and everything was set but still it wasn't working so i updated my nvidia driver reinstalled cuda and it worked thanks i would like to ask why the darknet fps is more than python wrapper i understand it would be slow in python but with darknet i get 18 fps and with python wrapper it drops to around 11-12 fps

@madhawav
Copy link
Owner

madhawav commented Jan 4, 2019

Hi @maylad31,
There is a drop in fps caused by conversion of python images (numpy arrays) to darknet images. The drop depends on the resolution of images.

@madhawav madhawav closed this as completed Jan 4, 2019
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

4 participants