Train Caffe Model: Cannot create cuDNN handle.
Hi guys,
Just wanted to share the info, maybe it's already fixed or maybe it occurs only for me. ( i just spent 2 evenings, around 12 hours already on it ) I have not used my digits box for a couple of months now and for some reasons i have let the updates to run on it when i turned on, without checking what i'm updating. Because of this digits stopped working, i tried to fix it but to no end, then came to conclusion that maybe i will re-install everything like last time and it works.
This is what i did:
1. Installed ubuntu 14.04 LTS
2. Installed nvidia drivers NVIDIA 352.93 for GTX 970
2. To have digits installed, followed the guide on
https://github.com/NVIDIA/DIGITS/blob/master/docs/UbuntuInstall.md
3. Then tried to train a model and bam, the same error, before re-installing ubuntu.
Error:
Train Caffe Model: Cannot create cuDNN handle.
Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM
Lots of google-ing... lots of search...
i was checking the libraries that digits uses and i saw this:
libcudnn5 5.0.5-1+cuda8.0
so something weird here cause when i run:
nvcc --version
Cuda compilation tools, release 7.5, V7.5.17
so i installed
libcudnn5 5.0.5-1+cuda7.5
and everything got back to normal, i could train models again. I don't know how did i got libcudnn5 5.0.5-1+cuda8.0 ... and not libcudnn5 5.0.5-1+cuda7.5 installed, just followed the steps on how to install digits and this did not occurred last time.
If a more detailed error is needed i will try to reproduce the entire flow again, but not this week.
See my response at https://github.com/NVIDIA/DIGITS/issues/801#issuecomment-224331396.
Sorry for the inconvenience! We're aware of the issue and are working towards a solution.
No problem, thanks for the fast reply.
Hi @lukeyeager I have the error when create models based on Kitti dataset for object recognition. There are error detail: ubuntu@ubuntu-HP-Pro-3381-MT:~/Digits$ ./digits-devserver
| _ / | | / |
| |) | | ( || | | | _
|/_|| || |__/ 5.0.0
2017-12-28 14:17:16 [INFO ] Loaded 3 jobs. 2017-12-28 14:18:21 [20171228-141820-cc44] [WARNING] Ignoring data_param.source ... 2017-12-28 14:18:21 [20171228-141820-cc44] [WARNING] Ignoring data_param.backend ... 2017-12-28 14:18:21 [20171228-141820-cc44] [WARNING] Ignoring data_param.source ... 2017-12-28 14:18:21 [20171228-141820-cc44] [WARNING] Ignoring data_param.backend ... 2017-12-28 14:18:21 [20171228-141820-cc44] [WARNING] Ignoring data_param.source ... 2017-12-28 14:18:21 [20171228-141820-cc44] [WARNING] Ignoring data_param.backend ... 2017-12-28 14:18:21 [20171228-141820-cc44] [WARNING] Ignoring data_param.source ... 2017-12-28 14:18:21 [20171228-141820-cc44] [WARNING] Ignoring data_param.backend ... 2017-12-28 14:18:21 [20171228-141820-cc44] [DEBUG] Network sanity check - train 2017-12-28 14:18:21 [20171228-141820-cc44] [DEBUG] Network sanity check - val 2017-12-28 14:18:21 [20171228-141820-cc44] [DEBUG] Network sanity check - deploy 2017-12-28 14:18:21 [20171228-141820-cc44] [INFO ] Train Caffe Model task started. 2017-12-28 14:18:21 [20171228-141820-cc44] [INFO ] Task subprocess args: "/home/ubuntu/nvcaffe/caffe/build/tools/caffe train --solver=/home/ubuntu/Digits/digits/jobs/20171228-141820-cc44/solver.prototxt --gpu=0 --weights=/home/ubuntu/Digits/examples/object-detection/bvlc_googlenet.caffemodel" 2017-12-28 14:18:23 [20171228-141820-cc44] [ERROR] Train Caffe Model: Cannot create cuDNN handle. cuDNN won't be available. 2017-12-28 14:18:23 [20171228-141820-cc44] [ERROR] Train Caffe Model: Cannot create cuDNN handle. cuDNN won't be available. 2017-12-28 14:18:23 [20171228-141820-cc44] [ERROR] Train Caffe Model: Cannot create cuDNN handle. cuDNN won't be available. 2017-12-28 14:18:23 [20171228-141820-cc44] [ERROR] Train Caffe Model: Cannot create cuDNN handle. cuDNN won't be available. 2017-12-28 14:18:23 [20171228-141820-cc44] [ERROR] Train Caffe Model: Cannot create cuDNN handle. cuDNN won't be available. 2017-12-28 14:18:23 [20171228-141820-cc44] [ERROR] Train Caffe Model: Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM 2017-12-28 14:18:23 [20171228-141820-cc44] [ERROR] Train Caffe Model task failed with error code -6
I don't know what is the reason for this.
There are my environment variables: OS : Ubuntu 16.04 Caffe : NVCaffe 0.15 CUDA: 8.0.61 CuDNN : v5.1 DIGITS: v5 or v6
Also my NVIDIA card is GT 610.
Please check my attached screenshots.

Currently I need to fix these issues urgently, so I hope you give me the solution as soon as possible. Looking forward to hearing from you. Regards Ed
Hi, sorry making this comment.
Did you try to do what i posted above? ( maybe it's cudnn mismatch problem like my case )
Another case, try using digits 6.0.
And above all, just my opinion, it's way easier to:
- install OS on a machine ( ubuntu in your case )
- install the nvidia gpu cards drivers.
- install docker
- install nvidia-docker
- run digits container
For DIGITS 6.0
docker run --runtime=nvidia --name digits -d -p 5000:5000 -p 6006:6006 -v digits-jobs:/jobs nvidia/digits:6.0
Thank you for your reply. But I couldn't pass step 3 to install docker on ubuntu 16.04. It is not running docker. I tried to install docker ee on my computer(ubuntu 16.04), but it is not installed. my commands
- sudo apt-get remove docker docker-engine docker-ce docker.io
- sudo apt-get update
- sudo apt-get install
apt-transport-https
ca-certificates
curl
software-properties-common - DOCKER_EE_URL="
" - curl -fsSL "${DOCKER_EE_URL}/ubuntu/gpg" | sudo apt-key add -
- sudo apt-key fingerprint 6D085F96
- sudo add-apt-repository
"deb [arch=amd64] $DOCKER_EE_URL/ubuntu
$(lsb_release -cs)
stable-17.06" - sudo apt-get update
- sudo apt-get install docker-ee
- apt-cache madison docker-ee
I would like to explain what i want to accomplish. I want to build a detectNet based vehicle detection system from top view like NVIDIA introduced: https://devblogs.nvidia.com/parallelforall/detectnet-deep-neural-network-object-detection-digits/

My training sample data came from drone images like this:
000001.txt
Would you help me if there is exact example to perform this system?
Thank you
Edward
Hi,
Sorry to hear, but it seems that you tried to install the Docker Enterprise Edition(EE),
and that requires subscription or trial stuff.
Choose instead Docker Community Edition (CE), that is free.
So to continue step 3, follow the install-docker-ce guide.
Let me know if you finished the setups.
After step 5. you should have digits up and running and you can follow the guide for detectnet
If not, let me know, maybe i can help maybe not.