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

Causing error when r_num>1 #1

Open
brjathu opened this issue Sep 5, 2018 · 0 comments
Open

Causing error when r_num>1 #1

brjathu opened this issue Sep 5, 2018 · 0 comments

Comments

@brjathu
Copy link

brjathu commented Sep 5, 2018

Conv2DCaps(32, 4, kernel_size=(3, 3), strides=(1, 1), r_num=2, b_alphas=[1, 1, 1])(l)

produce an error,

tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 33177600 values, but the requested shape requires a multiple of 45158400
[[Node: conv2d_caps_2/Reshape_3 = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _class=["loc:@train...ayGatherV3"], _device="/job:localhost/replica:0/task:0/device:GPU:0"](conv2d_caps_2/ExtractImagePatches, conv2d_caps_2/Reshape_3/shape)]]
[[Node: loss/capsnet_loss/Mean_3/_429 = _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_5639_loss/capsnet_loss/Mean_3", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU: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