I came across the same issue today, please switch to cuDNN v5.1 Library for Windows instead as @mickdelaney suggested and then try to
-
Check environment settings of CUDA, normally all the settings of CUDA had been added to Windows environment
-
Copy files in
bin
,lib
andinclude
of cuDNN tobin
,lib
andinclude
of CUDA respectively. Normally the directory isC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
And then you can import tensorflow and run your code. Good luck!