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

tensorflow.python.framework.errors_impl.InvalidArgumentError: Conv2DCustomBackpropInputOp only supports NHWC. #17

Open
c1a1o1 opened this issue Nov 2, 2020 · 1 comment

Comments

@c1a1o1
Copy link

c1a1o1 commented Nov 2, 2020

tensorflow.python.framework.errors_impl.InvalidArgumentError: Conv2DCustomBackpropInputOp only supports NHWC.
[[{{node Update/gradients/loss/Encoder/Conv2d-4/Conv2d-4/Conv2D_grad/Conv2DBackpropInput}}]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "F:/work/vae-npvc-master/main.py", line 78, in
main()
File "F:/work/vae-npvc-master/main.py", line 74, in main
trainer.train(nIter=arch['training']['max_iter'], machine=machine)
File "F:\work\vae-npvc-master\trainer\vae.py", line 99, in train
sess.run(self.opt['g'])
File "F:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 950, in run
run_metadata_ptr)
File "F:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "F:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1350, in _do_run
run_metadata)

@bruceloco
Copy link

install intel-tensorflow if you are using intelcpu

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