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

ERROR when using conv3d #119

Open
vickichen97 opened this issue Jul 23, 2019 · 0 comments
Open

ERROR when using conv3d #119

vickichen97 opened this issue Jul 23, 2019 · 0 comments

Comments

@vickichen97
Copy link

Traceback (most recent call last):
...
return tf.nn.conv3d(inputs, filter=[3, 3, 3, inchannel, outputchannel], strides=[1, 1, 1, 1, 1], padding='SAME', name=None)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_nn_ops.py", line 1361, in conv3d
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 3414, in create_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1756, in init
control_input_ops)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1592, in _create_c_op
raise ValueError(str(e))
ValueError: Shape must be rank 5 but is rank 1 for 'generator/Conv3D' (op: 'Conv3D') with input shapes: [4,4,256,256,3], [5].

The input tensor shape has 5 dimensions [4,4,256,256,3], Can you tell me where the problem is? Thanks a lot !
tensorflow——1.9.0

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

1 participant