-
Notifications
You must be signed in to change notification settings - Fork 8k
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
About Speed on CPU and GPU #1398
Comments
@akde Hi,
|
Hi @AlexeyAB thx for immediate response:
|
As I see GeForce GT 730 has 3.5 compute capacity: https://en.wikipedia.org/wiki/CUDA#GPUs_supported |
@AlexeyAB Thx for the reply! At first I thought the same! But then realized that is has multiple versions: |
@AlexeyAB thx for immediate response! in my case it was then I changed it into
so I believe the correct way is ARCH= -gencode arch=compute_20,code=sm_20 I am attaching the Makefiles for both (AlexeyAB and pjreddie) repositories. Everything looks the same to me except the FPS. It is a bit weird to get 3x higher performance in such similar cases. I have read other issues and saw that there is a rescale line which is NOT in pjreddie repository. Can this line cause 3x FPS reduction? |
What is the rescale line? I can only recommend to use modern GPU. I don't have old GPU, so I can't test and tune code for it. |
@akde No. I don't use Line 1069 in a9fef1b
Since in the pjreddie/darknet is used You issue is related to some CUDA-functions that isn't optimized for very old GPU. |
@AlexeyAB Hi, thx for the detailed explanation and all the concern during conversation. Apparently as you suggest, I need to update my set up. |
Hi @AlexeyAB Thanks a lot for the repository, especially for the tracking part. And of course for the quick responses.
I switched into AlexeyAB repository from pjreddie because of tracking feature. Now I am trying to maximize the FPS I am getting with AlexeyAB repository.
I have tested AlexeyAB and pjreddie repositories on the same PC and video (1920 x 1080, avi format with yolov3-tiny).
Here are the results:
As you can see from the table, without the GPU support, both repositories are doing equal. However when GPU support is enabled, with the AlexeyAB repository the maximum fps I can get is 3.3 while it was 10.4 in the pjreddie repository. So am I doing something wrong while using @AlexeyAB 's repository? What can I do to get higher fps?
The text was updated successfully, but these errors were encountered: