DCGAN-tensorflow icon indicating copy to clipboard operation
DCGAN-tensorflow copied to clipboard

InternalError (see above for traceback): cuDNN launch failure : input shape ([64,1024,1,1])

Open Dr-Zhou opened this issue 6 years ago • 13 comments

InternalError (see above for traceback): cuDNN launch failure : input shape ([64,1024,1,1]) [[node generator/g_bn0/FusedBatchNorm (defined at E:\zb\DCGAN-tensorflow-master\venv\lib\site-packages\tensorflow\contrib\layers\python\layers\layers.py:368) = FusedBatchNorm[T=DT_FLOAT, data_format="NCHW", epsilon=1.001e-05, is_training=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](generator/g_bn0/Fused BatchNorm-0-TransposeNHWCToNCHW-LayoutOptimizer, generator/g_bn0/gamma/read, generator/g_bn0/beta/read, discriminator/d_bn1/Const, discriminator/d_bn1/Const)]] [[{{node discriminator/Sigmoid/_7}} = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_272_discriminator/Sigmoid", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task :0/device:CPU:0"]]

Dr-Zhou avatar Nov 24 '18 15:11 Dr-Zhou

tensorflow intalled correctly,Missing bazel cudnn cuda or version problem

JNUpython avatar Nov 24 '18 16:11 JNUpython

cudnn version is 8.0 and cuda version is 10.0.

Dr-Zhou avatar Nov 25 '18 02:11 Dr-Zhou

https://tensorflow.google.cn/install/source_windows

JNUpython avatar Nov 25 '18 02:11 JNUpython

ok.thank you.

Dr-Zhou avatar Nov 25 '18 02:11 Dr-Zhou

Is the problem fixed? I am facing similar problems!

RealNewNoob avatar Feb 11 '19 02:02 RealNewNoob

Hello,I got the same problem.And the similar problems often comes up in my different projects.Have you found the cause of the problem?

lefiniti avatar Mar 31 '19 08:03 lefiniti

Hello,I got the same problem.And the similar problems often comes up in my different projects.Have you found the cause of the problem?

I meet this problem too.. Have u found the solution?

Tianyu97 avatar Apr 12 '19 08:04 Tianyu97

Hello,I got the same problem.And the similar problems often comes up in my different projects.Have you found the cause of the problem?

I meet this problem too.. Have u found the solution?

I think it's the authority。

.

Dr-Zhou avatar Apr 12 '19 09:04 Dr-Zhou

I downgrade my Tensorflow from 1.12.0 to 1.6.0 and it works. Hopefully, this helps.

RealNewNoob avatar May 09 '19 15:05 RealNewNoob

I have the same problems, sometimes it works and sometimes it fails.

joyyang1215 avatar Jun 18 '19 08:06 joyyang1215

Hello,I got the same problem.And the similar problems often comes up in my different projects.Have you found the cause of the problem?

I meet this problem too.. Have u found the solution?

It may because that the GPU is out of memory. Since i run my code on a super computer, i haven't met this problem again.

lefiniti avatar Jun 18 '19 09:06 lefiniti

我将Tensorflow从1.12.0降级到1.6.0,它可以正常工作。希望这会有所帮助。我是在conda里面装了个1.10.0的gpu tensorflow版本就可以了。(conda create -n tensorflow_env tensorflow-gpu python=3.5)

Lxiangyue avatar Nov 04 '19 14:11 Lxiangyue

我是在conda里面装了个1.10.0的gpu tensorflow版本就可以了。(conda create -n tensorflow_env tensorflow-gpu python = 3.5)

Lxiangyue avatar Nov 04 '19 14:11 Lxiangyue