Skip to content
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

Conv2DCustomBackpropInputOp only supports NHWC Error #13

Open
xtendai opened this issue Jan 2, 2019 · 1 comment
Open

Conv2DCustomBackpropInputOp only supports NHWC Error #13

xtendai opened this issue Jan 2, 2019 · 1 comment

Comments

@xtendai
Copy link

xtendai commented Jan 2, 2019

We are getting the following error :

InvalidArgumentError (see above for traceback): Conv2DCustomBackpropInputOp only supports NHWC.
[[{{node gradients/Discriminator.4_2/Conv2D_grad/Conv2DBackpropInput}} = Conv2DBackpropInput[T=DT_FLOAT, _class=["loc:@Gradi...pendency_1"], data_format="NCHW", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 2, 2], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](ConstantFolding/gradients_2/Discriminator.4_2/Conv2D_grad/ShapeN-matshapes-0, Discriminator.4/Discriminator.4.Filters/read, gradients/AddN_2)]]

How do we change the format to NHWC to make it work?

We are using the image dump from the Google Drive link above - and all images have been resized to 64x64.

Versions: Python 3.6.6 ; Tensorflow 1.11 and Nvidia GPU 1080

Thanks

@lanyuue
Copy link

lanyuue commented Mar 3, 2019

use python 3.5.6 in anaconda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants