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

InvalidArgumentError (see above for traceback): Default AvgPoolingOp only supports NHWC. #10

Open
miaozhang0525 opened this issue Feb 10, 2019 · 2 comments

Comments

@miaozhang0525
Copy link

I followed your Requirment and Dependency Tensorflow == 1.4.0, Pytorch == 0.3.1, But I got follow error:

InvalidArgumentError (see above for traceback): Default AvgPoolingOp only supports NHWC.
[[Node: child_1/layer_0/cell_4/x_conv/average_pooling2d/AvgPool = AvgPoolT=DT_FLOAT, data_format="NCHW", ksize=[1, 1, 3, 3], padding="SAME", strides=[1, 1, 1, 1], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

Am I wrong for the configuration?

I also tried on tensorflow-gpu, it either does not work.

@miaozhang0525
Copy link
Author

Sometimes is IMaxPoolingOp only supports NHWC.

@mcbearone
Copy link

I followed your Requirment and Dependency Tensorflow == 1.4.0, Pytorch == 0.3.1, But I got follow error:

InvalidArgumentError (see above for traceback): Default AvgPoolingOp only supports NHWC. [[Node: child_1/layer_0/cell_4/x_conv/average_pooling2d/AvgPool = AvgPoolT=DT_FLOAT, data_format="NCHW", ksize=[1, 1, 3, 3], padding="SAME", strides=[1, 1, 1, 1], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

Am I wrong for the configuration?

I also tried on tensorflow-gpu, it either does not work.

Hello! Have you solved this problem? I meet the same problem when i run "bash train_search.sh"

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