-
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
436.8560 milli-seconds?! Detection is too sloooow! GPU is NOT working? #8438
Comments
You say:
...but is is not the same installation is it? The first one starts with this:
...and the 2nd one starts with this:
So obviously you have:
All of which were built in different ways. At the very least use the same installed version darknet etc to compare the yolov3 and yolov4 numbers. On my video card, this is what I get when I compare YOLOv4 and YOLOv3: Tiny:
Full:
As you can see, the v3 and v4 numbers are nearly identical. You should be getting similar results. |
And if you're looking for a faster tool, these are the results using DarkHelp: Tiny:
Full:
|
@stephanecharette thank you for reply! yolo v3 is installed on Windows 10 hard drive. I don't understand why the speed difference between the two is so great. I only see one place different. |
I don't know why you say that. I pointed out all the differences to you above. Let me point them out again: The first one starts with this:
...and the 2nd one starts with this:
So you have different hardware, different versions of CUDA, different versions of CUDNN, different versions of OpenCV, different configurations for darknet, and different versions of darknet. |
@stephanecharette , thank you for reply! |
I very much disagree. See my blog post on Darknet and FPS. Changes in software alone can make differences from 6.1 FPS to 71.5 FPS: And on my RTX2070, the difference was even greater, from 5.3 FPS up to 209.7 FPS: Source: https://www.ccoderun.ca/programming/2021-10-16_darknet_fps/ |
your 5.3 FPS is under the CPU, not the GPU 209.7 is more than 177.5,because the cuDNN worked. my yolov4 ETA is 436.8560 ms, i think GUP or cuDNN acceleration is not turn on,but I have no evidence. |
it might be different CMAKE_CUDA_ARCHITECTURES. git pull Then please re-post results :) |
@cenit thanks for reply! PS D:\darknet\vcpkg\installed\x64-windows\tools\darknet> ./darknet detector test ./cfg/coco.data ./cfg/yolov4.cfg yolov4.weights data/dog.jpg |
The solution I recommend is to use this Darknet/YOLO repo: https://github.com/hank-ai/darknet#table-of-contents The repo you are attempting to use is no longer maintained. |
If something doesn’t work for you, then show 2 screenshots:
i used the
PS D:\> .\vcpkg install darknet[full]:x64-windows
to install darknet successfully!after testing, i found that the detection was too slow! it looks like the GPU isn't speeding up!
BUT, in my yolov3, it's very fast. same machine, same hard devices.
The text was updated successfully, but these errors were encountered: