-
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
Image detection fails with CUDNN=1 #436
Comments
cuDNN supports cc3.0 and higher. What version of CUDA do you use? cuDNN requires CUDA 6.5 or higher. Check if cuDNN is properly installed. |
Thanks @ahsan856jalal , I am using CUDA 8.0. I tried re-installing cuDNN as well without much success on the detection front. |
one more thing , please check the CudNN version requirement for cuda 8.0 |
cudNN version is 7.0.1 |
I have cudNN v6 installed with cuda v8.0.61 and it is working fine with detection |
@ahsan856jalal Just to confirm, you are using jetson TX2 for the detections ? |
No I am using Titan X but this problem is cudNN specific |
@hrishikeshm13 remember to pick the right cuDNN version for your CUDA version. For cuDNN 7.0.1 there are 3 version available each for a variant of CUDA (8.0, 9.0 and 9.1), did you make sure to download the right version compatible with your CUDA version ? |
and un-comment this line: Line 27 in a6c51e3
|
Hi @AlexeyAB
|
This is strange. Some people succeed in using TX2 with cuDNN.
|
@hrishikeshm13 Did you run |
@hrishikeshm13 what command are you running? Then I can test on a jetson as well, but I have no issues compiling with |
@AlexeyAB Yes. After seeing those comments, I decided to give cudNN a try :) @TheMikeyR The command I run is - The command runs OK. However it does not generate any predictions. |
Try to run the I get these results, if you don't have weights file download it from here
See if your results match mine. |
@TheMikeyR Does not seem to work at my end. I am using cuda 8.0.84 and cudnn 7.0.1 |
@hrishikeshm13 I did some investigations and figured out some stuff about jetson, I will share my findings and hope it will help you! If you have installed cudnn in the "normal" way according to the documentation by doing these commands
You will have to undo that by doing
Try to do The jetson expects its cuDNN library to be located at |
@TheMikeyR Thanks Mike. That helps ! Getting correct detections with CUDNN=1 |
I am trying to run darknet on Jetson TX2.
When I set CUDNN flag to 1 in the Makefile, darknet binary is failing to make detections in the images that I pass. If CUDNN flag is set to 0, the image detection work fine, but the time taken per image detection is ~0.5 - 1.5 secs.
I have tried with a bunch of images, however the observations are same in each case. Also I tried using tiny-yolo, yolo-voc weights files.
The text was updated successfully, but these errors were encountered: