-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
No detections with CUDNN=1 and tiny-yolo #405
Comments
I have the same issue |
You can try one thing: |
I believe you are using this sort of command in the first place to test the image. |
Hi Jacob/IvPusic, |
Very interesting post and I would also like to know how to resolve this issue and help if possible. I'm using Yolo_v2 and ran into the same issue on one of two systems:
What other system information would be useful to debug the issue? Please share, thanks. |
Also running into this issue on a machine with a Tesla K80, Ubuntu 16.04, cuda 9.1, cudnn 7.12 using a custom trained model. Compiling with CUDNN=1 detections work fine. |
I had the similar issue on P100, ubuntu 16.04, cuda 8.0, cudnn 7.05 when I run example script Loading weights from extraction.weights...Done! |
Hi, I got same issue on classifier and detector option. As a result, I resolved it by editing cfg file. I got a same issue by typing a below command, but, after changing batch and subdivisions parameter on extraction.cfg, I got a correct recognition result. I think, whenever we predict or test or demo on darknet with GPU, we have to be sure cfg file is test mode( i.e. batch=1, subdivisions=1). Default setting of extraction.cfg is batch=128, subdivision=8, which is train mode settings. Anyway, it runs correctly on CPU mode, but on GPU, we have to change batch and subdivisions. I hope this will help you. |
That is it! I just confirmed on my system. This solves it, thank you! |
I had the similar issue on Titan X, ubuntu 18.04, cuda 9.0, cudnn 7.1 when I run example script Loading weights from extraction.weights...Done! |
I tried tiny darknet for classification and got error when i put cudnn=1, works fine when cudnn=0. I am using Cuda 8 and cudnn 6, i tried making batchsize=1 and subdivision=1, still error in result(always showing same values). |
darknet will pre-allocate GPU virtual memory for each layers if GPU=1 or CUDNN=1, depends on batch size and sub division settings in cfg file. |
I had this same issue.
|
Same issue here. Setting batch=1 sudivisions=1 worked for doing detections. thanks! |
i had the same issue, changing the cuDNN to older version and rebuild the project solved it |
opencv=1 same error, please modify cfg/yolov3.cfg,
then, detector result display ok. |
When I had CUDNN=0 and GPU=1, both yolo.weights and tiny-yolo.weights worked fine, but when I recompiled with CUDNN=1 and GPU=1, tiny-yolo.weights no longer has detections (even with a very low threshold). Strangely enough, the normal yolo.weights still works. Any help on why this could be?
Also, is the only difference between the two setups is that in the latter, it's now using the cuDNN library, as well as CUDA already being used? How much of a performance improvement would there realistically be between the two?
The text was updated successfully, but these errors were encountered: